MCPcopy Create free account
hub / github.com/RightNow-AI/autokernel / _get_module

Function _get_module

kernels/cuda/matmul.py:239–243  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

237
238
239def _get_module():
240 global _module
241 if _module is None:
242 _module = compile_cuda(CUDA_SRC, "matmul_cuda")
243 return _module
244
245
246def kernel_fn(A: torch.Tensor, B: torch.Tensor) -> torch.Tensor:

Callers 1

kernel_fnFunction · 0.70

Calls 1

compile_cudaFunction · 0.90

Tested by

no test coverage detected