MCPcopy Create free account
hub / github.com/KnowingNothing/MatmulTutorial / CUtensorMap

Class CUtensorMap

examples/matmul/this-sm90/test_v10.py:8–9  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6import subprocess, ctypes, torch, os, sys
7
8class CUtensorMap(ctypes.Structure):
9 _fields_ = [("data", ctypes.c_ubyte * 128)]
10
11BM, BN, BK = 128, 256, 64 # BM=128 with 2 math warpgroups
12libcuda = ctypes.CDLL("libcuda.so.1")

Callers 2

create_descFunction · 0.70
create_desc_storeFunction · 0.70

Calls

no outgoing calls

Tested by 2

create_descFunction · 0.56
create_desc_storeFunction · 0.56