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: (1024, 64) x (64, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 64, dtype=torch.float16, device='cuda')
B = torch.randn(64, 1024, 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.048699 | 134,217,728 | 2,359,296 | 56.888889 | 2 | {"M": 1024, "N": 1024, "K": 64, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 64) x (64, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 64, dtype=torch.float16, device='cuda')
B = torch.randn(64, 1024, 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.061046 | 134,217,728 | 2,359,296 | 56.888889 | 2 | {"M": 1024, "N": 1024, "K": 64, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 64) x (64, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 64, dtype=torch.float16, device='cuda')
B = torch.randn(64, 1024, 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.052616 | 134,217,728 | 2,359,296 | 56.888889 | 2 | {"M": 1024, "N": 1024, "K": 64, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 64) x (64, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 64, dtype=torch.float16, device='cuda')
B = torch.randn(64, 1024, 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.061199 | 134,217,728 | 2,359,296 | 56.888889 | 2 | {"M": 1024, "N": 1024, "K": 64, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 64) x (64, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 64, dtype=torch.float16, device='cuda')
B = torch.randn(64, 1024, 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.046522 | 134,217,728 | 2,359,296 | 56.888889 | 2 | {"M": 1024, "N": 1024, "K": 64, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 64) x (64, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 64, dtype=torch.float16, device='cuda')
B = torch.randn(64, 1024, 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.039606 | 134,217,728 | 2,359,296 | 56.888889 | 2 | {"M": 1024, "N": 1024, "K": 64, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 64) x (64, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 64, dtype=torch.float16, device='cuda')
B = torch.randn(64, 1024, 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.039482 | 134,217,728 | 2,359,296 | 56.888889 | 2 | {"M": 1024, "N": 1024, "K": 64, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 64) x (64, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 64, dtype=torch.float16, device='cuda')
B = torch.randn(64, 1024, 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.022892 | 134,217,728 | 2,359,296 | 56.888889 | 2 | {"M": 1024, "N": 1024, "K": 64, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 64) x (64, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 64, dtype=torch.float16, device='cuda')
B = torch.randn(64, 1024, 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.034559 | 134,217,728 | 2,359,296 | 56.888889 | 2 | {"M": 1024, "N": 1024, "K": 64, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 64) x (64, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 64, dtype=torch.float16, device='cuda')
B = torch.randn(64, 1024, 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.058982 | 134,217,728 | 2,359,296 | 56.888889 | 2 | {"M": 1024, "N": 1024, "K": 64, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 64) x (64, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 64, dtype=torch.float16, device='cuda')
B = torch.randn(64, 1024, 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.049439 | 134,217,728 | 2,359,296 | 56.888889 | 2 | {"M": 1024, "N": 1024, "K": 64, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 64) x (64, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 64, dtype=torch.float16, device='cuda')
B = torch.randn(64, 1024, 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.043551 | 134,217,728 | 2,359,296 | 56.888889 | 2 | {"M": 1024, "N": 1024, "K": 64, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 256) x (256, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 256, dtype=torch.float32, device='cuda')
B = torch.randn(256, 1024, dtype=torch.float32, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchron... | 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.109294 | 536,870,912 | 6,291,456 | 85.333333 | 4 | {"M": 1024, "N": 1024, "K": 256, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 256) x (256, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 256, dtype=torch.float32, device='cuda')
B = torch.randn(256, 1024, dtype=torch.float32, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchron... | 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.093999 | 536,870,912 | 6,291,456 | 85.333333 | 4 | {"M": 1024, "N": 1024, "K": 256, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 256) x (256, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 256, dtype=torch.float32, device='cuda')
B = torch.randn(256, 1024, dtype=torch.float32, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchron... | 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.063292 | 536,870,912 | 6,291,456 | 85.333333 | 4 | {"M": 1024, "N": 1024, "K": 256, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 256) x (256, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 256, dtype=torch.float32, device='cuda')
B = torch.randn(256, 1024, dtype=torch.float32, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchron... | 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.087529 | 536,870,912 | 6,291,456 | 85.333333 | 4 | {"M": 1024, "N": 1024, "K": 256, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 256) x (256, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 256, dtype=torch.float32, device='cuda')
B = torch.randn(256, 1024, dtype=torch.float32, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchron... | 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.070334 | 536,870,912 | 6,291,456 | 85.333333 | 4 | {"M": 1024, "N": 1024, "K": 256, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 256) x (256, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 256, dtype=torch.float32, device='cuda')
B = torch.randn(256, 1024, dtype=torch.float32, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchron... | 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.064036 | 536,870,912 | 6,291,456 | 85.333333 | 4 | {"M": 1024, "N": 1024, "K": 256, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 256) x (256, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 256, dtype=torch.float32, device='cuda')
B = torch.randn(256, 1024, dtype=torch.float32, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchron... | 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.066926 | 536,870,912 | 6,291,456 | 85.333333 | 4 | {"M": 1024, "N": 1024, "K": 256, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 256) x (256, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 256, dtype=torch.float32, device='cuda')
B = torch.randn(256, 1024, dtype=torch.float32, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchron... | 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.082135 | 536,870,912 | 6,291,456 | 85.333333 | 4 | {"M": 1024, "N": 1024, "K": 256, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 256) x (256, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 256, dtype=torch.float32, device='cuda')
B = torch.randn(256, 1024, dtype=torch.float32, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchron... | 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.044581 | 536,870,912 | 6,291,456 | 85.333333 | 4 | {"M": 1024, "N": 1024, "K": 256, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 256) x (256, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 256, dtype=torch.float32, device='cuda')
B = torch.randn(256, 1024, dtype=torch.float32, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchron... | 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.047356 | 536,870,912 | 6,291,456 | 85.333333 | 4 | {"M": 1024, "N": 1024, "K": 256, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 256) x (256, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 256, dtype=torch.float32, device='cuda')
B = torch.randn(256, 1024, dtype=torch.float32, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchron... | 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.071425 | 536,870,912 | 6,291,456 | 85.333333 | 4 | {"M": 1024, "N": 1024, "K": 256, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 256) x (256, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 256, dtype=torch.float32, device='cuda')
B = torch.randn(256, 1024, dtype=torch.float32, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchron... | 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.046251 | 536,870,912 | 6,291,456 | 85.333333 | 4 | {"M": 1024, "N": 1024, "K": 256, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 256) x (256, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 256, dtype=torch.float16, device='cuda')
B = torch.randn(256, 1024, dtype=torch.float16, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchron... | 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.042544 | 536,870,912 | 3,145,728 | 170.666667 | 2 | {"M": 1024, "N": 1024, "K": 256, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 256) x (256, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 256, dtype=torch.float16, device='cuda')
B = torch.randn(256, 1024, dtype=torch.float16, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchron... | 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.070506 | 536,870,912 | 3,145,728 | 170.666667 | 2 | {"M": 1024, "N": 1024, "K": 256, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 256) x (256, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 256, dtype=torch.float16, device='cuda')
B = torch.randn(256, 1024, dtype=torch.float16, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchron... | 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.07702 | 536,870,912 | 3,145,728 | 170.666667 | 2 | {"M": 1024, "N": 1024, "K": 256, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 256) x (256, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 256, dtype=torch.float16, device='cuda')
B = torch.randn(256, 1024, dtype=torch.float16, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchron... | 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.06398 | 536,870,912 | 3,145,728 | 170.666667 | 2 | {"M": 1024, "N": 1024, "K": 256, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 256) x (256, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 256, dtype=torch.float16, device='cuda')
B = torch.randn(256, 1024, dtype=torch.float16, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchron... | 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.040367 | 536,870,912 | 3,145,728 | 170.666667 | 2 | {"M": 1024, "N": 1024, "K": 256, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 256) x (256, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 256, dtype=torch.float16, device='cuda')
B = torch.randn(256, 1024, dtype=torch.float16, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchron... | 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.041316 | 536,870,912 | 3,145,728 | 170.666667 | 2 | {"M": 1024, "N": 1024, "K": 256, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 256) x (256, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 256, dtype=torch.float16, device='cuda')
B = torch.randn(256, 1024, dtype=torch.float16, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchron... | 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.04591 | 536,870,912 | 3,145,728 | 170.666667 | 2 | {"M": 1024, "N": 1024, "K": 256, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 256) x (256, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 256, dtype=torch.float16, device='cuda')
B = torch.randn(256, 1024, dtype=torch.float16, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchron... | 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.059501 | 536,870,912 | 3,145,728 | 170.666667 | 2 | {"M": 1024, "N": 1024, "K": 256, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 256) x (256, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 256, dtype=torch.float16, device='cuda')
B = torch.randn(256, 1024, dtype=torch.float16, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchron... | 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.054678 | 536,870,912 | 3,145,728 | 170.666667 | 2 | {"M": 1024, "N": 1024, "K": 256, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 256) x (256, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 256, dtype=torch.float16, device='cuda')
B = torch.randn(256, 1024, dtype=torch.float16, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchron... | 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.037822 | 536,870,912 | 3,145,728 | 170.666667 | 2 | {"M": 1024, "N": 1024, "K": 256, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 256) x (256, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 256, dtype=torch.float16, device='cuda')
B = torch.randn(256, 1024, dtype=torch.float16, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchron... | 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.041822 | 536,870,912 | 3,145,728 | 170.666667 | 2 | {"M": 1024, "N": 1024, "K": 256, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 256) x (256, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 256, dtype=torch.float16, device='cuda')
B = torch.randn(256, 1024, dtype=torch.float16, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchron... | 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.060628 | 536,870,912 | 3,145,728 | 170.666667 | 2 | {"M": 1024, "N": 1024, "K": 256, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 512) x (512, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 512, dtype=torch.float32, device='cuda')
B = torch.randn(512, 1024, dtype=torch.float32, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchron... | 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.237906 | 1,073,741,824 | 8,388,608 | 128 | 4 | {"M": 1024, "N": 1024, "K": 512, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 512) x (512, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 512, dtype=torch.float32, device='cuda')
B = torch.randn(512, 1024, dtype=torch.float32, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchron... | 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.160085 | 1,073,741,824 | 8,388,608 | 128 | 4 | {"M": 1024, "N": 1024, "K": 512, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 512) x (512, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 512, dtype=torch.float32, device='cuda')
B = torch.randn(512, 1024, dtype=torch.float32, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchron... | 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.076331 | 1,073,741,824 | 8,388,608 | 128 | 4 | {"M": 1024, "N": 1024, "K": 512, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 512) x (512, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 512, dtype=torch.float32, device='cuda')
B = torch.randn(512, 1024, dtype=torch.float32, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchron... | 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.121702 | 1,073,741,824 | 8,388,608 | 128 | 4 | {"M": 1024, "N": 1024, "K": 512, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 512) x (512, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 512, dtype=torch.float32, device='cuda')
B = torch.randn(512, 1024, dtype=torch.float32, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchron... | 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.132946 | 1,073,741,824 | 8,388,608 | 128 | 4 | {"M": 1024, "N": 1024, "K": 512, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 512) x (512, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 512, dtype=torch.float32, device='cuda')
B = torch.randn(512, 1024, dtype=torch.float32, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchron... | 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.098594 | 1,073,741,824 | 8,388,608 | 128 | 4 | {"M": 1024, "N": 1024, "K": 512, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 512) x (512, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 512, dtype=torch.float32, device='cuda')
B = torch.randn(512, 1024, dtype=torch.float32, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchron... | 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.070723 | 1,073,741,824 | 8,388,608 | 128 | 4 | {"M": 1024, "N": 1024, "K": 512, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 512) x (512, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 512, dtype=torch.float32, device='cuda')
B = torch.randn(512, 1024, dtype=torch.float32, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchron... | 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.084607 | 1,073,741,824 | 8,388,608 | 128 | 4 | {"M": 1024, "N": 1024, "K": 512, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 512) x (512, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 512, dtype=torch.float32, device='cuda')
B = torch.randn(512, 1024, dtype=torch.float32, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchron... | 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.06914 | 1,073,741,824 | 8,388,608 | 128 | 4 | {"M": 1024, "N": 1024, "K": 512, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 512) x (512, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 512, dtype=torch.float32, device='cuda')
B = torch.randn(512, 1024, dtype=torch.float32, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchron... | 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.069233 | 1,073,741,824 | 8,388,608 | 128 | 4 | {"M": 1024, "N": 1024, "K": 512, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 512) x (512, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 512, dtype=torch.float32, device='cuda')
B = torch.randn(512, 1024, dtype=torch.float32, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchron... | 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.043189 | 1,073,741,824 | 8,388,608 | 128 | 4 | {"M": 1024, "N": 1024, "K": 512, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 512) x (512, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 512, dtype=torch.float32, device='cuda')
B = torch.randn(512, 1024, dtype=torch.float32, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchron... | 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.063938 | 1,073,741,824 | 8,388,608 | 128 | 4 | {"M": 1024, "N": 1024, "K": 512, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 512) x (512, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 512, dtype=torch.float16, device='cuda')
B = torch.randn(512, 1024, dtype=torch.float16, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchron... | 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.079728 | 1,073,741,824 | 4,194,304 | 256 | 2 | {"M": 1024, "N": 1024, "K": 512, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 512) x (512, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 512, dtype=torch.float16, device='cuda')
B = torch.randn(512, 1024, dtype=torch.float16, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchron... | 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.056971 | 1,073,741,824 | 4,194,304 | 256 | 2 | {"M": 1024, "N": 1024, "K": 512, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 512) x (512, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 512, dtype=torch.float16, device='cuda')
B = torch.randn(512, 1024, dtype=torch.float16, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchron... | 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.053613 | 1,073,741,824 | 4,194,304 | 256 | 2 | {"M": 1024, "N": 1024, "K": 512, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 512) x (512, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 512, dtype=torch.float16, device='cuda')
B = torch.randn(512, 1024, dtype=torch.float16, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchron... | 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.056925 | 1,073,741,824 | 4,194,304 | 256 | 2 | {"M": 1024, "N": 1024, "K": 512, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 512) x (512, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 512, dtype=torch.float16, device='cuda')
B = torch.randn(512, 1024, dtype=torch.float16, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchron... | 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.036418 | 1,073,741,824 | 4,194,304 | 256 | 2 | {"M": 1024, "N": 1024, "K": 512, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 512) x (512, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 512, dtype=torch.float16, device='cuda')
B = torch.randn(512, 1024, dtype=torch.float16, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchron... | 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.045135 | 1,073,741,824 | 4,194,304 | 256 | 2 | {"M": 1024, "N": 1024, "K": 512, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 512) x (512, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 512, dtype=torch.float16, device='cuda')
B = torch.randn(512, 1024, dtype=torch.float16, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchron... | 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.030895 | 1,073,741,824 | 4,194,304 | 256 | 2 | {"M": 1024, "N": 1024, "K": 512, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 512) x (512, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 512, dtype=torch.float16, device='cuda')
B = torch.randn(512, 1024, dtype=torch.float16, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchron... | 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.078899 | 1,073,741,824 | 4,194,304 | 256 | 2 | {"M": 1024, "N": 1024, "K": 512, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 512) x (512, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 512, dtype=torch.float16, device='cuda')
B = torch.randn(512, 1024, dtype=torch.float16, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchron... | 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.058504 | 1,073,741,824 | 4,194,304 | 256 | 2 | {"M": 1024, "N": 1024, "K": 512, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 512) x (512, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 512, dtype=torch.float16, device='cuda')
B = torch.randn(512, 1024, dtype=torch.float16, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchron... | 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.030952 | 1,073,741,824 | 4,194,304 | 256 | 2 | {"M": 1024, "N": 1024, "K": 512, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 512) x (512, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 512, dtype=torch.float16, device='cuda')
B = torch.randn(512, 1024, dtype=torch.float16, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchron... | 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.044491 | 1,073,741,824 | 4,194,304 | 256 | 2 | {"M": 1024, "N": 1024, "K": 512, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 512) x (512, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 512, dtype=torch.float16, device='cuda')
B = torch.randn(512, 1024, dtype=torch.float16, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchron... | 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.064209 | 1,073,741,824 | 4,194,304 | 256 | 2 | {"M": 1024, "N": 1024, "K": 512, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 1024) x (1024, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 1024, dtype=torch.float32, device='cuda')
B = torch.randn(1024, 1024, dtype=torch.float32, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.sync... | 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.35283 | 2,147,483,648 | 12,582,912 | 170.666667 | 4 | {"M": 1024, "N": 1024, "K": 1024, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 1024) x (1024, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 1024, dtype=torch.float32, device='cuda')
B = torch.randn(1024, 1024, dtype=torch.float32, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.sync... | 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.228476 | 2,147,483,648 | 12,582,912 | 170.666667 | 4 | {"M": 1024, "N": 1024, "K": 1024, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 1024) x (1024, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 1024, dtype=torch.float32, device='cuda')
B = torch.randn(1024, 1024, dtype=torch.float32, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.sync... | 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.131517 | 2,147,483,648 | 12,582,912 | 170.666667 | 4 | {"M": 1024, "N": 1024, "K": 1024, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 1024) x (1024, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 1024, dtype=torch.float32, device='cuda')
B = torch.randn(1024, 1024, dtype=torch.float32, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.sync... | 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.232225 | 2,147,483,648 | 12,582,912 | 170.666667 | 4 | {"M": 1024, "N": 1024, "K": 1024, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 1024) x (1024, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 1024, dtype=torch.float32, device='cuda')
B = torch.randn(1024, 1024, dtype=torch.float32, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.sync... | 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.188703 | 2,147,483,648 | 12,582,912 | 170.666667 | 4 | {"M": 1024, "N": 1024, "K": 1024, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 1024) x (1024, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 1024, dtype=torch.float32, device='cuda')
B = torch.randn(1024, 1024, dtype=torch.float32, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.sync... | 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.140882 | 2,147,483,648 | 12,582,912 | 170.666667 | 4 | {"M": 1024, "N": 1024, "K": 1024, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 1024) x (1024, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 1024, dtype=torch.float32, device='cuda')
B = torch.randn(1024, 1024, dtype=torch.float32, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.sync... | 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.094347 | 2,147,483,648 | 12,582,912 | 170.666667 | 4 | {"M": 1024, "N": 1024, "K": 1024, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 1024) x (1024, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 1024, dtype=torch.float32, device='cuda')
B = torch.randn(1024, 1024, dtype=torch.float32, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.sync... | 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.176524 | 2,147,483,648 | 12,582,912 | 170.666667 | 4 | {"M": 1024, "N": 1024, "K": 1024, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 1024) x (1024, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 1024, dtype=torch.float32, device='cuda')
B = torch.randn(1024, 1024, dtype=torch.float32, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.sync... | 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.066619 | 2,147,483,648 | 12,582,912 | 170.666667 | 4 | {"M": 1024, "N": 1024, "K": 1024, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 1024) x (1024, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 1024, dtype=torch.float32, device='cuda')
B = torch.randn(1024, 1024, dtype=torch.float32, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.sync... | 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.068516 | 2,147,483,648 | 12,582,912 | 170.666667 | 4 | {"M": 1024, "N": 1024, "K": 1024, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 1024) x (1024, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 1024, dtype=torch.float32, device='cuda')
B = torch.randn(1024, 1024, dtype=torch.float32, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.sync... | 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.118423 | 2,147,483,648 | 12,582,912 | 170.666667 | 4 | {"M": 1024, "N": 1024, "K": 1024, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 1024) x (1024, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 1024, dtype=torch.float32, device='cuda')
B = torch.randn(1024, 1024, dtype=torch.float32, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.sync... | 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.078148 | 2,147,483,648 | 12,582,912 | 170.666667 | 4 | {"M": 1024, "N": 1024, "K": 1024, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 1024) x (1024, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 1024, dtype=torch.float16, device='cuda')
B = torch.randn(1024, 1024, dtype=torch.float16, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.sync... | 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.084896 | 2,147,483,648 | 6,291,456 | 341.333333 | 2 | {"M": 1024, "N": 1024, "K": 1024, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 1024) x (1024, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 1024, dtype=torch.float16, device='cuda')
B = torch.randn(1024, 1024, dtype=torch.float16, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.sync... | 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.055558 | 2,147,483,648 | 6,291,456 | 341.333333 | 2 | {"M": 1024, "N": 1024, "K": 1024, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 1024) x (1024, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 1024, dtype=torch.float16, device='cuda')
B = torch.randn(1024, 1024, dtype=torch.float16, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.sync... | 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.080058 | 2,147,483,648 | 6,291,456 | 341.333333 | 2 | {"M": 1024, "N": 1024, "K": 1024, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 1024) x (1024, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 1024, dtype=torch.float16, device='cuda')
B = torch.randn(1024, 1024, dtype=torch.float16, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.sync... | 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.042093 | 2,147,483,648 | 6,291,456 | 341.333333 | 2 | {"M": 1024, "N": 1024, "K": 1024, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 1024) x (1024, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 1024, dtype=torch.float16, device='cuda')
B = torch.randn(1024, 1024, dtype=torch.float16, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.sync... | 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.042645 | 2,147,483,648 | 6,291,456 | 341.333333 | 2 | {"M": 1024, "N": 1024, "K": 1024, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 1024) x (1024, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 1024, dtype=torch.float16, device='cuda')
B = torch.randn(1024, 1024, dtype=torch.float16, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.sync... | 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.074869 | 2,147,483,648 | 6,291,456 | 341.333333 | 2 | {"M": 1024, "N": 1024, "K": 1024, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 1024) x (1024, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 1024, dtype=torch.float16, device='cuda')
B = torch.randn(1024, 1024, dtype=torch.float16, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.sync... | 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.05653 | 2,147,483,648 | 6,291,456 | 341.333333 | 2 | {"M": 1024, "N": 1024, "K": 1024, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 1024) x (1024, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 1024, dtype=torch.float16, device='cuda')
B = torch.randn(1024, 1024, dtype=torch.float16, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.sync... | 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.091822 | 2,147,483,648 | 6,291,456 | 341.333333 | 2 | {"M": 1024, "N": 1024, "K": 1024, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 1024) x (1024, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 1024, dtype=torch.float16, device='cuda')
B = torch.randn(1024, 1024, dtype=torch.float16, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.sync... | 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.045238 | 2,147,483,648 | 6,291,456 | 341.333333 | 2 | {"M": 1024, "N": 1024, "K": 1024, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 1024) x (1024, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 1024, dtype=torch.float16, device='cuda')
B = torch.randn(1024, 1024, dtype=torch.float16, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.sync... | 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.035639 | 2,147,483,648 | 6,291,456 | 341.333333 | 2 | {"M": 1024, "N": 1024, "K": 1024, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 1024) x (1024, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 1024, dtype=torch.float16, device='cuda')
B = torch.randn(1024, 1024, dtype=torch.float16, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.sync... | 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.039425 | 2,147,483,648 | 6,291,456 | 341.333333 | 2 | {"M": 1024, "N": 1024, "K": 1024, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 1024) x (1024, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 1024, dtype=torch.float16, device='cuda')
B = torch.randn(1024, 1024, dtype=torch.float16, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.sync... | 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.092778 | 2,147,483,648 | 6,291,456 | 341.333333 | 2 | {"M": 1024, "N": 1024, "K": 1024, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 2048) x (2048, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 2048, dtype=torch.float32, device='cuda')
B = torch.randn(2048, 1024, dtype=torch.float32, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.sync... | 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.817871 | 4,294,967,296 | 20,971,520 | 204.8 | 4 | {"M": 1024, "N": 1024, "K": 2048, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 2048) x (2048, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 2048, dtype=torch.float32, device='cuda')
B = torch.randn(2048, 1024, dtype=torch.float32, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.sync... | 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.388349 | 4,294,967,296 | 20,971,520 | 204.8 | 4 | {"M": 1024, "N": 1024, "K": 2048, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 2048) x (2048, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 2048, dtype=torch.float32, device='cuda')
B = torch.randn(2048, 1024, dtype=torch.float32, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.sync... | 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.230848 | 4,294,967,296 | 20,971,520 | 204.8 | 4 | {"M": 1024, "N": 1024, "K": 2048, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 2048) x (2048, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 2048, dtype=torch.float32, device='cuda')
B = torch.randn(2048, 1024, dtype=torch.float32, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.sync... | 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.373544 | 4,294,967,296 | 20,971,520 | 204.8 | 4 | {"M": 1024, "N": 1024, "K": 2048, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 2048) x (2048, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 2048, dtype=torch.float32, device='cuda')
B = torch.randn(2048, 1024, dtype=torch.float32, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.sync... | 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.29978 | 4,294,967,296 | 20,971,520 | 204.8 | 4 | {"M": 1024, "N": 1024, "K": 2048, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 2048) x (2048, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 2048, dtype=torch.float32, device='cuda')
B = torch.randn(2048, 1024, dtype=torch.float32, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.sync... | 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.227857 | 4,294,967,296 | 20,971,520 | 204.8 | 4 | {"M": 1024, "N": 1024, "K": 2048, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 2048) x (2048, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 2048, dtype=torch.float32, device='cuda')
B = torch.randn(2048, 1024, dtype=torch.float32, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.sync... | 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.129022 | 4,294,967,296 | 20,971,520 | 204.8 | 4 | {"M": 1024, "N": 1024, "K": 2048, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 2048) x (2048, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 2048, dtype=torch.float32, device='cuda')
B = torch.randn(2048, 1024, dtype=torch.float32, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.sync... | 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.219344 | 4,294,967,296 | 20,971,520 | 204.8 | 4 | {"M": 1024, "N": 1024, "K": 2048, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 2048) x (2048, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 2048, dtype=torch.float32, device='cuda')
B = torch.randn(2048, 1024, dtype=torch.float32, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.sync... | 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.104627 | 4,294,967,296 | 20,971,520 | 204.8 | 4 | {"M": 1024, "N": 1024, "K": 2048, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 2048) x (2048, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 2048, dtype=torch.float32, device='cuda')
B = torch.randn(2048, 1024, dtype=torch.float32, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.sync... | 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.127881 | 4,294,967,296 | 20,971,520 | 204.8 | 4 | {"M": 1024, "N": 1024, "K": 2048, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 2048) x (2048, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 2048, dtype=torch.float32, device='cuda')
B = torch.randn(2048, 1024, dtype=torch.float32, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.sync... | 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.140761 | 4,294,967,296 | 20,971,520 | 204.8 | 4 | {"M": 1024, "N": 1024, "K": 2048, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 2048) x (2048, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 2048, dtype=torch.float32, device='cuda')
B = torch.randn(2048, 1024, dtype=torch.float32, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.sync... | 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.176123 | 4,294,967,296 | 20,971,520 | 204.8 | 4 | {"M": 1024, "N": 1024, "K": 2048, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 2048) x (2048, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 2048, dtype=torch.float16, device='cuda')
B = torch.randn(2048, 1024, dtype=torch.float16, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.sync... | 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.123339 | 4,294,967,296 | 10,485,760 | 409.6 | 2 | {"M": 1024, "N": 1024, "K": 2048, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 2048) x (2048, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 2048, dtype=torch.float16, device='cuda')
B = torch.randn(2048, 1024, dtype=torch.float16, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.sync... | 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.09013 | 4,294,967,296 | 10,485,760 | 409.6 | 2 | {"M": 1024, "N": 1024, "K": 2048, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 2048) x (2048, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 2048, dtype=torch.float16, device='cuda')
B = torch.randn(2048, 1024, dtype=torch.float16, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.sync... | 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.13749 | 4,294,967,296 | 10,485,760 | 409.6 | 2 | {"M": 1024, "N": 1024, "K": 2048, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (1024, 2048) x (2048, 1024) -> (1024, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(1024, 2048, dtype=torch.float16, device='cuda')
B = torch.randn(2048, 1024, dtype=torch.float16, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.sync... | 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.075599 | 4,294,967,296 | 10,485,760 | 409.6 | 2 | {"M": 1024, "N": 1024, "K": 2048, "dtype": "float16"} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.