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: (4096, 1024) x (1024, 1024) -> (4096, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 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.241207 | 8,589,934,592 | 18,874,368 | 455.111111 | 2 | {"M": 4096, "N": 1024, "K": 1024, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 1024) x (1024, 1024) -> (4096, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 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.107284 | 8,589,934,592 | 18,874,368 | 455.111111 | 2 | {"M": 4096, "N": 1024, "K": 1024, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 1024) x (1024, 1024) -> (4096, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 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.227852 | 8,589,934,592 | 18,874,368 | 455.111111 | 2 | {"M": 4096, "N": 1024, "K": 1024, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 1024) x (1024, 1024) -> (4096, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 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.080669 | 8,589,934,592 | 18,874,368 | 455.111111 | 2 | {"M": 4096, "N": 1024, "K": 1024, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 1024) x (1024, 1024) -> (4096, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 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.074434 | 8,589,934,592 | 18,874,368 | 455.111111 | 2 | {"M": 4096, "N": 1024, "K": 1024, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 1024) x (1024, 1024) -> (4096, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 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.1405 | 8,589,934,592 | 18,874,368 | 455.111111 | 2 | {"M": 4096, "N": 1024, "K": 1024, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 1024) x (1024, 1024) -> (4096, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 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.08476 | 8,589,934,592 | 18,874,368 | 455.111111 | 2 | {"M": 4096, "N": 1024, "K": 1024, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 1024) x (1024, 1024) -> (4096, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 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.214758 | 8,589,934,592 | 18,874,368 | 455.111111 | 2 | {"M": 4096, "N": 1024, "K": 1024, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 1024) x (1024, 1024) -> (4096, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 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.133462 | 8,589,934,592 | 18,874,368 | 455.111111 | 2 | {"M": 4096, "N": 1024, "K": 1024, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 1024) x (1024, 1024) -> (4096, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 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.068752 | 8,589,934,592 | 18,874,368 | 455.111111 | 2 | {"M": 4096, "N": 1024, "K": 1024, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 1024) x (1024, 1024) -> (4096, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 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.059614 | 8,589,934,592 | 18,874,368 | 455.111111 | 2 | {"M": 4096, "N": 1024, "K": 1024, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 1024) x (1024, 1024) -> (4096, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 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.177326 | 8,589,934,592 | 18,874,368 | 455.111111 | 2 | {"M": 4096, "N": 1024, "K": 1024, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 2048) x (2048, 1024) -> (4096, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 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} | 2.499548 | 17,179,869,184 | 58,720,256 | 292.571429 | 4 | {"M": 4096, "N": 1024, "K": 2048, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 2048) x (2048, 1024) -> (4096, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 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} | 1.98572 | 17,179,869,184 | 58,720,256 | 292.571429 | 4 | {"M": 4096, "N": 1024, "K": 2048, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 2048) x (2048, 1024) -> (4096, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 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.575043 | 17,179,869,184 | 58,720,256 | 292.571429 | 4 | {"M": 4096, "N": 1024, "K": 2048, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 2048) x (2048, 1024) -> (4096, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 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} | 1.144307 | 17,179,869,184 | 58,720,256 | 292.571429 | 4 | {"M": 4096, "N": 1024, "K": 2048, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 2048) x (2048, 1024) -> (4096, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 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} | 1.2934 | 17,179,869,184 | 58,720,256 | 292.571429 | 4 | {"M": 4096, "N": 1024, "K": 2048, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 2048) x (2048, 1024) -> (4096, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 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.655793 | 17,179,869,184 | 58,720,256 | 292.571429 | 4 | {"M": 4096, "N": 1024, "K": 2048, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 2048) x (2048, 1024) -> (4096, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 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.326398 | 17,179,869,184 | 58,720,256 | 292.571429 | 4 | {"M": 4096, "N": 1024, "K": 2048, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 2048) x (2048, 1024) -> (4096, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 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.784951 | 17,179,869,184 | 58,720,256 | 292.571429 | 4 | {"M": 4096, "N": 1024, "K": 2048, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 2048) x (2048, 1024) -> (4096, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 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.318544 | 17,179,869,184 | 58,720,256 | 292.571429 | 4 | {"M": 4096, "N": 1024, "K": 2048, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 2048) x (2048, 1024) -> (4096, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 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.340162 | 17,179,869,184 | 58,720,256 | 292.571429 | 4 | {"M": 4096, "N": 1024, "K": 2048, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 2048) x (2048, 1024) -> (4096, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 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.402931 | 17,179,869,184 | 58,720,256 | 292.571429 | 4 | {"M": 4096, "N": 1024, "K": 2048, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 2048) x (2048, 1024) -> (4096, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 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.516272 | 17,179,869,184 | 58,720,256 | 292.571429 | 4 | {"M": 4096, "N": 1024, "K": 2048, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 2048) x (2048, 1024) -> (4096, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 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.450079 | 17,179,869,184 | 29,360,128 | 585.142857 | 2 | {"M": 4096, "N": 1024, "K": 2048, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 2048) x (2048, 1024) -> (4096, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 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.189099 | 17,179,869,184 | 29,360,128 | 585.142857 | 2 | {"M": 4096, "N": 1024, "K": 2048, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 2048) x (2048, 1024) -> (4096, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 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.397184 | 17,179,869,184 | 29,360,128 | 585.142857 | 2 | {"M": 4096, "N": 1024, "K": 2048, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 2048) x (2048, 1024) -> (4096, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 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.119302 | 17,179,869,184 | 29,360,128 | 585.142857 | 2 | {"M": 4096, "N": 1024, "K": 2048, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 2048) x (2048, 1024) -> (4096, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 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 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.127685 | 17,179,869,184 | 29,360,128 | 585.142857 | 2 | {"M": 4096, "N": 1024, "K": 2048, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 2048) x (2048, 1024) -> (4096, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 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 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.256753 | 17,179,869,184 | 29,360,128 | 585.142857 | 2 | {"M": 4096, "N": 1024, "K": 2048, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 2048) x (2048, 1024) -> (4096, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 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 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.180717 | 17,179,869,184 | 29,360,128 | 585.142857 | 2 | {"M": 4096, "N": 1024, "K": 2048, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 2048) x (2048, 1024) -> (4096, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 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 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.4453 | 17,179,869,184 | 29,360,128 | 585.142857 | 2 | {"M": 4096, "N": 1024, "K": 2048, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 2048) x (2048, 1024) -> (4096, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 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 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.192345 | 17,179,869,184 | 29,360,128 | 585.142857 | 2 | {"M": 4096, "N": 1024, "K": 2048, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 2048) x (2048, 1024) -> (4096, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 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 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.07071 | 17,179,869,184 | 29,360,128 | 585.142857 | 2 | {"M": 4096, "N": 1024, "K": 2048, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 2048) x (2048, 1024) -> (4096, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 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 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.053126 | 17,179,869,184 | 29,360,128 | 585.142857 | 2 | {"M": 4096, "N": 1024, "K": 2048, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 2048) x (2048, 1024) -> (4096, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 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 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.389247 | 17,179,869,184 | 29,360,128 | 585.142857 | 2 | {"M": 4096, "N": 1024, "K": 2048, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 4096) x (4096, 1024) -> (4096, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 4096, dtype=torch.float32, device='cuda')
B = torch.randn(4096, 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} | 6.86505 | 34,359,738,368 | 100,663,296 | 341.333333 | 4 | {"M": 4096, "N": 1024, "K": 4096, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 4096) x (4096, 1024) -> (4096, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 4096, dtype=torch.float32, device='cuda')
B = torch.randn(4096, 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} | 2.736979 | 34,359,738,368 | 100,663,296 | 341.333333 | 4 | {"M": 4096, "N": 1024, "K": 4096, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 4096) x (4096, 1024) -> (4096, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 4096, dtype=torch.float32, device='cuda')
B = torch.randn(4096, 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} | 1.417795 | 34,359,738,368 | 100,663,296 | 341.333333 | 4 | {"M": 4096, "N": 1024, "K": 4096, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 4096) x (4096, 1024) -> (4096, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 4096, dtype=torch.float32, device='cuda')
B = torch.randn(4096, 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} | 2.16418 | 34,359,738,368 | 100,663,296 | 341.333333 | 4 | {"M": 4096, "N": 1024, "K": 4096, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 4096) x (4096, 1024) -> (4096, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 4096, dtype=torch.float32, device='cuda')
B = torch.randn(4096, 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} | 2.895387 | 34,359,738,368 | 100,663,296 | 341.333333 | 4 | {"M": 4096, "N": 1024, "K": 4096, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 4096) x (4096, 1024) -> (4096, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 4096, dtype=torch.float32, device='cuda')
B = torch.randn(4096, 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} | 1.750932 | 34,359,738,368 | 100,663,296 | 341.333333 | 4 | {"M": 4096, "N": 1024, "K": 4096, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 4096) x (4096, 1024) -> (4096, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 4096, dtype=torch.float32, device='cuda')
B = torch.randn(4096, 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.585588 | 34,359,738,368 | 100,663,296 | 341.333333 | 4 | {"M": 4096, "N": 1024, "K": 4096, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 4096) x (4096, 1024) -> (4096, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 4096, dtype=torch.float32, device='cuda')
B = torch.randn(4096, 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} | 1.235163 | 34,359,738,368 | 100,663,296 | 341.333333 | 4 | {"M": 4096, "N": 1024, "K": 4096, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 4096) x (4096, 1024) -> (4096, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 4096, dtype=torch.float32, device='cuda')
B = torch.randn(4096, 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.652773 | 34,359,738,368 | 100,663,296 | 341.333333 | 4 | {"M": 4096, "N": 1024, "K": 4096, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 4096) x (4096, 1024) -> (4096, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 4096, dtype=torch.float32, device='cuda')
B = torch.randn(4096, 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.852373 | 34,359,738,368 | 100,663,296 | 341.333333 | 4 | {"M": 4096, "N": 1024, "K": 4096, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 4096) x (4096, 1024) -> (4096, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 4096, dtype=torch.float32, device='cuda')
B = torch.randn(4096, 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} | 1.057691 | 34,359,738,368 | 100,663,296 | 341.333333 | 4 | {"M": 4096, "N": 1024, "K": 4096, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 4096) x (4096, 1024) -> (4096, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 4096, dtype=torch.float32, device='cuda')
B = torch.randn(4096, 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} | 1.091505 | 34,359,738,368 | 100,663,296 | 341.333333 | 4 | {"M": 4096, "N": 1024, "K": 4096, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 4096) x (4096, 1024) -> (4096, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 4096, dtype=torch.float16, device='cuda')
B = torch.randn(4096, 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.897423 | 34,359,738,368 | 50,331,648 | 682.666667 | 2 | {"M": 4096, "N": 1024, "K": 4096, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 4096) x (4096, 1024) -> (4096, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 4096, dtype=torch.float16, device='cuda')
B = torch.randn(4096, 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.580201 | 34,359,738,368 | 50,331,648 | 682.666667 | 2 | {"M": 4096, "N": 1024, "K": 4096, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 4096) x (4096, 1024) -> (4096, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 4096, dtype=torch.float16, device='cuda')
B = torch.randn(4096, 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.612903 | 34,359,738,368 | 50,331,648 | 682.666667 | 2 | {"M": 4096, "N": 1024, "K": 4096, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 4096) x (4096, 1024) -> (4096, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 4096, dtype=torch.float16, device='cuda')
B = torch.randn(4096, 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.192202 | 34,359,738,368 | 50,331,648 | 682.666667 | 2 | {"M": 4096, "N": 1024, "K": 4096, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 4096) x (4096, 1024) -> (4096, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 4096, dtype=torch.float16, device='cuda')
B = torch.randn(4096, 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.200954 | 34,359,738,368 | 50,331,648 | 682.666667 | 2 | {"M": 4096, "N": 1024, "K": 4096, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 4096) x (4096, 1024) -> (4096, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 4096, dtype=torch.float16, device='cuda')
B = torch.randn(4096, 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.365539 | 34,359,738,368 | 50,331,648 | 682.666667 | 2 | {"M": 4096, "N": 1024, "K": 4096, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 4096) x (4096, 1024) -> (4096, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 4096, dtype=torch.float16, device='cuda')
B = torch.randn(4096, 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.24355 | 34,359,738,368 | 50,331,648 | 682.666667 | 2 | {"M": 4096, "N": 1024, "K": 4096, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 4096) x (4096, 1024) -> (4096, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 4096, dtype=torch.float16, device='cuda')
B = torch.randn(4096, 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.774574 | 34,359,738,368 | 50,331,648 | 682.666667 | 2 | {"M": 4096, "N": 1024, "K": 4096, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 4096) x (4096, 1024) -> (4096, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 4096, dtype=torch.float16, device='cuda')
B = torch.randn(4096, 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.285006 | 34,359,738,368 | 50,331,648 | 682.666667 | 2 | {"M": 4096, "N": 1024, "K": 4096, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 4096) x (4096, 1024) -> (4096, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 4096, dtype=torch.float16, device='cuda')
B = torch.randn(4096, 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.068186 | 34,359,738,368 | 50,331,648 | 682.666667 | 2 | {"M": 4096, "N": 1024, "K": 4096, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 4096) x (4096, 1024) -> (4096, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 4096, dtype=torch.float16, device='cuda')
B = torch.randn(4096, 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.080759 | 34,359,738,368 | 50,331,648 | 682.666667 | 2 | {"M": 4096, "N": 1024, "K": 4096, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 4096) x (4096, 1024) -> (4096, 1024)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 4096, dtype=torch.float16, device='cuda')
B = torch.randn(4096, 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.679373 | 34,359,738,368 | 50,331,648 | 682.666667 | 2 | {"M": 4096, "N": 1024, "K": 4096, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 64) x (64, 2048) -> (4096, 2048)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 64, dtype=torch.float32, device='cuda')
B = torch.randn(64, 2048, 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.225888 | 1,073,741,824 | 35,127,296 | 30.567164 | 4 | {"M": 4096, "N": 2048, "K": 64, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 64) x (64, 2048) -> (4096, 2048)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 64, dtype=torch.float32, device='cuda')
B = torch.randn(64, 2048, 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.130248 | 1,073,741,824 | 35,127,296 | 30.567164 | 4 | {"M": 4096, "N": 2048, "K": 64, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 64) x (64, 2048) -> (4096, 2048)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 64, dtype=torch.float32, device='cuda')
B = torch.randn(64, 2048, 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.16971 | 1,073,741,824 | 35,127,296 | 30.567164 | 4 | {"M": 4096, "N": 2048, "K": 64, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 64) x (64, 2048) -> (4096, 2048)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 64, dtype=torch.float32, device='cuda')
B = torch.randn(64, 2048, 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.122738 | 1,073,741,824 | 35,127,296 | 30.567164 | 4 | {"M": 4096, "N": 2048, "K": 64, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 64) x (64, 2048) -> (4096, 2048)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 64, dtype=torch.float32, device='cuda')
B = torch.randn(64, 2048, 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.110531 | 1,073,741,824 | 35,127,296 | 30.567164 | 4 | {"M": 4096, "N": 2048, "K": 64, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 64) x (64, 2048) -> (4096, 2048)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 64, dtype=torch.float32, device='cuda')
B = torch.randn(64, 2048, 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.178603 | 1,073,741,824 | 35,127,296 | 30.567164 | 4 | {"M": 4096, "N": 2048, "K": 64, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 64) x (64, 2048) -> (4096, 2048)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 64, dtype=torch.float32, device='cuda')
B = torch.randn(64, 2048, 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.084755 | 1,073,741,824 | 35,127,296 | 30.567164 | 4 | {"M": 4096, "N": 2048, "K": 64, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 64) x (64, 2048) -> (4096, 2048)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 64, dtype=torch.float32, device='cuda')
B = torch.randn(64, 2048, 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.101456 | 1,073,741,824 | 35,127,296 | 30.567164 | 4 | {"M": 4096, "N": 2048, "K": 64, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 64) x (64, 2048) -> (4096, 2048)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 64, dtype=torch.float32, device='cuda')
B = torch.randn(64, 2048, 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.070117 | 1,073,741,824 | 35,127,296 | 30.567164 | 4 | {"M": 4096, "N": 2048, "K": 64, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 64) x (64, 2048) -> (4096, 2048)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 64, dtype=torch.float32, device='cuda')
B = torch.randn(64, 2048, 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.078882 | 1,073,741,824 | 35,127,296 | 30.567164 | 4 | {"M": 4096, "N": 2048, "K": 64, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 64) x (64, 2048) -> (4096, 2048)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 64, dtype=torch.float32, device='cuda')
B = torch.randn(64, 2048, 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.056245 | 1,073,741,824 | 35,127,296 | 30.567164 | 4 | {"M": 4096, "N": 2048, "K": 64, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 64) x (64, 2048) -> (4096, 2048)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 64, dtype=torch.float32, device='cuda')
B = torch.randn(64, 2048, 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.142782 | 1,073,741,824 | 35,127,296 | 30.567164 | 4 | {"M": 4096, "N": 2048, "K": 64, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 64) x (64, 2048) -> (4096, 2048)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 64, dtype=torch.float16, device='cuda')
B = torch.randn(64, 2048, 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.089552 | 1,073,741,824 | 17,563,648 | 61.134328 | 2 | {"M": 4096, "N": 2048, "K": 64, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 64) x (64, 2048) -> (4096, 2048)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 64, dtype=torch.float16, device='cuda')
B = torch.randn(64, 2048, 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.06655 | 1,073,741,824 | 17,563,648 | 61.134328 | 2 | {"M": 4096, "N": 2048, "K": 64, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 64) x (64, 2048) -> (4096, 2048)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 64, dtype=torch.float16, device='cuda')
B = torch.randn(64, 2048, 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.096731 | 1,073,741,824 | 17,563,648 | 61.134328 | 2 | {"M": 4096, "N": 2048, "K": 64, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 64) x (64, 2048) -> (4096, 2048)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 64, dtype=torch.float16, device='cuda')
B = torch.randn(64, 2048, 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.051941 | 1,073,741,824 | 17,563,648 | 61.134328 | 2 | {"M": 4096, "N": 2048, "K": 64, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 64) x (64, 2048) -> (4096, 2048)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 64, dtype=torch.float16, device='cuda')
B = torch.randn(64, 2048, 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.048577 | 1,073,741,824 | 17,563,648 | 61.134328 | 2 | {"M": 4096, "N": 2048, "K": 64, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 64) x (64, 2048) -> (4096, 2048)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 64, dtype=torch.float16, device='cuda')
B = torch.randn(64, 2048, 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.074705 | 1,073,741,824 | 17,563,648 | 61.134328 | 2 | {"M": 4096, "N": 2048, "K": 64, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 64) x (64, 2048) -> (4096, 2048)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 64, dtype=torch.float16, device='cuda')
B = torch.randn(64, 2048, 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.057039 | 1,073,741,824 | 17,563,648 | 61.134328 | 2 | {"M": 4096, "N": 2048, "K": 64, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 64) x (64, 2048) -> (4096, 2048)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 64, dtype=torch.float16, device='cuda')
B = torch.randn(64, 2048, 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.058895 | 1,073,741,824 | 17,563,648 | 61.134328 | 2 | {"M": 4096, "N": 2048, "K": 64, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 64) x (64, 2048) -> (4096, 2048)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 64, dtype=torch.float16, device='cuda')
B = torch.randn(64, 2048, 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.034389 | 1,073,741,824 | 17,563,648 | 61.134328 | 2 | {"M": 4096, "N": 2048, "K": 64, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 64) x (64, 2048) -> (4096, 2048)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 64, dtype=torch.float16, device='cuda')
B = torch.randn(64, 2048, 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.062523 | 1,073,741,824 | 17,563,648 | 61.134328 | 2 | {"M": 4096, "N": 2048, "K": 64, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 64) x (64, 2048) -> (4096, 2048)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 64, dtype=torch.float16, device='cuda')
B = torch.randn(64, 2048, 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.059448 | 1,073,741,824 | 17,563,648 | 61.134328 | 2 | {"M": 4096, "N": 2048, "K": 64, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 64) x (64, 2048) -> (4096, 2048)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 64, dtype=torch.float16, device='cuda')
B = torch.randn(64, 2048, 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.088468 | 1,073,741,824 | 17,563,648 | 61.134328 | 2 | {"M": 4096, "N": 2048, "K": 64, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 256) x (256, 2048) -> (4096, 2048)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 256, dtype=torch.float32, device='cuda')
B = torch.randn(256, 2048, 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.714814 | 4,294,967,296 | 39,845,888 | 107.789474 | 4 | {"M": 4096, "N": 2048, "K": 256, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 256) x (256, 2048) -> (4096, 2048)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 256, dtype=torch.float32, device='cuda')
B = torch.randn(256, 2048, 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.588294 | 4,294,967,296 | 39,845,888 | 107.789474 | 4 | {"M": 4096, "N": 2048, "K": 256, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 256) x (256, 2048) -> (4096, 2048)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 256, dtype=torch.float32, device='cuda')
B = torch.randn(256, 2048, 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.242612 | 4,294,967,296 | 39,845,888 | 107.789474 | 4 | {"M": 4096, "N": 2048, "K": 256, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 256) x (256, 2048) -> (4096, 2048)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 256, dtype=torch.float32, device='cuda')
B = torch.randn(256, 2048, 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.292608 | 4,294,967,296 | 39,845,888 | 107.789474 | 4 | {"M": 4096, "N": 2048, "K": 256, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 256) x (256, 2048) -> (4096, 2048)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 256, dtype=torch.float32, device='cuda')
B = torch.randn(256, 2048, 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.387915 | 4,294,967,296 | 39,845,888 | 107.789474 | 4 | {"M": 4096, "N": 2048, "K": 256, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 256) x (256, 2048) -> (4096, 2048)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 256, dtype=torch.float32, device='cuda')
B = torch.randn(256, 2048, 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.233107 | 4,294,967,296 | 39,845,888 | 107.789474 | 4 | {"M": 4096, "N": 2048, "K": 256, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 256) x (256, 2048) -> (4096, 2048)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 256, dtype=torch.float32, device='cuda')
B = torch.randn(256, 2048, 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.101988 | 4,294,967,296 | 39,845,888 | 107.789474 | 4 | {"M": 4096, "N": 2048, "K": 256, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 256) x (256, 2048) -> (4096, 2048)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 256, dtype=torch.float32, device='cuda')
B = torch.randn(256, 2048, 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.182306 | 4,294,967,296 | 39,845,888 | 107.789474 | 4 | {"M": 4096, "N": 2048, "K": 256, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 256) x (256, 2048) -> (4096, 2048)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 256, dtype=torch.float32, device='cuda')
B = torch.randn(256, 2048, 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.128805 | 4,294,967,296 | 39,845,888 | 107.789474 | 4 | {"M": 4096, "N": 2048, "K": 256, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 256) x (256, 2048) -> (4096, 2048)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 256, dtype=torch.float32, device='cuda')
B = torch.randn(256, 2048, 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.112072 | 4,294,967,296 | 39,845,888 | 107.789474 | 4 | {"M": 4096, "N": 2048, "K": 256, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 256) x (256, 2048) -> (4096, 2048)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 256, dtype=torch.float32, device='cuda')
B = torch.randn(256, 2048, 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.162295 | 4,294,967,296 | 39,845,888 | 107.789474 | 4 | {"M": 4096, "N": 2048, "K": 256, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 256) x (256, 2048) -> (4096, 2048)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 256, dtype=torch.float32, device='cuda')
B = torch.randn(256, 2048, 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.176763 | 4,294,967,296 | 39,845,888 | 107.789474 | 4 | {"M": 4096, "N": 2048, "K": 256, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 256) x (256, 2048) -> (4096, 2048)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 256, dtype=torch.float16, device='cuda')
B = torch.randn(256, 2048, 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.122382 | 4,294,967,296 | 19,922,944 | 215.578947 | 2 | {"M": 4096, "N": 2048, "K": 256, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 256) x (256, 2048) -> (4096, 2048)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 256, dtype=torch.float16, device='cuda')
B = torch.randn(256, 2048, 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.090544 | 4,294,967,296 | 19,922,944 | 215.578947 | 2 | {"M": 4096, "N": 2048, "K": 256, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 256) x (256, 2048) -> (4096, 2048)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 256, dtype=torch.float16, device='cuda')
B = torch.randn(256, 2048, 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.176794 | 4,294,967,296 | 19,922,944 | 215.578947 | 2 | {"M": 4096, "N": 2048, "K": 256, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (4096, 256) x (256, 2048) -> (4096, 2048)
C = torch.matmul(A, B)
return C
A = torch.randn(4096, 256, dtype=torch.float16, device='cuda')
B = torch.randn(256, 2048, 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.044174 | 4,294,967,296 | 19,922,944 | 215.578947 | 2 | {"M": 4096, "N": 2048, "K": 256, "dtype": "float16"} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.