Skip to content
KernelIndex
Search⌘K

submission 512318

burtenshaw · 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.

submission_return.py
curl "https://kernelindex.com/api/v1/implementations/kernelbot-prefixsum-v2-512318?include=source"
interfacepython
Compatibility
measured onNVIDIA A100
declared hardwareNVIDIA A100
architecturessm_80
dtypesfp32

Benchmark evidence

1 measurement across 1 GPU, fastest first.

Operation / workload
Hardware
Latency
Rank
Observed
Inclusive prefix sumsuite of 11 cases
NVIDIA A100
1.42ms
#9 of 25
2026-03-02

Reported · How evidence levels are derived →

Source and license

sourceavailable
revision digestsha256:5b20e923479629d759db7bc7d724cb76c26c96b0639cae128d4434881fe3cd6c
license declaredunknown
license concludedunknown
authorsburtenshaw
imported2026-08-15

Kernel source

submission_return.py11 lines
#!POPCORN leaderboard prefixsum_v2
#!POPCORN gpu A100

import torch
from task import input_t, output_t


def custom_kernel(data: input_t) -> output_t:
    x, _y = data
    return torch.cumsum(x, dim=0)

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 512313.

⋯ 5 unchanged lines
def custom_kernel(data: input_t) -> output_t:
- x, y = data
- torch.cumsum(x, dim=0, out=y)
- return y
+ x, _y = data
+ return torch.cumsum(x, dim=0)

Best evidence level for this revision: reported

JSON