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

Function _get_module

kernels/cuda/softmax.py:238–242  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 1

kernel_fnFunction · 0.70

Calls 1

compile_cudaFunction · 0.90

Tested by

no test coverage detected