submission 652538
civilis1975 · python · License unknown
Use it
Vendorable · source mirrored · license unknownView source →
No package. Vendor the mirrored source: 14 lines, June 9 Researcher Reciprocity License v1.0.
submission.py
curl "https://kernelindex.com/api/v1/implementations/kernelbot-grayscale-v2-652538?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
Reported · How evidence levels are derived →
Source and license
sourceavailable
revision digestsha256:621bf12b3bb66bc83601567e9682ea6aa375248ad202c41c32386817b6e43434
license declaredunknown
license concludedunknown
authorscivilis1975
imported2026-08-15
Kernel source
submission.py14 lines
#!POPCORN leaderboard grayscale_v2
#!POPCORN gpu A100
from task import input_t, output_t
import torch
def custom_kernel(data: input_t) -> output_t:
image, output = data
weights = torch.tensor([0.2989, 0.5870, 0.1140], device=image.device, dtype=image.dtype)
output[...] = torch.sum(image * weights, dim=-1)
return output
Source code from GPU Mode and the KernelBot dataset · June 9 Researcher Reciprocity License v1.0
Best evidence level for this revision: reported
JSON