submission 66424
P · python · License unknown
Use it
Vendorable · source mirrored · license unknownView source →
No package. Vendor the mirrored source: 20 lines, June 9 Researcher Reciprocity License v1.0.
submission.py
curl "https://kernelindex.com/api/v1/implementations/kernelbot-conv2d-v2-66424?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:a7c094e6dfc76f227f93f6faf4ca4e0a0790664c8efefb18ed9936ff529a8e15
license declaredunknown
license concludedunknown
authorsP
imported2026-08-15
Kernel source
submission.py20 lines
from task import input_t, output_t
import torch
import torch.nn.functional as F
from utils import DeterministicContext
def custom_kernel(data: input_t) -> output_t:
"""
Implementation of 2D convolution using PyTorch with no padding and no striding.
Args:
data: Tuple of (input tensor, kernel tensor)
spec: Convolution specifications
Returns:
Output tensor after convolution
"""
with DeterministicContext():
input_tensor, kernel, output = data
output[...] = F.conv2d(input_tensor, kernel, stride=1, padding=0)
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