Skip to content
KernelIndex
Search⌘K

submission 126509

gk99999 · python · License unknown

Use it

Vendorable · source mirrored · license unknownView source →

No package. Vendor the mirrored source: 4 lines, June 9 Researcher Reciprocity License v1.0.

sub.py
curl "https://kernelindex.com/api/v1/implementations/kernelbot-grayscale-v2-126509?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
RGB to grayscalesuite of 6 cases
NVIDIA A100
12.4ms
#129 of 137
2025-12-06

Reported · How evidence levels are derived →

Source and license

sourceavailable
revision digestsha256:315b2b71c9c120912138173b0e61f7782fc75a4761c4aa38dfade7665ab357a6
license declaredunknown
license concludedunknown
authorsgk99999
imported2026-08-26

Kernel source

sub.py4 lines
def custom_kernel(data):
    rgb, out = data
    out[...] = 0.2989 * rgb[:, :, 0] + 0.5870 * rgb[:, :, 1] + 0.1140 * rgb[:, :, 2]
    return out

Source code from GPU Mode and the KernelBot dataset · June 9 Researcher Reciprocity License v1.0

Best evidence level for this revision: reported

JSON