Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/KnowingNothing/MatmulTutorial
/ CUtensorMap
Class
CUtensorMap
examples/matmul/this-sm90/test_v9.py:7–8 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
5
import
subprocess, ctypes, torch, os, sys
6
7
class
CUtensorMap(ctypes.Structure):
8
_fields_ = [(
"data"
, ctypes.c_ubyte * 128)]
9
10
BM, BN, BK = 128, 256, 64
11
libcuda = ctypes.CDLL(
"libcuda.so.1"
)
Callers
1
create_desc
Function · 0.70
Calls
no outgoing calls
Tested by
1
create_desc
Function · 0.56