submission 545058
rajesh0042 · python · License unknown
Use it
Vendorable · source mirrored · license unknownView source →
No package. Vendor the mirrored source: 11 lines, June 9 Researcher Reciprocity License v1.0.
prefixsum_v2.py
curl "https://kernelindex.com/api/v1/implementations/kernelbot-prefixsum-v2-545058?include=source"interfacepython
Compatibility
measured onNVIDIA H100
declared hardwareNVIDIA H100
architecturessm_90
dtypesfp32
Benchmark evidence
1 measurement across 1 GPU, fastest first.
Operation / workload
Hardware
Latency
Rank
Observed
Reported · How evidence levels are derived →
Source and license
sourceavailable
revision digestsha256:ccdbc5aedbbf46df1091c20c20a2ca2cc893085f8eda640543853c64a5afc00b
license declaredunknown
license concludedunknown
authorsrajesh0042
imported2026-08-15
Kernel source
prefixsum_v2.py11 lines
import os
os.environ["CUBLAS_WORKSPACE_CONFIG"] = ":4096:8"
import torch
from task import input_t, output_t
def custom_kernel(data: input_t) -> output_t:
data, output = data
torch.cumsum(data, dim=0, out=output)
return output
Source code from GPU Mode and the KernelBot dataset · June 9 Researcher Reciprocity License v1.0
Changes from previous submission
Against this author's previous submission submission 545035.
Best evidence level for this revision: reported
JSON