Skip to content
KernelIndex
Search⌘K

submission 545031

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.

vectoradd_v2.py
curl "https://kernelindex.com/api/v1/implementations/kernelbot-vectoradd-v2-545031?include=source"
interfacepython
Compatibility
measured onNVIDIA A100
declared hardwareNVIDIA A100
architecturessm_80
dtypesfp16

Benchmark evidence

1 measurement across 1 GPU, fastest first.

Operation / workload
Hardware
Latency
Rank
Observed
FP16 vector additionsuite of 5 cases
NVIDIA A100
953.0µs
#32 of 87
2026-03-13

Reported · How evidence levels are derived →

Source and license

sourceavailable
revision digestsha256:37ba9e6eec5a6c85aff5b7343fab3c16fd508a7782555458902c1e09a4ab1375
license declaredunknown
license concludedunknown
authorsrajesh0042
imported2026-08-15

Kernel source

vectoradd_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:
    A, B, output = data
    torch.add(A, B, 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 544989.

Best evidence level for this revision: reported

JSON