code
large_stringlengths
193
899
workload_type
large_stringclasses
15 values
gpu_name
large_stringclasses
12 values
gpu_features
large_stringclasses
12 values
runtime_ms
float64
0.01
4.35k
flops
float64
30
21,045B
memory_bytes
int64
160
13.2B
arithmetic_intensity
float64
0
6.37k
dtype_bytes
int64
2
4
workload_params
large_stringlengths
11
79
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 256) x (256, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 256, dtype=torch.float32, device='cuda') B = torch.randn(256, 256, dtype=torch.float32, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchronize()
matmul
NVIDIA A100 80GB
{"gpu_name": "NVIDIA A100 80GB", "cuda_cores": 6912, "tensor_cores": 432, "memory_gb": 80, "memory_bandwidth_gbps": 2039, "base_clock_mhz": 765, "boost_clock_mhz": 1410, "sm_count": 108, "fp32_tflops": 19.5, "fp16_tflops": 312, "tdp_watts": 400, "compute_capability": 8.0, "l2_cache_mb": 40}
0.066133
33,554,432
786,432
42.666667
4
{"M": 256, "N": 256, "K": 256, "dtype": "float32"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 256) x (256, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 256, dtype=torch.float32, device='cuda') B = torch.randn(256, 256, dtype=torch.float32, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchronize()
matmul
NVIDIA L4
{"gpu_name": "NVIDIA L4", "cuda_cores": 7424, "tensor_cores": 232, "memory_gb": 24, "memory_bandwidth_gbps": 300, "base_clock_mhz": 795, "boost_clock_mhz": 2040, "sm_count": 58, "fp32_tflops": 30.3, "fp16_tflops": 121, "tdp_watts": 72, "compute_capability": 8.9, "l2_cache_mb": 48}
0.041537
33,554,432
786,432
42.666667
4
{"M": 256, "N": 256, "K": 256, "dtype": "float32"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 256) x (256, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 256, dtype=torch.float32, device='cuda') B = torch.randn(256, 256, dtype=torch.float32, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchronize()
matmul
NVIDIA L40S
{"gpu_name": "NVIDIA L40S", "cuda_cores": 18176, "tensor_cores": 568, "memory_gb": 48, "memory_bandwidth_gbps": 864, "base_clock_mhz": 1110, "boost_clock_mhz": 2520, "sm_count": 142, "fp32_tflops": 91.6, "fp16_tflops": 183.2, "tdp_watts": 350, "compute_capability": 8.9, "l2_cache_mb": 96}
0.029317
33,554,432
786,432
42.666667
4
{"M": 256, "N": 256, "K": 256, "dtype": "float32"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 256) x (256, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 256, dtype=torch.float32, device='cuda') B = torch.randn(256, 256, dtype=torch.float32, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchronize()
matmul
NVIDIA RTX 3090
{"gpu_name": "NVIDIA RTX 3090", "cuda_cores": 10496, "tensor_cores": 328, "memory_gb": 24, "memory_bandwidth_gbps": 936, "base_clock_mhz": 1395, "boost_clock_mhz": 1695, "sm_count": 82, "fp32_tflops": 35.6, "fp16_tflops": 71, "tdp_watts": 350, "compute_capability": 8.6, "l2_cache_mb": 6}
0.047863
33,554,432
786,432
42.666667
4
{"M": 256, "N": 256, "K": 256, "dtype": "float32"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 256) x (256, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 256, dtype=torch.float32, device='cuda') B = torch.randn(256, 256, dtype=torch.float32, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchronize()
matmul
NVIDIA RTX 4090
{"gpu_name": "NVIDIA RTX 4090", "cuda_cores": 16384, "tensor_cores": 512, "memory_gb": 24, "memory_bandwidth_gbps": 1008, "base_clock_mhz": 2235, "boost_clock_mhz": 2520, "sm_count": 128, "fp32_tflops": 82.6, "fp16_tflops": 165.2, "tdp_watts": 450, "compute_capability": 8.9, "l2_cache_mb": 72}
0.065995
33,554,432
786,432
42.666667
4
{"M": 256, "N": 256, "K": 256, "dtype": "float32"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 256) x (256, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 256, dtype=torch.float32, device='cuda') B = torch.randn(256, 256, dtype=torch.float32, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchronize()
matmul
NVIDIA H100 SXM
{"gpu_name": "NVIDIA H100 SXM", "cuda_cores": 16896, "tensor_cores": 528, "memory_gb": 80, "memory_bandwidth_gbps": 3350, "base_clock_mhz": 1095, "boost_clock_mhz": 1830, "sm_count": 132, "fp32_tflops": 67, "fp16_tflops": 989, "tdp_watts": 700, "compute_capability": 9.0, "l2_cache_mb": 50}
0.062109
33,554,432
786,432
42.666667
4
{"M": 256, "N": 256, "K": 256, "dtype": "float32"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 256) x (256, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 256, dtype=torch.float32, device='cuda') B = torch.randn(256, 256, dtype=torch.float32, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchronize()
matmul
NVIDIA H100 PCIe
{"gpu_name": "NVIDIA H100 PCIe", "cuda_cores": 14592, "tensor_cores": 456, "memory_gb": 80, "memory_bandwidth_gbps": 2039, "base_clock_mhz": 1095, "boost_clock_mhz": 1620, "sm_count": 114, "fp32_tflops": 48, "fp16_tflops": 756, "tdp_watts": 350, "compute_capability": 9.0, "l2_cache_mb": 50}
0.041033
33,554,432
786,432
42.666667
4
{"M": 256, "N": 256, "K": 256, "dtype": "float32"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 256) x (256, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 256, dtype=torch.float32, device='cuda') B = torch.randn(256, 256, dtype=torch.float32, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchronize()
matmul
NVIDIA RTX A6000
{"gpu_name": "NVIDIA RTX A6000", "cuda_cores": 10752, "tensor_cores": 336, "memory_gb": 48, "memory_bandwidth_gbps": 768, "base_clock_mhz": 1410, "boost_clock_mhz": 1860, "sm_count": 84, "fp32_tflops": 38.7, "fp16_tflops": 77.4, "tdp_watts": 300, "compute_capability": 8.6, "l2_cache_mb": 6}
0.03831
33,554,432
786,432
42.666667
4
{"M": 256, "N": 256, "K": 256, "dtype": "float32"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 256) x (256, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 256, dtype=torch.float16, device='cuda') B = torch.randn(256, 256, dtype=torch.float16, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchronize()
matmul
NVIDIA T4
{"gpu_name": "NVIDIA T4", "cuda_cores": 2560, "tensor_cores": 320, "memory_gb": 16, "memory_bandwidth_gbps": 320, "base_clock_mhz": 585, "boost_clock_mhz": 1590, "sm_count": 40, "fp32_tflops": 8.1, "fp16_tflops": 65, "tdp_watts": 70, "compute_capability": 7.5, "l2_cache_mb": 4}
0.058486
33,554,432
393,216
85.333333
2
{"M": 256, "N": 256, "K": 256, "dtype": "float16"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 256) x (256, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 256, dtype=torch.float16, device='cuda') B = torch.randn(256, 256, dtype=torch.float16, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchronize()
matmul
NVIDIA V100
{"gpu_name": "NVIDIA V100", "cuda_cores": 5120, "tensor_cores": 640, "memory_gb": 32, "memory_bandwidth_gbps": 900, "base_clock_mhz": 1230, "boost_clock_mhz": 1530, "sm_count": 80, "fp32_tflops": 15.7, "fp16_tflops": 125, "tdp_watts": 300, "compute_capability": 7.0, "l2_cache_mb": 6}
0.02213
33,554,432
393,216
85.333333
2
{"M": 256, "N": 256, "K": 256, "dtype": "float16"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 256) x (256, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 256, dtype=torch.float16, device='cuda') B = torch.randn(256, 256, dtype=torch.float16, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchronize()
matmul
NVIDIA A10G
{"gpu_name": "NVIDIA A10G", "cuda_cores": 9216, "tensor_cores": 288, "memory_gb": 24, "memory_bandwidth_gbps": 600, "base_clock_mhz": 885, "boost_clock_mhz": 1695, "sm_count": 80, "fp32_tflops": 31.2, "fp16_tflops": 62.5, "tdp_watts": 150, "compute_capability": 8.6, "l2_cache_mb": 6}
0.048377
33,554,432
393,216
85.333333
2
{"M": 256, "N": 256, "K": 256, "dtype": "float16"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 256) x (256, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 256, dtype=torch.float16, device='cuda') B = torch.randn(256, 256, dtype=torch.float16, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchronize()
matmul
NVIDIA A100 40GB
{"gpu_name": "NVIDIA A100 40GB", "cuda_cores": 6912, "tensor_cores": 432, "memory_gb": 40, "memory_bandwidth_gbps": 1555, "base_clock_mhz": 765, "boost_clock_mhz": 1410, "sm_count": 108, "fp32_tflops": 19.5, "fp16_tflops": 312, "tdp_watts": 400, "compute_capability": 8.0, "l2_cache_mb": 40}
0.02781
33,554,432
393,216
85.333333
2
{"M": 256, "N": 256, "K": 256, "dtype": "float16"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 256) x (256, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 256, dtype=torch.float16, device='cuda') B = torch.randn(256, 256, dtype=torch.float16, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchronize()
matmul
NVIDIA A100 80GB
{"gpu_name": "NVIDIA A100 80GB", "cuda_cores": 6912, "tensor_cores": 432, "memory_gb": 80, "memory_bandwidth_gbps": 2039, "base_clock_mhz": 765, "boost_clock_mhz": 1410, "sm_count": 108, "fp32_tflops": 19.5, "fp16_tflops": 312, "tdp_watts": 400, "compute_capability": 8.0, "l2_cache_mb": 40}
0.068355
33,554,432
393,216
85.333333
2
{"M": 256, "N": 256, "K": 256, "dtype": "float16"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 256) x (256, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 256, dtype=torch.float16, device='cuda') B = torch.randn(256, 256, dtype=torch.float16, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchronize()
matmul
NVIDIA L4
{"gpu_name": "NVIDIA L4", "cuda_cores": 7424, "tensor_cores": 232, "memory_gb": 24, "memory_bandwidth_gbps": 300, "base_clock_mhz": 795, "boost_clock_mhz": 2040, "sm_count": 58, "fp32_tflops": 30.3, "fp16_tflops": 121, "tdp_watts": 72, "compute_capability": 8.9, "l2_cache_mb": 48}
0.040372
33,554,432
393,216
85.333333
2
{"M": 256, "N": 256, "K": 256, "dtype": "float16"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 256) x (256, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 256, dtype=torch.float16, device='cuda') B = torch.randn(256, 256, dtype=torch.float16, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchronize()
matmul
NVIDIA L40S
{"gpu_name": "NVIDIA L40S", "cuda_cores": 18176, "tensor_cores": 568, "memory_gb": 48, "memory_bandwidth_gbps": 864, "base_clock_mhz": 1110, "boost_clock_mhz": 2520, "sm_count": 142, "fp32_tflops": 91.6, "fp16_tflops": 183.2, "tdp_watts": 350, "compute_capability": 8.9, "l2_cache_mb": 96}
0.066837
33,554,432
393,216
85.333333
2
{"M": 256, "N": 256, "K": 256, "dtype": "float16"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 256) x (256, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 256, dtype=torch.float16, device='cuda') B = torch.randn(256, 256, dtype=torch.float16, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchronize()
matmul
NVIDIA RTX 3090
{"gpu_name": "NVIDIA RTX 3090", "cuda_cores": 10496, "tensor_cores": 328, "memory_gb": 24, "memory_bandwidth_gbps": 936, "base_clock_mhz": 1395, "boost_clock_mhz": 1695, "sm_count": 82, "fp32_tflops": 35.6, "fp16_tflops": 71, "tdp_watts": 350, "compute_capability": 8.6, "l2_cache_mb": 6}
0.055249
33,554,432
393,216
85.333333
2
{"M": 256, "N": 256, "K": 256, "dtype": "float16"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 256) x (256, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 256, dtype=torch.float16, device='cuda') B = torch.randn(256, 256, dtype=torch.float16, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchronize()
matmul
NVIDIA RTX 4090
{"gpu_name": "NVIDIA RTX 4090", "cuda_cores": 16384, "tensor_cores": 512, "memory_gb": 24, "memory_bandwidth_gbps": 1008, "base_clock_mhz": 2235, "boost_clock_mhz": 2520, "sm_count": 128, "fp32_tflops": 82.6, "fp16_tflops": 165.2, "tdp_watts": 450, "compute_capability": 8.9, "l2_cache_mb": 72}
0.053425
33,554,432
393,216
85.333333
2
{"M": 256, "N": 256, "K": 256, "dtype": "float16"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 256) x (256, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 256, dtype=torch.float16, device='cuda') B = torch.randn(256, 256, dtype=torch.float16, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchronize()
matmul
NVIDIA H100 SXM
{"gpu_name": "NVIDIA H100 SXM", "cuda_cores": 16896, "tensor_cores": 528, "memory_gb": 80, "memory_bandwidth_gbps": 3350, "base_clock_mhz": 1095, "boost_clock_mhz": 1830, "sm_count": 132, "fp32_tflops": 67, "fp16_tflops": 989, "tdp_watts": 700, "compute_capability": 9.0, "l2_cache_mb": 50}
0.063286
33,554,432
393,216
85.333333
2
{"M": 256, "N": 256, "K": 256, "dtype": "float16"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 256) x (256, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 256, dtype=torch.float16, device='cuda') B = torch.randn(256, 256, dtype=torch.float16, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchronize()
matmul
NVIDIA H100 PCIe
{"gpu_name": "NVIDIA H100 PCIe", "cuda_cores": 14592, "tensor_cores": 456, "memory_gb": 80, "memory_bandwidth_gbps": 2039, "base_clock_mhz": 1095, "boost_clock_mhz": 1620, "sm_count": 114, "fp32_tflops": 48, "fp16_tflops": 756, "tdp_watts": 350, "compute_capability": 9.0, "l2_cache_mb": 50}
0.051261
33,554,432
393,216
85.333333
2
{"M": 256, "N": 256, "K": 256, "dtype": "float16"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 256) x (256, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 256, dtype=torch.float16, device='cuda') B = torch.randn(256, 256, dtype=torch.float16, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchronize()
matmul
NVIDIA RTX A6000
{"gpu_name": "NVIDIA RTX A6000", "cuda_cores": 10752, "tensor_cores": 336, "memory_gb": 48, "memory_bandwidth_gbps": 768, "base_clock_mhz": 1410, "boost_clock_mhz": 1860, "sm_count": 84, "fp32_tflops": 38.7, "fp16_tflops": 77.4, "tdp_watts": 300, "compute_capability": 8.6, "l2_cache_mb": 6}
0.060888
33,554,432
393,216
85.333333
2
{"M": 256, "N": 256, "K": 256, "dtype": "float16"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 512) x (512, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 512, dtype=torch.float32, device='cuda') B = torch.randn(512, 256, dtype=torch.float32, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchronize()
matmul
NVIDIA T4
{"gpu_name": "NVIDIA T4", "cuda_cores": 2560, "tensor_cores": 320, "memory_gb": 16, "memory_bandwidth_gbps": 320, "base_clock_mhz": 585, "boost_clock_mhz": 1590, "sm_count": 40, "fp32_tflops": 8.1, "fp16_tflops": 65, "tdp_watts": 70, "compute_capability": 7.5, "l2_cache_mb": 4}
0.060341
67,108,864
1,310,720
51.2
4
{"M": 256, "N": 256, "K": 512, "dtype": "float32"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 512) x (512, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 512, dtype=torch.float32, device='cuda') B = torch.randn(512, 256, dtype=torch.float32, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchronize()
matmul
NVIDIA V100
{"gpu_name": "NVIDIA V100", "cuda_cores": 5120, "tensor_cores": 640, "memory_gb": 32, "memory_bandwidth_gbps": 900, "base_clock_mhz": 1230, "boost_clock_mhz": 1530, "sm_count": 80, "fp32_tflops": 15.7, "fp16_tflops": 125, "tdp_watts": 300, "compute_capability": 7.0, "l2_cache_mb": 6}
0.044577
67,108,864
1,310,720
51.2
4
{"M": 256, "N": 256, "K": 512, "dtype": "float32"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 512) x (512, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 512, dtype=torch.float32, device='cuda') B = torch.randn(512, 256, dtype=torch.float32, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchronize()
matmul
NVIDIA A10G
{"gpu_name": "NVIDIA A10G", "cuda_cores": 9216, "tensor_cores": 288, "memory_gb": 24, "memory_bandwidth_gbps": 600, "base_clock_mhz": 885, "boost_clock_mhz": 1695, "sm_count": 80, "fp32_tflops": 31.2, "fp16_tflops": 62.5, "tdp_watts": 150, "compute_capability": 8.6, "l2_cache_mb": 6}
0.055143
67,108,864
1,310,720
51.2
4
{"M": 256, "N": 256, "K": 512, "dtype": "float32"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 512) x (512, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 512, dtype=torch.float32, device='cuda') B = torch.randn(512, 256, dtype=torch.float32, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchronize()
matmul
NVIDIA A100 40GB
{"gpu_name": "NVIDIA A100 40GB", "cuda_cores": 6912, "tensor_cores": 432, "memory_gb": 40, "memory_bandwidth_gbps": 1555, "base_clock_mhz": 765, "boost_clock_mhz": 1410, "sm_count": 108, "fp32_tflops": 19.5, "fp16_tflops": 312, "tdp_watts": 400, "compute_capability": 8.0, "l2_cache_mb": 40}
0.04146
67,108,864
1,310,720
51.2
4
{"M": 256, "N": 256, "K": 512, "dtype": "float32"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 512) x (512, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 512, dtype=torch.float32, device='cuda') B = torch.randn(512, 256, dtype=torch.float32, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchronize()
matmul
NVIDIA A100 80GB
{"gpu_name": "NVIDIA A100 80GB", "cuda_cores": 6912, "tensor_cores": 432, "memory_gb": 80, "memory_bandwidth_gbps": 2039, "base_clock_mhz": 765, "boost_clock_mhz": 1410, "sm_count": 108, "fp32_tflops": 19.5, "fp16_tflops": 312, "tdp_watts": 400, "compute_capability": 8.0, "l2_cache_mb": 40}
0.061207
67,108,864
1,310,720
51.2
4
{"M": 256, "N": 256, "K": 512, "dtype": "float32"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 512) x (512, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 512, dtype=torch.float32, device='cuda') B = torch.randn(512, 256, dtype=torch.float32, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchronize()
matmul
NVIDIA L4
{"gpu_name": "NVIDIA L4", "cuda_cores": 7424, "tensor_cores": 232, "memory_gb": 24, "memory_bandwidth_gbps": 300, "base_clock_mhz": 795, "boost_clock_mhz": 2040, "sm_count": 58, "fp32_tflops": 30.3, "fp16_tflops": 121, "tdp_watts": 72, "compute_capability": 8.9, "l2_cache_mb": 48}
0.066533
67,108,864
1,310,720
51.2
4
{"M": 256, "N": 256, "K": 512, "dtype": "float32"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 512) x (512, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 512, dtype=torch.float32, device='cuda') B = torch.randn(512, 256, dtype=torch.float32, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchronize()
matmul
NVIDIA L40S
{"gpu_name": "NVIDIA L40S", "cuda_cores": 18176, "tensor_cores": 568, "memory_gb": 48, "memory_bandwidth_gbps": 864, "base_clock_mhz": 1110, "boost_clock_mhz": 2520, "sm_count": 142, "fp32_tflops": 91.6, "fp16_tflops": 183.2, "tdp_watts": 350, "compute_capability": 8.9, "l2_cache_mb": 96}
0.030553
67,108,864
1,310,720
51.2
4
{"M": 256, "N": 256, "K": 512, "dtype": "float32"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 512) x (512, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 512, dtype=torch.float32, device='cuda') B = torch.randn(512, 256, dtype=torch.float32, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchronize()
matmul
NVIDIA RTX 3090
{"gpu_name": "NVIDIA RTX 3090", "cuda_cores": 10496, "tensor_cores": 328, "memory_gb": 24, "memory_bandwidth_gbps": 936, "base_clock_mhz": 1395, "boost_clock_mhz": 1695, "sm_count": 82, "fp32_tflops": 35.6, "fp16_tflops": 71, "tdp_watts": 350, "compute_capability": 8.6, "l2_cache_mb": 6}
0.035675
67,108,864
1,310,720
51.2
4
{"M": 256, "N": 256, "K": 512, "dtype": "float32"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 512) x (512, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 512, dtype=torch.float32, device='cuda') B = torch.randn(512, 256, dtype=torch.float32, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchronize()
matmul
NVIDIA RTX 4090
{"gpu_name": "NVIDIA RTX 4090", "cuda_cores": 16384, "tensor_cores": 512, "memory_gb": 24, "memory_bandwidth_gbps": 1008, "base_clock_mhz": 2235, "boost_clock_mhz": 2520, "sm_count": 128, "fp32_tflops": 82.6, "fp16_tflops": 165.2, "tdp_watts": 450, "compute_capability": 8.9, "l2_cache_mb": 72}
0.031968
67,108,864
1,310,720
51.2
4
{"M": 256, "N": 256, "K": 512, "dtype": "float32"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 512) x (512, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 512, dtype=torch.float32, device='cuda') B = torch.randn(512, 256, dtype=torch.float32, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchronize()
matmul
NVIDIA H100 SXM
{"gpu_name": "NVIDIA H100 SXM", "cuda_cores": 16896, "tensor_cores": 528, "memory_gb": 80, "memory_bandwidth_gbps": 3350, "base_clock_mhz": 1095, "boost_clock_mhz": 1830, "sm_count": 132, "fp32_tflops": 67, "fp16_tflops": 989, "tdp_watts": 700, "compute_capability": 9.0, "l2_cache_mb": 50}
0.058771
67,108,864
1,310,720
51.2
4
{"M": 256, "N": 256, "K": 512, "dtype": "float32"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 512) x (512, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 512, dtype=torch.float32, device='cuda') B = torch.randn(512, 256, dtype=torch.float32, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchronize()
matmul
NVIDIA H100 PCIe
{"gpu_name": "NVIDIA H100 PCIe", "cuda_cores": 14592, "tensor_cores": 456, "memory_gb": 80, "memory_bandwidth_gbps": 2039, "base_clock_mhz": 1095, "boost_clock_mhz": 1620, "sm_count": 114, "fp32_tflops": 48, "fp16_tflops": 756, "tdp_watts": 350, "compute_capability": 9.0, "l2_cache_mb": 50}
0.048708
67,108,864
1,310,720
51.2
4
{"M": 256, "N": 256, "K": 512, "dtype": "float32"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 512) x (512, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 512, dtype=torch.float32, device='cuda') B = torch.randn(512, 256, dtype=torch.float32, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchronize()
matmul
NVIDIA RTX A6000
{"gpu_name": "NVIDIA RTX A6000", "cuda_cores": 10752, "tensor_cores": 336, "memory_gb": 48, "memory_bandwidth_gbps": 768, "base_clock_mhz": 1410, "boost_clock_mhz": 1860, "sm_count": 84, "fp32_tflops": 38.7, "fp16_tflops": 77.4, "tdp_watts": 300, "compute_capability": 8.6, "l2_cache_mb": 6}
0.05254
67,108,864
1,310,720
51.2
4
{"M": 256, "N": 256, "K": 512, "dtype": "float32"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 512) x (512, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 512, dtype=torch.float16, device='cuda') B = torch.randn(512, 256, dtype=torch.float16, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchronize()
matmul
NVIDIA T4
{"gpu_name": "NVIDIA T4", "cuda_cores": 2560, "tensor_cores": 320, "memory_gb": 16, "memory_bandwidth_gbps": 320, "base_clock_mhz": 585, "boost_clock_mhz": 1590, "sm_count": 40, "fp32_tflops": 8.1, "fp16_tflops": 65, "tdp_watts": 70, "compute_capability": 7.5, "l2_cache_mb": 4}
0.035826
67,108,864
655,360
102.4
2
{"M": 256, "N": 256, "K": 512, "dtype": "float16"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 512) x (512, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 512, dtype=torch.float16, device='cuda') B = torch.randn(512, 256, dtype=torch.float16, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchronize()
matmul
NVIDIA V100
{"gpu_name": "NVIDIA V100", "cuda_cores": 5120, "tensor_cores": 640, "memory_gb": 32, "memory_bandwidth_gbps": 900, "base_clock_mhz": 1230, "boost_clock_mhz": 1530, "sm_count": 80, "fp32_tflops": 15.7, "fp16_tflops": 125, "tdp_watts": 300, "compute_capability": 7.0, "l2_cache_mb": 6}
0.03891
67,108,864
655,360
102.4
2
{"M": 256, "N": 256, "K": 512, "dtype": "float16"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 512) x (512, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 512, dtype=torch.float16, device='cuda') B = torch.randn(512, 256, dtype=torch.float16, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchronize()
matmul
NVIDIA A10G
{"gpu_name": "NVIDIA A10G", "cuda_cores": 9216, "tensor_cores": 288, "memory_gb": 24, "memory_bandwidth_gbps": 600, "base_clock_mhz": 885, "boost_clock_mhz": 1695, "sm_count": 80, "fp32_tflops": 31.2, "fp16_tflops": 62.5, "tdp_watts": 150, "compute_capability": 8.6, "l2_cache_mb": 6}
0.055837
67,108,864
655,360
102.4
2
{"M": 256, "N": 256, "K": 512, "dtype": "float16"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 512) x (512, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 512, dtype=torch.float16, device='cuda') B = torch.randn(512, 256, dtype=torch.float16, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchronize()
matmul
NVIDIA A100 40GB
{"gpu_name": "NVIDIA A100 40GB", "cuda_cores": 6912, "tensor_cores": 432, "memory_gb": 40, "memory_bandwidth_gbps": 1555, "base_clock_mhz": 765, "boost_clock_mhz": 1410, "sm_count": 108, "fp32_tflops": 19.5, "fp16_tflops": 312, "tdp_watts": 400, "compute_capability": 8.0, "l2_cache_mb": 40}
0.058691
67,108,864
655,360
102.4
2
{"M": 256, "N": 256, "K": 512, "dtype": "float16"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 512) x (512, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 512, dtype=torch.float16, device='cuda') B = torch.randn(512, 256, dtype=torch.float16, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchronize()
matmul
NVIDIA A100 80GB
{"gpu_name": "NVIDIA A100 80GB", "cuda_cores": 6912, "tensor_cores": 432, "memory_gb": 80, "memory_bandwidth_gbps": 2039, "base_clock_mhz": 765, "boost_clock_mhz": 1410, "sm_count": 108, "fp32_tflops": 19.5, "fp16_tflops": 312, "tdp_watts": 400, "compute_capability": 8.0, "l2_cache_mb": 40}
0.029995
67,108,864
655,360
102.4
2
{"M": 256, "N": 256, "K": 512, "dtype": "float16"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 512) x (512, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 512, dtype=torch.float16, device='cuda') B = torch.randn(512, 256, dtype=torch.float16, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchronize()
matmul
NVIDIA L4
{"gpu_name": "NVIDIA L4", "cuda_cores": 7424, "tensor_cores": 232, "memory_gb": 24, "memory_bandwidth_gbps": 300, "base_clock_mhz": 795, "boost_clock_mhz": 2040, "sm_count": 58, "fp32_tflops": 30.3, "fp16_tflops": 121, "tdp_watts": 72, "compute_capability": 8.9, "l2_cache_mb": 48}
0.050938
67,108,864
655,360
102.4
2
{"M": 256, "N": 256, "K": 512, "dtype": "float16"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 512) x (512, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 512, dtype=torch.float16, device='cuda') B = torch.randn(512, 256, dtype=torch.float16, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchronize()
matmul
NVIDIA L40S
{"gpu_name": "NVIDIA L40S", "cuda_cores": 18176, "tensor_cores": 568, "memory_gb": 48, "memory_bandwidth_gbps": 864, "base_clock_mhz": 1110, "boost_clock_mhz": 2520, "sm_count": 142, "fp32_tflops": 91.6, "fp16_tflops": 183.2, "tdp_watts": 350, "compute_capability": 8.9, "l2_cache_mb": 96}
0.049793
67,108,864
655,360
102.4
2
{"M": 256, "N": 256, "K": 512, "dtype": "float16"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 512) x (512, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 512, dtype=torch.float16, device='cuda') B = torch.randn(512, 256, dtype=torch.float16, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchronize()
matmul
NVIDIA RTX 3090
{"gpu_name": "NVIDIA RTX 3090", "cuda_cores": 10496, "tensor_cores": 328, "memory_gb": 24, "memory_bandwidth_gbps": 936, "base_clock_mhz": 1395, "boost_clock_mhz": 1695, "sm_count": 82, "fp32_tflops": 35.6, "fp16_tflops": 71, "tdp_watts": 350, "compute_capability": 8.6, "l2_cache_mb": 6}
0.057425
67,108,864
655,360
102.4
2
{"M": 256, "N": 256, "K": 512, "dtype": "float16"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 512) x (512, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 512, dtype=torch.float16, device='cuda') B = torch.randn(512, 256, dtype=torch.float16, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchronize()
matmul
NVIDIA RTX 4090
{"gpu_name": "NVIDIA RTX 4090", "cuda_cores": 16384, "tensor_cores": 512, "memory_gb": 24, "memory_bandwidth_gbps": 1008, "base_clock_mhz": 2235, "boost_clock_mhz": 2520, "sm_count": 128, "fp32_tflops": 82.6, "fp16_tflops": 165.2, "tdp_watts": 450, "compute_capability": 8.9, "l2_cache_mb": 72}
0.060806
67,108,864
655,360
102.4
2
{"M": 256, "N": 256, "K": 512, "dtype": "float16"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 512) x (512, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 512, dtype=torch.float16, device='cuda') B = torch.randn(512, 256, dtype=torch.float16, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchronize()
matmul
NVIDIA H100 SXM
{"gpu_name": "NVIDIA H100 SXM", "cuda_cores": 16896, "tensor_cores": 528, "memory_gb": 80, "memory_bandwidth_gbps": 3350, "base_clock_mhz": 1095, "boost_clock_mhz": 1830, "sm_count": 132, "fp32_tflops": 67, "fp16_tflops": 989, "tdp_watts": 700, "compute_capability": 9.0, "l2_cache_mb": 50}
0.050671
67,108,864
655,360
102.4
2
{"M": 256, "N": 256, "K": 512, "dtype": "float16"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 512) x (512, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 512, dtype=torch.float16, device='cuda') B = torch.randn(512, 256, dtype=torch.float16, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchronize()
matmul
NVIDIA H100 PCIe
{"gpu_name": "NVIDIA H100 PCIe", "cuda_cores": 14592, "tensor_cores": 456, "memory_gb": 80, "memory_bandwidth_gbps": 2039, "base_clock_mhz": 1095, "boost_clock_mhz": 1620, "sm_count": 114, "fp32_tflops": 48, "fp16_tflops": 756, "tdp_watts": 350, "compute_capability": 9.0, "l2_cache_mb": 50}
0.060681
67,108,864
655,360
102.4
2
{"M": 256, "N": 256, "K": 512, "dtype": "float16"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 512) x (512, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 512, dtype=torch.float16, device='cuda') B = torch.randn(512, 256, dtype=torch.float16, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchronize()
matmul
NVIDIA RTX A6000
{"gpu_name": "NVIDIA RTX A6000", "cuda_cores": 10752, "tensor_cores": 336, "memory_gb": 48, "memory_bandwidth_gbps": 768, "base_clock_mhz": 1410, "boost_clock_mhz": 1860, "sm_count": 84, "fp32_tflops": 38.7, "fp16_tflops": 77.4, "tdp_watts": 300, "compute_capability": 8.6, "l2_cache_mb": 6}
0.063948
67,108,864
655,360
102.4
2
{"M": 256, "N": 256, "K": 512, "dtype": "float16"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 1024) x (1024, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 1024, dtype=torch.float32, device='cuda') B = torch.randn(1024, 256, dtype=torch.float32, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchroniz...
matmul
NVIDIA T4
{"gpu_name": "NVIDIA T4", "cuda_cores": 2560, "tensor_cores": 320, "memory_gb": 16, "memory_bandwidth_gbps": 320, "base_clock_mhz": 585, "boost_clock_mhz": 1590, "sm_count": 40, "fp32_tflops": 8.1, "fp16_tflops": 65, "tdp_watts": 70, "compute_capability": 7.5, "l2_cache_mb": 4}
0.092572
134,217,728
2,359,296
56.888889
4
{"M": 256, "N": 256, "K": 1024, "dtype": "float32"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 1024) x (1024, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 1024, dtype=torch.float32, device='cuda') B = torch.randn(1024, 256, dtype=torch.float32, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchroniz...
matmul
NVIDIA V100
{"gpu_name": "NVIDIA V100", "cuda_cores": 5120, "tensor_cores": 640, "memory_gb": 32, "memory_bandwidth_gbps": 900, "base_clock_mhz": 1230, "boost_clock_mhz": 1530, "sm_count": 80, "fp32_tflops": 15.7, "fp16_tflops": 125, "tdp_watts": 300, "compute_capability": 7.0, "l2_cache_mb": 6}
0.077967
134,217,728
2,359,296
56.888889
4
{"M": 256, "N": 256, "K": 1024, "dtype": "float32"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 1024) x (1024, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 1024, dtype=torch.float32, device='cuda') B = torch.randn(1024, 256, dtype=torch.float32, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchroniz...
matmul
NVIDIA A10G
{"gpu_name": "NVIDIA A10G", "cuda_cores": 9216, "tensor_cores": 288, "memory_gb": 24, "memory_bandwidth_gbps": 600, "base_clock_mhz": 885, "boost_clock_mhz": 1695, "sm_count": 80, "fp32_tflops": 31.2, "fp16_tflops": 62.5, "tdp_watts": 150, "compute_capability": 8.6, "l2_cache_mb": 6}
0.050433
134,217,728
2,359,296
56.888889
4
{"M": 256, "N": 256, "K": 1024, "dtype": "float32"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 1024) x (1024, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 1024, dtype=torch.float32, device='cuda') B = torch.randn(1024, 256, dtype=torch.float32, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchroniz...
matmul
NVIDIA A100 40GB
{"gpu_name": "NVIDIA A100 40GB", "cuda_cores": 6912, "tensor_cores": 432, "memory_gb": 40, "memory_bandwidth_gbps": 1555, "base_clock_mhz": 765, "boost_clock_mhz": 1410, "sm_count": 108, "fp32_tflops": 19.5, "fp16_tflops": 312, "tdp_watts": 400, "compute_capability": 8.0, "l2_cache_mb": 40}
0.048138
134,217,728
2,359,296
56.888889
4
{"M": 256, "N": 256, "K": 1024, "dtype": "float32"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 1024) x (1024, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 1024, dtype=torch.float32, device='cuda') B = torch.randn(1024, 256, dtype=torch.float32, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchroniz...
matmul
NVIDIA A100 80GB
{"gpu_name": "NVIDIA A100 80GB", "cuda_cores": 6912, "tensor_cores": 432, "memory_gb": 80, "memory_bandwidth_gbps": 2039, "base_clock_mhz": 765, "boost_clock_mhz": 1410, "sm_count": 108, "fp32_tflops": 19.5, "fp16_tflops": 312, "tdp_watts": 400, "compute_capability": 8.0, "l2_cache_mb": 40}
0.03505
134,217,728
2,359,296
56.888889
4
{"M": 256, "N": 256, "K": 1024, "dtype": "float32"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 1024) x (1024, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 1024, dtype=torch.float32, device='cuda') B = torch.randn(1024, 256, dtype=torch.float32, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchroniz...
matmul
NVIDIA L4
{"gpu_name": "NVIDIA L4", "cuda_cores": 7424, "tensor_cores": 232, "memory_gb": 24, "memory_bandwidth_gbps": 300, "base_clock_mhz": 795, "boost_clock_mhz": 2040, "sm_count": 58, "fp32_tflops": 30.3, "fp16_tflops": 121, "tdp_watts": 72, "compute_capability": 8.9, "l2_cache_mb": 48}
0.052494
134,217,728
2,359,296
56.888889
4
{"M": 256, "N": 256, "K": 1024, "dtype": "float32"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 1024) x (1024, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 1024, dtype=torch.float32, device='cuda') B = torch.randn(1024, 256, dtype=torch.float32, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchroniz...
matmul
NVIDIA L40S
{"gpu_name": "NVIDIA L40S", "cuda_cores": 18176, "tensor_cores": 568, "memory_gb": 48, "memory_bandwidth_gbps": 864, "base_clock_mhz": 1110, "boost_clock_mhz": 2520, "sm_count": 142, "fp32_tflops": 91.6, "fp16_tflops": 183.2, "tdp_watts": 350, "compute_capability": 8.9, "l2_cache_mb": 96}
0.027921
134,217,728
2,359,296
56.888889
4
{"M": 256, "N": 256, "K": 1024, "dtype": "float32"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 1024) x (1024, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 1024, dtype=torch.float32, device='cuda') B = torch.randn(1024, 256, dtype=torch.float32, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchroniz...
matmul
NVIDIA RTX 3090
{"gpu_name": "NVIDIA RTX 3090", "cuda_cores": 10496, "tensor_cores": 328, "memory_gb": 24, "memory_bandwidth_gbps": 936, "base_clock_mhz": 1395, "boost_clock_mhz": 1695, "sm_count": 82, "fp32_tflops": 35.6, "fp16_tflops": 71, "tdp_watts": 350, "compute_capability": 8.6, "l2_cache_mb": 6}
0.062372
134,217,728
2,359,296
56.888889
4
{"M": 256, "N": 256, "K": 1024, "dtype": "float32"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 1024) x (1024, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 1024, dtype=torch.float32, device='cuda') B = torch.randn(1024, 256, dtype=torch.float32, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchroniz...
matmul
NVIDIA RTX 4090
{"gpu_name": "NVIDIA RTX 4090", "cuda_cores": 16384, "tensor_cores": 512, "memory_gb": 24, "memory_bandwidth_gbps": 1008, "base_clock_mhz": 2235, "boost_clock_mhz": 2520, "sm_count": 128, "fp32_tflops": 82.6, "fp16_tflops": 165.2, "tdp_watts": 450, "compute_capability": 8.9, "l2_cache_mb": 72}
0.042166
134,217,728
2,359,296
56.888889
4
{"M": 256, "N": 256, "K": 1024, "dtype": "float32"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 1024) x (1024, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 1024, dtype=torch.float32, device='cuda') B = torch.randn(1024, 256, dtype=torch.float32, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchroniz...
matmul
NVIDIA H100 SXM
{"gpu_name": "NVIDIA H100 SXM", "cuda_cores": 16896, "tensor_cores": 528, "memory_gb": 80, "memory_bandwidth_gbps": 3350, "base_clock_mhz": 1095, "boost_clock_mhz": 1830, "sm_count": 132, "fp32_tflops": 67, "fp16_tflops": 989, "tdp_watts": 700, "compute_capability": 9.0, "l2_cache_mb": 50}
0.049624
134,217,728
2,359,296
56.888889
4
{"M": 256, "N": 256, "K": 1024, "dtype": "float32"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 1024) x (1024, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 1024, dtype=torch.float32, device='cuda') B = torch.randn(1024, 256, dtype=torch.float32, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchroniz...
matmul
NVIDIA H100 PCIe
{"gpu_name": "NVIDIA H100 PCIe", "cuda_cores": 14592, "tensor_cores": 456, "memory_gb": 80, "memory_bandwidth_gbps": 2039, "base_clock_mhz": 1095, "boost_clock_mhz": 1620, "sm_count": 114, "fp32_tflops": 48, "fp16_tflops": 756, "tdp_watts": 350, "compute_capability": 9.0, "l2_cache_mb": 50}
0.059744
134,217,728
2,359,296
56.888889
4
{"M": 256, "N": 256, "K": 1024, "dtype": "float32"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 1024) x (1024, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 1024, dtype=torch.float32, device='cuda') B = torch.randn(1024, 256, dtype=torch.float32, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchroniz...
matmul
NVIDIA RTX A6000
{"gpu_name": "NVIDIA RTX A6000", "cuda_cores": 10752, "tensor_cores": 336, "memory_gb": 48, "memory_bandwidth_gbps": 768, "base_clock_mhz": 1410, "boost_clock_mhz": 1860, "sm_count": 84, "fp32_tflops": 38.7, "fp16_tflops": 77.4, "tdp_watts": 300, "compute_capability": 8.6, "l2_cache_mb": 6}
0.029075
134,217,728
2,359,296
56.888889
4
{"M": 256, "N": 256, "K": 1024, "dtype": "float32"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 1024) x (1024, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 1024, dtype=torch.float16, device='cuda') B = torch.randn(1024, 256, dtype=torch.float16, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchroniz...
matmul
NVIDIA T4
{"gpu_name": "NVIDIA T4", "cuda_cores": 2560, "tensor_cores": 320, "memory_gb": 16, "memory_bandwidth_gbps": 320, "base_clock_mhz": 585, "boost_clock_mhz": 1590, "sm_count": 40, "fp32_tflops": 8.1, "fp16_tflops": 65, "tdp_watts": 70, "compute_capability": 7.5, "l2_cache_mb": 4}
0.029355
134,217,728
1,179,648
113.777778
2
{"M": 256, "N": 256, "K": 1024, "dtype": "float16"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 1024) x (1024, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 1024, dtype=torch.float16, device='cuda') B = torch.randn(1024, 256, dtype=torch.float16, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchroniz...
matmul
NVIDIA V100
{"gpu_name": "NVIDIA V100", "cuda_cores": 5120, "tensor_cores": 640, "memory_gb": 32, "memory_bandwidth_gbps": 900, "base_clock_mhz": 1230, "boost_clock_mhz": 1530, "sm_count": 80, "fp32_tflops": 15.7, "fp16_tflops": 125, "tdp_watts": 300, "compute_capability": 7.0, "l2_cache_mb": 6}
0.036429
134,217,728
1,179,648
113.777778
2
{"M": 256, "N": 256, "K": 1024, "dtype": "float16"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 1024) x (1024, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 1024, dtype=torch.float16, device='cuda') B = torch.randn(1024, 256, dtype=torch.float16, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchroniz...
matmul
NVIDIA A10G
{"gpu_name": "NVIDIA A10G", "cuda_cores": 9216, "tensor_cores": 288, "memory_gb": 24, "memory_bandwidth_gbps": 600, "base_clock_mhz": 885, "boost_clock_mhz": 1695, "sm_count": 80, "fp32_tflops": 31.2, "fp16_tflops": 62.5, "tdp_watts": 150, "compute_capability": 8.6, "l2_cache_mb": 6}
0.036421
134,217,728
1,179,648
113.777778
2
{"M": 256, "N": 256, "K": 1024, "dtype": "float16"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 1024) x (1024, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 1024, dtype=torch.float16, device='cuda') B = torch.randn(1024, 256, dtype=torch.float16, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchroniz...
matmul
NVIDIA A100 40GB
{"gpu_name": "NVIDIA A100 40GB", "cuda_cores": 6912, "tensor_cores": 432, "memory_gb": 40, "memory_bandwidth_gbps": 1555, "base_clock_mhz": 765, "boost_clock_mhz": 1410, "sm_count": 108, "fp32_tflops": 19.5, "fp16_tflops": 312, "tdp_watts": 400, "compute_capability": 8.0, "l2_cache_mb": 40}
0.042656
134,217,728
1,179,648
113.777778
2
{"M": 256, "N": 256, "K": 1024, "dtype": "float16"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 1024) x (1024, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 1024, dtype=torch.float16, device='cuda') B = torch.randn(1024, 256, dtype=torch.float16, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchroniz...
matmul
NVIDIA A100 80GB
{"gpu_name": "NVIDIA A100 80GB", "cuda_cores": 6912, "tensor_cores": 432, "memory_gb": 80, "memory_bandwidth_gbps": 2039, "base_clock_mhz": 765, "boost_clock_mhz": 1410, "sm_count": 108, "fp32_tflops": 19.5, "fp16_tflops": 312, "tdp_watts": 400, "compute_capability": 8.0, "l2_cache_mb": 40}
0.058124
134,217,728
1,179,648
113.777778
2
{"M": 256, "N": 256, "K": 1024, "dtype": "float16"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 1024) x (1024, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 1024, dtype=torch.float16, device='cuda') B = torch.randn(1024, 256, dtype=torch.float16, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchroniz...
matmul
NVIDIA L4
{"gpu_name": "NVIDIA L4", "cuda_cores": 7424, "tensor_cores": 232, "memory_gb": 24, "memory_bandwidth_gbps": 300, "base_clock_mhz": 795, "boost_clock_mhz": 2040, "sm_count": 58, "fp32_tflops": 30.3, "fp16_tflops": 121, "tdp_watts": 72, "compute_capability": 8.9, "l2_cache_mb": 48}
0.046278
134,217,728
1,179,648
113.777778
2
{"M": 256, "N": 256, "K": 1024, "dtype": "float16"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 1024) x (1024, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 1024, dtype=torch.float16, device='cuda') B = torch.randn(1024, 256, dtype=torch.float16, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchroniz...
matmul
NVIDIA L40S
{"gpu_name": "NVIDIA L40S", "cuda_cores": 18176, "tensor_cores": 568, "memory_gb": 48, "memory_bandwidth_gbps": 864, "base_clock_mhz": 1110, "boost_clock_mhz": 2520, "sm_count": 142, "fp32_tflops": 91.6, "fp16_tflops": 183.2, "tdp_watts": 350, "compute_capability": 8.9, "l2_cache_mb": 96}
0.037075
134,217,728
1,179,648
113.777778
2
{"M": 256, "N": 256, "K": 1024, "dtype": "float16"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 1024) x (1024, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 1024, dtype=torch.float16, device='cuda') B = torch.randn(1024, 256, dtype=torch.float16, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchroniz...
matmul
NVIDIA RTX 3090
{"gpu_name": "NVIDIA RTX 3090", "cuda_cores": 10496, "tensor_cores": 328, "memory_gb": 24, "memory_bandwidth_gbps": 936, "base_clock_mhz": 1395, "boost_clock_mhz": 1695, "sm_count": 82, "fp32_tflops": 35.6, "fp16_tflops": 71, "tdp_watts": 350, "compute_capability": 8.6, "l2_cache_mb": 6}
0.06335
134,217,728
1,179,648
113.777778
2
{"M": 256, "N": 256, "K": 1024, "dtype": "float16"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 1024) x (1024, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 1024, dtype=torch.float16, device='cuda') B = torch.randn(1024, 256, dtype=torch.float16, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchroniz...
matmul
NVIDIA RTX 4090
{"gpu_name": "NVIDIA RTX 4090", "cuda_cores": 16384, "tensor_cores": 512, "memory_gb": 24, "memory_bandwidth_gbps": 1008, "base_clock_mhz": 2235, "boost_clock_mhz": 2520, "sm_count": 128, "fp32_tflops": 82.6, "fp16_tflops": 165.2, "tdp_watts": 450, "compute_capability": 8.9, "l2_cache_mb": 72}
0.027566
134,217,728
1,179,648
113.777778
2
{"M": 256, "N": 256, "K": 1024, "dtype": "float16"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 1024) x (1024, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 1024, dtype=torch.float16, device='cuda') B = torch.randn(1024, 256, dtype=torch.float16, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchroniz...
matmul
NVIDIA H100 SXM
{"gpu_name": "NVIDIA H100 SXM", "cuda_cores": 16896, "tensor_cores": 528, "memory_gb": 80, "memory_bandwidth_gbps": 3350, "base_clock_mhz": 1095, "boost_clock_mhz": 1830, "sm_count": 132, "fp32_tflops": 67, "fp16_tflops": 989, "tdp_watts": 700, "compute_capability": 9.0, "l2_cache_mb": 50}
0.068028
134,217,728
1,179,648
113.777778
2
{"M": 256, "N": 256, "K": 1024, "dtype": "float16"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 1024) x (1024, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 1024, dtype=torch.float16, device='cuda') B = torch.randn(1024, 256, dtype=torch.float16, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchroniz...
matmul
NVIDIA H100 PCIe
{"gpu_name": "NVIDIA H100 PCIe", "cuda_cores": 14592, "tensor_cores": 456, "memory_gb": 80, "memory_bandwidth_gbps": 2039, "base_clock_mhz": 1095, "boost_clock_mhz": 1620, "sm_count": 114, "fp32_tflops": 48, "fp16_tflops": 756, "tdp_watts": 350, "compute_capability": 9.0, "l2_cache_mb": 50}
0.03072
134,217,728
1,179,648
113.777778
2
{"M": 256, "N": 256, "K": 1024, "dtype": "float16"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 1024) x (1024, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 1024, dtype=torch.float16, device='cuda') B = torch.randn(1024, 256, dtype=torch.float16, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchroniz...
matmul
NVIDIA RTX A6000
{"gpu_name": "NVIDIA RTX A6000", "cuda_cores": 10752, "tensor_cores": 336, "memory_gb": 48, "memory_bandwidth_gbps": 768, "base_clock_mhz": 1410, "boost_clock_mhz": 1860, "sm_count": 84, "fp32_tflops": 38.7, "fp16_tflops": 77.4, "tdp_watts": 300, "compute_capability": 8.6, "l2_cache_mb": 6}
0.030255
134,217,728
1,179,648
113.777778
2
{"M": 256, "N": 256, "K": 1024, "dtype": "float16"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 2048) x (2048, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 2048, dtype=torch.float32, device='cuda') B = torch.randn(2048, 256, dtype=torch.float32, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchroniz...
matmul
NVIDIA T4
{"gpu_name": "NVIDIA T4", "cuda_cores": 2560, "tensor_cores": 320, "memory_gb": 16, "memory_bandwidth_gbps": 320, "base_clock_mhz": 585, "boost_clock_mhz": 1590, "sm_count": 40, "fp32_tflops": 8.1, "fp16_tflops": 65, "tdp_watts": 70, "compute_capability": 7.5, "l2_cache_mb": 4}
0.063266
268,435,456
4,456,448
60.235294
4
{"M": 256, "N": 256, "K": 2048, "dtype": "float32"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 2048) x (2048, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 2048, dtype=torch.float32, device='cuda') B = torch.randn(2048, 256, dtype=torch.float32, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchroniz...
matmul
NVIDIA V100
{"gpu_name": "NVIDIA V100", "cuda_cores": 5120, "tensor_cores": 640, "memory_gb": 32, "memory_bandwidth_gbps": 900, "base_clock_mhz": 1230, "boost_clock_mhz": 1530, "sm_count": 80, "fp32_tflops": 15.7, "fp16_tflops": 125, "tdp_watts": 300, "compute_capability": 7.0, "l2_cache_mb": 6}
0.048452
268,435,456
4,456,448
60.235294
4
{"M": 256, "N": 256, "K": 2048, "dtype": "float32"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 2048) x (2048, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 2048, dtype=torch.float32, device='cuda') B = torch.randn(2048, 256, dtype=torch.float32, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchroniz...
matmul
NVIDIA A10G
{"gpu_name": "NVIDIA A10G", "cuda_cores": 9216, "tensor_cores": 288, "memory_gb": 24, "memory_bandwidth_gbps": 600, "base_clock_mhz": 885, "boost_clock_mhz": 1695, "sm_count": 80, "fp32_tflops": 31.2, "fp16_tflops": 62.5, "tdp_watts": 150, "compute_capability": 8.6, "l2_cache_mb": 6}
0.037874
268,435,456
4,456,448
60.235294
4
{"M": 256, "N": 256, "K": 2048, "dtype": "float32"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 2048) x (2048, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 2048, dtype=torch.float32, device='cuda') B = torch.randn(2048, 256, dtype=torch.float32, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchroniz...
matmul
NVIDIA A100 40GB
{"gpu_name": "NVIDIA A100 40GB", "cuda_cores": 6912, "tensor_cores": 432, "memory_gb": 40, "memory_bandwidth_gbps": 1555, "base_clock_mhz": 765, "boost_clock_mhz": 1410, "sm_count": 108, "fp32_tflops": 19.5, "fp16_tflops": 312, "tdp_watts": 400, "compute_capability": 8.0, "l2_cache_mb": 40}
0.070409
268,435,456
4,456,448
60.235294
4
{"M": 256, "N": 256, "K": 2048, "dtype": "float32"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 2048) x (2048, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 2048, dtype=torch.float32, device='cuda') B = torch.randn(2048, 256, dtype=torch.float32, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchroniz...
matmul
NVIDIA A100 80GB
{"gpu_name": "NVIDIA A100 80GB", "cuda_cores": 6912, "tensor_cores": 432, "memory_gb": 80, "memory_bandwidth_gbps": 2039, "base_clock_mhz": 765, "boost_clock_mhz": 1410, "sm_count": 108, "fp32_tflops": 19.5, "fp16_tflops": 312, "tdp_watts": 400, "compute_capability": 8.0, "l2_cache_mb": 40}
0.043388
268,435,456
4,456,448
60.235294
4
{"M": 256, "N": 256, "K": 2048, "dtype": "float32"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 2048) x (2048, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 2048, dtype=torch.float32, device='cuda') B = torch.randn(2048, 256, dtype=torch.float32, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchroniz...
matmul
NVIDIA L4
{"gpu_name": "NVIDIA L4", "cuda_cores": 7424, "tensor_cores": 232, "memory_gb": 24, "memory_bandwidth_gbps": 300, "base_clock_mhz": 795, "boost_clock_mhz": 2040, "sm_count": 58, "fp32_tflops": 30.3, "fp16_tflops": 121, "tdp_watts": 72, "compute_capability": 8.9, "l2_cache_mb": 48}
0.047044
268,435,456
4,456,448
60.235294
4
{"M": 256, "N": 256, "K": 2048, "dtype": "float32"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 2048) x (2048, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 2048, dtype=torch.float32, device='cuda') B = torch.randn(2048, 256, dtype=torch.float32, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchroniz...
matmul
NVIDIA L40S
{"gpu_name": "NVIDIA L40S", "cuda_cores": 18176, "tensor_cores": 568, "memory_gb": 48, "memory_bandwidth_gbps": 864, "base_clock_mhz": 1110, "boost_clock_mhz": 2520, "sm_count": 142, "fp32_tflops": 91.6, "fp16_tflops": 183.2, "tdp_watts": 350, "compute_capability": 8.9, "l2_cache_mb": 96}
0.053961
268,435,456
4,456,448
60.235294
4
{"M": 256, "N": 256, "K": 2048, "dtype": "float32"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 2048) x (2048, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 2048, dtype=torch.float32, device='cuda') B = torch.randn(2048, 256, dtype=torch.float32, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchroniz...
matmul
NVIDIA RTX 3090
{"gpu_name": "NVIDIA RTX 3090", "cuda_cores": 10496, "tensor_cores": 328, "memory_gb": 24, "memory_bandwidth_gbps": 936, "base_clock_mhz": 1395, "boost_clock_mhz": 1695, "sm_count": 82, "fp32_tflops": 35.6, "fp16_tflops": 71, "tdp_watts": 350, "compute_capability": 8.6, "l2_cache_mb": 6}
0.038942
268,435,456
4,456,448
60.235294
4
{"M": 256, "N": 256, "K": 2048, "dtype": "float32"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 2048) x (2048, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 2048, dtype=torch.float32, device='cuda') B = torch.randn(2048, 256, dtype=torch.float32, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchroniz...
matmul
NVIDIA RTX 4090
{"gpu_name": "NVIDIA RTX 4090", "cuda_cores": 16384, "tensor_cores": 512, "memory_gb": 24, "memory_bandwidth_gbps": 1008, "base_clock_mhz": 2235, "boost_clock_mhz": 2520, "sm_count": 128, "fp32_tflops": 82.6, "fp16_tflops": 165.2, "tdp_watts": 450, "compute_capability": 8.9, "l2_cache_mb": 72}
0.052952
268,435,456
4,456,448
60.235294
4
{"M": 256, "N": 256, "K": 2048, "dtype": "float32"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 2048) x (2048, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 2048, dtype=torch.float32, device='cuda') B = torch.randn(2048, 256, dtype=torch.float32, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchroniz...
matmul
NVIDIA H100 SXM
{"gpu_name": "NVIDIA H100 SXM", "cuda_cores": 16896, "tensor_cores": 528, "memory_gb": 80, "memory_bandwidth_gbps": 3350, "base_clock_mhz": 1095, "boost_clock_mhz": 1830, "sm_count": 132, "fp32_tflops": 67, "fp16_tflops": 989, "tdp_watts": 700, "compute_capability": 9.0, "l2_cache_mb": 50}
0.039968
268,435,456
4,456,448
60.235294
4
{"M": 256, "N": 256, "K": 2048, "dtype": "float32"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 2048) x (2048, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 2048, dtype=torch.float32, device='cuda') B = torch.randn(2048, 256, dtype=torch.float32, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchroniz...
matmul
NVIDIA H100 PCIe
{"gpu_name": "NVIDIA H100 PCIe", "cuda_cores": 14592, "tensor_cores": 456, "memory_gb": 80, "memory_bandwidth_gbps": 2039, "base_clock_mhz": 1095, "boost_clock_mhz": 1620, "sm_count": 114, "fp32_tflops": 48, "fp16_tflops": 756, "tdp_watts": 350, "compute_capability": 9.0, "l2_cache_mb": 50}
0.058402
268,435,456
4,456,448
60.235294
4
{"M": 256, "N": 256, "K": 2048, "dtype": "float32"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 2048) x (2048, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 2048, dtype=torch.float32, device='cuda') B = torch.randn(2048, 256, dtype=torch.float32, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchroniz...
matmul
NVIDIA RTX A6000
{"gpu_name": "NVIDIA RTX A6000", "cuda_cores": 10752, "tensor_cores": 336, "memory_gb": 48, "memory_bandwidth_gbps": 768, "base_clock_mhz": 1410, "boost_clock_mhz": 1860, "sm_count": 84, "fp32_tflops": 38.7, "fp16_tflops": 77.4, "tdp_watts": 300, "compute_capability": 8.6, "l2_cache_mb": 6}
0.051416
268,435,456
4,456,448
60.235294
4
{"M": 256, "N": 256, "K": 2048, "dtype": "float32"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 2048) x (2048, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 2048, dtype=torch.float16, device='cuda') B = torch.randn(2048, 256, dtype=torch.float16, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchroniz...
matmul
NVIDIA T4
{"gpu_name": "NVIDIA T4", "cuda_cores": 2560, "tensor_cores": 320, "memory_gb": 16, "memory_bandwidth_gbps": 320, "base_clock_mhz": 585, "boost_clock_mhz": 1590, "sm_count": 40, "fp32_tflops": 8.1, "fp16_tflops": 65, "tdp_watts": 70, "compute_capability": 7.5, "l2_cache_mb": 4}
0.066328
268,435,456
2,228,224
120.470588
2
{"M": 256, "N": 256, "K": 2048, "dtype": "float16"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 2048) x (2048, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 2048, dtype=torch.float16, device='cuda') B = torch.randn(2048, 256, dtype=torch.float16, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchroniz...
matmul
NVIDIA V100
{"gpu_name": "NVIDIA V100", "cuda_cores": 5120, "tensor_cores": 640, "memory_gb": 32, "memory_bandwidth_gbps": 900, "base_clock_mhz": 1230, "boost_clock_mhz": 1530, "sm_count": 80, "fp32_tflops": 15.7, "fp16_tflops": 125, "tdp_watts": 300, "compute_capability": 7.0, "l2_cache_mb": 6}
0.064738
268,435,456
2,228,224
120.470588
2
{"M": 256, "N": 256, "K": 2048, "dtype": "float16"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 2048) x (2048, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 2048, dtype=torch.float16, device='cuda') B = torch.randn(2048, 256, dtype=torch.float16, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchroniz...
matmul
NVIDIA A10G
{"gpu_name": "NVIDIA A10G", "cuda_cores": 9216, "tensor_cores": 288, "memory_gb": 24, "memory_bandwidth_gbps": 600, "base_clock_mhz": 885, "boost_clock_mhz": 1695, "sm_count": 80, "fp32_tflops": 31.2, "fp16_tflops": 62.5, "tdp_watts": 150, "compute_capability": 8.6, "l2_cache_mb": 6}
0.051347
268,435,456
2,228,224
120.470588
2
{"M": 256, "N": 256, "K": 2048, "dtype": "float16"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 2048) x (2048, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 2048, dtype=torch.float16, device='cuda') B = torch.randn(2048, 256, dtype=torch.float16, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchroniz...
matmul
NVIDIA A100 40GB
{"gpu_name": "NVIDIA A100 40GB", "cuda_cores": 6912, "tensor_cores": 432, "memory_gb": 40, "memory_bandwidth_gbps": 1555, "base_clock_mhz": 765, "boost_clock_mhz": 1410, "sm_count": 108, "fp32_tflops": 19.5, "fp16_tflops": 312, "tdp_watts": 400, "compute_capability": 8.0, "l2_cache_mb": 40}
0.049697
268,435,456
2,228,224
120.470588
2
{"M": 256, "N": 256, "K": 2048, "dtype": "float16"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 2048) x (2048, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 2048, dtype=torch.float16, device='cuda') B = torch.randn(2048, 256, dtype=torch.float16, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchroniz...
matmul
NVIDIA A100 80GB
{"gpu_name": "NVIDIA A100 80GB", "cuda_cores": 6912, "tensor_cores": 432, "memory_gb": 80, "memory_bandwidth_gbps": 2039, "base_clock_mhz": 765, "boost_clock_mhz": 1410, "sm_count": 108, "fp32_tflops": 19.5, "fp16_tflops": 312, "tdp_watts": 400, "compute_capability": 8.0, "l2_cache_mb": 40}
0.050366
268,435,456
2,228,224
120.470588
2
{"M": 256, "N": 256, "K": 2048, "dtype": "float16"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 2048) x (2048, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 2048, dtype=torch.float16, device='cuda') B = torch.randn(2048, 256, dtype=torch.float16, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchroniz...
matmul
NVIDIA L4
{"gpu_name": "NVIDIA L4", "cuda_cores": 7424, "tensor_cores": 232, "memory_gb": 24, "memory_bandwidth_gbps": 300, "base_clock_mhz": 795, "boost_clock_mhz": 2040, "sm_count": 58, "fp32_tflops": 30.3, "fp16_tflops": 121, "tdp_watts": 72, "compute_capability": 8.9, "l2_cache_mb": 48}
0.057579
268,435,456
2,228,224
120.470588
2
{"M": 256, "N": 256, "K": 2048, "dtype": "float16"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 2048) x (2048, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 2048, dtype=torch.float16, device='cuda') B = torch.randn(2048, 256, dtype=torch.float16, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchroniz...
matmul
NVIDIA L40S
{"gpu_name": "NVIDIA L40S", "cuda_cores": 18176, "tensor_cores": 568, "memory_gb": 48, "memory_bandwidth_gbps": 864, "base_clock_mhz": 1110, "boost_clock_mhz": 2520, "sm_count": 142, "fp32_tflops": 91.6, "fp16_tflops": 183.2, "tdp_watts": 350, "compute_capability": 8.9, "l2_cache_mb": 96}
0.03281
268,435,456
2,228,224
120.470588
2
{"M": 256, "N": 256, "K": 2048, "dtype": "float16"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 2048) x (2048, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 2048, dtype=torch.float16, device='cuda') B = torch.randn(2048, 256, dtype=torch.float16, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchroniz...
matmul
NVIDIA RTX 3090
{"gpu_name": "NVIDIA RTX 3090", "cuda_cores": 10496, "tensor_cores": 328, "memory_gb": 24, "memory_bandwidth_gbps": 936, "base_clock_mhz": 1395, "boost_clock_mhz": 1695, "sm_count": 82, "fp32_tflops": 35.6, "fp16_tflops": 71, "tdp_watts": 350, "compute_capability": 8.6, "l2_cache_mb": 6}
0.038848
268,435,456
2,228,224
120.470588
2
{"M": 256, "N": 256, "K": 2048, "dtype": "float16"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 2048) x (2048, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 2048, dtype=torch.float16, device='cuda') B = torch.randn(2048, 256, dtype=torch.float16, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchroniz...
matmul
NVIDIA RTX 4090
{"gpu_name": "NVIDIA RTX 4090", "cuda_cores": 16384, "tensor_cores": 512, "memory_gb": 24, "memory_bandwidth_gbps": 1008, "base_clock_mhz": 2235, "boost_clock_mhz": 2520, "sm_count": 128, "fp32_tflops": 82.6, "fp16_tflops": 165.2, "tdp_watts": 450, "compute_capability": 8.9, "l2_cache_mb": 72}
0.065413
268,435,456
2,228,224
120.470588
2
{"M": 256, "N": 256, "K": 2048, "dtype": "float16"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 2048) x (2048, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 2048, dtype=torch.float16, device='cuda') B = torch.randn(2048, 256, dtype=torch.float16, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchroniz...
matmul
NVIDIA H100 SXM
{"gpu_name": "NVIDIA H100 SXM", "cuda_cores": 16896, "tensor_cores": 528, "memory_gb": 80, "memory_bandwidth_gbps": 3350, "base_clock_mhz": 1095, "boost_clock_mhz": 1830, "sm_count": 132, "fp32_tflops": 67, "fp16_tflops": 989, "tdp_watts": 700, "compute_capability": 9.0, "l2_cache_mb": 50}
0.046812
268,435,456
2,228,224
120.470588
2
{"M": 256, "N": 256, "K": 2048, "dtype": "float16"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 2048) x (2048, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 2048, dtype=torch.float16, device='cuda') B = torch.randn(2048, 256, dtype=torch.float16, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchroniz...
matmul
NVIDIA H100 PCIe
{"gpu_name": "NVIDIA H100 PCIe", "cuda_cores": 14592, "tensor_cores": 456, "memory_gb": 80, "memory_bandwidth_gbps": 2039, "base_clock_mhz": 1095, "boost_clock_mhz": 1620, "sm_count": 114, "fp32_tflops": 48, "fp16_tflops": 756, "tdp_watts": 350, "compute_capability": 9.0, "l2_cache_mb": 50}
0.039057
268,435,456
2,228,224
120.470588
2
{"M": 256, "N": 256, "K": 2048, "dtype": "float16"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 2048) x (2048, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 2048, dtype=torch.float16, device='cuda') B = torch.randn(2048, 256, dtype=torch.float16, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchroniz...
matmul
NVIDIA RTX A6000
{"gpu_name": "NVIDIA RTX A6000", "cuda_cores": 10752, "tensor_cores": 336, "memory_gb": 48, "memory_bandwidth_gbps": 768, "base_clock_mhz": 1410, "boost_clock_mhz": 1860, "sm_count": 84, "fp32_tflops": 38.7, "fp16_tflops": 77.4, "tdp_watts": 300, "compute_capability": 8.6, "l2_cache_mb": 6}
0.028796
268,435,456
2,228,224
120.470588
2
{"M": 256, "N": 256, "K": 2048, "dtype": "float16"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 4096) x (4096, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 4096, dtype=torch.float32, device='cuda') B = torch.randn(4096, 256, dtype=torch.float32, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchroniz...
matmul
NVIDIA T4
{"gpu_name": "NVIDIA T4", "cuda_cores": 2560, "tensor_cores": 320, "memory_gb": 16, "memory_bandwidth_gbps": 320, "base_clock_mhz": 585, "boost_clock_mhz": 1590, "sm_count": 40, "fp32_tflops": 8.1, "fp16_tflops": 65, "tdp_watts": 70, "compute_capability": 7.5, "l2_cache_mb": 4}
0.165114
536,870,912
8,650,752
62.060606
4
{"M": 256, "N": 256, "K": 4096, "dtype": "float32"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 4096) x (4096, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 4096, dtype=torch.float32, device='cuda') B = torch.randn(4096, 256, dtype=torch.float32, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchroniz...
matmul
NVIDIA V100
{"gpu_name": "NVIDIA V100", "cuda_cores": 5120, "tensor_cores": 640, "memory_gb": 32, "memory_bandwidth_gbps": 900, "base_clock_mhz": 1230, "boost_clock_mhz": 1530, "sm_count": 80, "fp32_tflops": 15.7, "fp16_tflops": 125, "tdp_watts": 300, "compute_capability": 7.0, "l2_cache_mb": 6}
0.090453
536,870,912
8,650,752
62.060606
4
{"M": 256, "N": 256, "K": 4096, "dtype": "float32"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 4096) x (4096, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 4096, dtype=torch.float32, device='cuda') B = torch.randn(4096, 256, dtype=torch.float32, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchroniz...
matmul
NVIDIA A10G
{"gpu_name": "NVIDIA A10G", "cuda_cores": 9216, "tensor_cores": 288, "memory_gb": 24, "memory_bandwidth_gbps": 600, "base_clock_mhz": 885, "boost_clock_mhz": 1695, "sm_count": 80, "fp32_tflops": 31.2, "fp16_tflops": 62.5, "tdp_watts": 150, "compute_capability": 8.6, "l2_cache_mb": 6}
0.042147
536,870,912
8,650,752
62.060606
4
{"M": 256, "N": 256, "K": 4096, "dtype": "float32"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 4096) x (4096, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 4096, dtype=torch.float32, device='cuda') B = torch.randn(4096, 256, dtype=torch.float32, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchroniz...
matmul
NVIDIA A100 40GB
{"gpu_name": "NVIDIA A100 40GB", "cuda_cores": 6912, "tensor_cores": 432, "memory_gb": 40, "memory_bandwidth_gbps": 1555, "base_clock_mhz": 765, "boost_clock_mhz": 1410, "sm_count": 108, "fp32_tflops": 19.5, "fp16_tflops": 312, "tdp_watts": 400, "compute_capability": 8.0, "l2_cache_mb": 40}
0.087279
536,870,912
8,650,752
62.060606
4
{"M": 256, "N": 256, "K": 4096, "dtype": "float32"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 4096) x (4096, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 4096, dtype=torch.float32, device='cuda') B = torch.randn(4096, 256, dtype=torch.float32, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchroniz...
matmul
NVIDIA A100 80GB
{"gpu_name": "NVIDIA A100 80GB", "cuda_cores": 6912, "tensor_cores": 432, "memory_gb": 80, "memory_bandwidth_gbps": 2039, "base_clock_mhz": 765, "boost_clock_mhz": 1410, "sm_count": 108, "fp32_tflops": 19.5, "fp16_tflops": 312, "tdp_watts": 400, "compute_capability": 8.0, "l2_cache_mb": 40}
0.073421
536,870,912
8,650,752
62.060606
4
{"M": 256, "N": 256, "K": 4096, "dtype": "float32"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 4096) x (4096, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 4096, dtype=torch.float32, device='cuda') B = torch.randn(4096, 256, dtype=torch.float32, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchroniz...
matmul
NVIDIA L4
{"gpu_name": "NVIDIA L4", "cuda_cores": 7424, "tensor_cores": 232, "memory_gb": 24, "memory_bandwidth_gbps": 300, "base_clock_mhz": 795, "boost_clock_mhz": 2040, "sm_count": 58, "fp32_tflops": 30.3, "fp16_tflops": 121, "tdp_watts": 72, "compute_capability": 8.9, "l2_cache_mb": 48}
0.087809
536,870,912
8,650,752
62.060606
4
{"M": 256, "N": 256, "K": 4096, "dtype": "float32"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 4096) x (4096, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 4096, dtype=torch.float32, device='cuda') B = torch.randn(4096, 256, dtype=torch.float32, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchroniz...
matmul
NVIDIA L40S
{"gpu_name": "NVIDIA L40S", "cuda_cores": 18176, "tensor_cores": 568, "memory_gb": 48, "memory_bandwidth_gbps": 864, "base_clock_mhz": 1110, "boost_clock_mhz": 2520, "sm_count": 142, "fp32_tflops": 91.6, "fp16_tflops": 183.2, "tdp_watts": 350, "compute_capability": 8.9, "l2_cache_mb": 96}
0.062598
536,870,912
8,650,752
62.060606
4
{"M": 256, "N": 256, "K": 4096, "dtype": "float32"}
import torch def matmul_kernel(A, B): # Matrix multiplication: (256, 4096) x (4096, 256) -> (256, 256) C = torch.matmul(A, B) return C A = torch.randn(256, 4096, dtype=torch.float32, device='cuda') B = torch.randn(4096, 256, dtype=torch.float32, device='cuda') C = matmul_kernel(A, B) torch.cuda.synchroniz...
matmul
NVIDIA RTX 3090
{"gpu_name": "NVIDIA RTX 3090", "cuda_cores": 10496, "tensor_cores": 328, "memory_gb": 24, "memory_bandwidth_gbps": 936, "base_clock_mhz": 1395, "boost_clock_mhz": 1695, "sm_count": 82, "fp32_tflops": 35.6, "fp16_tflops": 71, "tdp_watts": 350, "compute_capability": 8.6, "l2_cache_mb": 6}
0.085504
536,870,912
8,650,752
62.060606
4
{"M": 256, "N": 256, "K": 4096, "dtype": "float32"}