()
| 102 | |
| 103 | |
| 104 | def _get_module(): |
| 105 | global _module |
| 106 | if _module is None: |
| 107 | _module = compile_cuda(CUDA_SRC, "reduce_sum_cuda") |
| 108 | return _module |
| 109 | |
| 110 | |
| 111 | def kernel_fn(x: torch.Tensor, dim: int = -1) -> torch.Tensor: |
no test coverage detected