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: (64, 1024) x (1024, 4096) -> (64, 4096)
C = torch.matmul(A, B)
return C
A = torch.randn(64, 1024, dtype=torch.float32, device='cuda')
B = torch.randn(1024, 4096, dtype=torch.float32, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchroniz... | matmul | NVIDIA RTX 4090 | {"gpu_name": "NVIDIA RTX 4090", "cuda_cores": 16384, "tensor_cores": 512, "memory_gb": 24, "memory_bandwidth_gbps": 1008, "base_clock_mhz": 2235, "boost_clock_mhz": 2520, "sm_count": 128, "fp32_tflops": 82.6, "fp16_tflops": 165.2, "tdp_watts": 450, "compute_capability": 8.9, "l2_cache_mb": 72} | 0.050138 | 536,870,912 | 18,087,936 | 29.681159 | 4 | {"M": 64, "N": 4096, "K": 1024, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (64, 1024) x (1024, 4096) -> (64, 4096)
C = torch.matmul(A, B)
return C
A = torch.randn(64, 1024, dtype=torch.float32, device='cuda')
B = torch.randn(1024, 4096, dtype=torch.float32, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchroniz... | matmul | NVIDIA H100 SXM | {"gpu_name": "NVIDIA H100 SXM", "cuda_cores": 16896, "tensor_cores": 528, "memory_gb": 80, "memory_bandwidth_gbps": 3350, "base_clock_mhz": 1095, "boost_clock_mhz": 1830, "sm_count": 132, "fp32_tflops": 67, "fp16_tflops": 989, "tdp_watts": 700, "compute_capability": 9.0, "l2_cache_mb": 50} | 0.056392 | 536,870,912 | 18,087,936 | 29.681159 | 4 | {"M": 64, "N": 4096, "K": 1024, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (64, 1024) x (1024, 4096) -> (64, 4096)
C = torch.matmul(A, B)
return C
A = torch.randn(64, 1024, dtype=torch.float32, device='cuda')
B = torch.randn(1024, 4096, dtype=torch.float32, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchroniz... | matmul | NVIDIA H100 PCIe | {"gpu_name": "NVIDIA H100 PCIe", "cuda_cores": 14592, "tensor_cores": 456, "memory_gb": 80, "memory_bandwidth_gbps": 2039, "base_clock_mhz": 1095, "boost_clock_mhz": 1620, "sm_count": 114, "fp32_tflops": 48, "fp16_tflops": 756, "tdp_watts": 350, "compute_capability": 9.0, "l2_cache_mb": 50} | 0.045169 | 536,870,912 | 18,087,936 | 29.681159 | 4 | {"M": 64, "N": 4096, "K": 1024, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (64, 1024) x (1024, 4096) -> (64, 4096)
C = torch.matmul(A, B)
return C
A = torch.randn(64, 1024, dtype=torch.float32, device='cuda')
B = torch.randn(1024, 4096, dtype=torch.float32, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchroniz... | matmul | NVIDIA RTX A6000 | {"gpu_name": "NVIDIA RTX A6000", "cuda_cores": 10752, "tensor_cores": 336, "memory_gb": 48, "memory_bandwidth_gbps": 768, "base_clock_mhz": 1410, "boost_clock_mhz": 1860, "sm_count": 84, "fp32_tflops": 38.7, "fp16_tflops": 77.4, "tdp_watts": 300, "compute_capability": 8.6, "l2_cache_mb": 6} | 0.061986 | 536,870,912 | 18,087,936 | 29.681159 | 4 | {"M": 64, "N": 4096, "K": 1024, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (64, 1024) x (1024, 4096) -> (64, 4096)
C = torch.matmul(A, B)
return C
A = torch.randn(64, 1024, dtype=torch.float16, device='cuda')
B = torch.randn(1024, 4096, dtype=torch.float16, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchroniz... | matmul | NVIDIA T4 | {"gpu_name": "NVIDIA T4", "cuda_cores": 2560, "tensor_cores": 320, "memory_gb": 16, "memory_bandwidth_gbps": 320, "base_clock_mhz": 585, "boost_clock_mhz": 1590, "sm_count": 40, "fp32_tflops": 8.1, "fp16_tflops": 65, "tdp_watts": 70, "compute_capability": 7.5, "l2_cache_mb": 4} | 0.060667 | 536,870,912 | 9,043,968 | 59.362319 | 2 | {"M": 64, "N": 4096, "K": 1024, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (64, 1024) x (1024, 4096) -> (64, 4096)
C = torch.matmul(A, B)
return C
A = torch.randn(64, 1024, dtype=torch.float16, device='cuda')
B = torch.randn(1024, 4096, dtype=torch.float16, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchroniz... | matmul | NVIDIA V100 | {"gpu_name": "NVIDIA V100", "cuda_cores": 5120, "tensor_cores": 640, "memory_gb": 32, "memory_bandwidth_gbps": 900, "base_clock_mhz": 1230, "boost_clock_mhz": 1530, "sm_count": 80, "fp32_tflops": 15.7, "fp16_tflops": 125, "tdp_watts": 300, "compute_capability": 7.0, "l2_cache_mb": 6} | 0.078193 | 536,870,912 | 9,043,968 | 59.362319 | 2 | {"M": 64, "N": 4096, "K": 1024, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (64, 1024) x (1024, 4096) -> (64, 4096)
C = torch.matmul(A, B)
return C
A = torch.randn(64, 1024, dtype=torch.float16, device='cuda')
B = torch.randn(1024, 4096, dtype=torch.float16, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchroniz... | matmul | NVIDIA A10G | {"gpu_name": "NVIDIA A10G", "cuda_cores": 9216, "tensor_cores": 288, "memory_gb": 24, "memory_bandwidth_gbps": 600, "base_clock_mhz": 885, "boost_clock_mhz": 1695, "sm_count": 80, "fp32_tflops": 31.2, "fp16_tflops": 62.5, "tdp_watts": 150, "compute_capability": 8.6, "l2_cache_mb": 6} | 0.080426 | 536,870,912 | 9,043,968 | 59.362319 | 2 | {"M": 64, "N": 4096, "K": 1024, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (64, 1024) x (1024, 4096) -> (64, 4096)
C = torch.matmul(A, B)
return C
A = torch.randn(64, 1024, dtype=torch.float16, device='cuda')
B = torch.randn(1024, 4096, dtype=torch.float16, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchroniz... | matmul | NVIDIA A100 40GB | {"gpu_name": "NVIDIA A100 40GB", "cuda_cores": 6912, "tensor_cores": 432, "memory_gb": 40, "memory_bandwidth_gbps": 1555, "base_clock_mhz": 765, "boost_clock_mhz": 1410, "sm_count": 108, "fp32_tflops": 19.5, "fp16_tflops": 312, "tdp_watts": 400, "compute_capability": 8.0, "l2_cache_mb": 40} | 0.035653 | 536,870,912 | 9,043,968 | 59.362319 | 2 | {"M": 64, "N": 4096, "K": 1024, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (64, 1024) x (1024, 4096) -> (64, 4096)
C = torch.matmul(A, B)
return C
A = torch.randn(64, 1024, dtype=torch.float16, device='cuda')
B = torch.randn(1024, 4096, dtype=torch.float16, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchroniz... | matmul | NVIDIA A100 80GB | {"gpu_name": "NVIDIA A100 80GB", "cuda_cores": 6912, "tensor_cores": 432, "memory_gb": 80, "memory_bandwidth_gbps": 2039, "base_clock_mhz": 765, "boost_clock_mhz": 1410, "sm_count": 108, "fp32_tflops": 19.5, "fp16_tflops": 312, "tdp_watts": 400, "compute_capability": 8.0, "l2_cache_mb": 40} | 0.054481 | 536,870,912 | 9,043,968 | 59.362319 | 2 | {"M": 64, "N": 4096, "K": 1024, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (64, 1024) x (1024, 4096) -> (64, 4096)
C = torch.matmul(A, B)
return C
A = torch.randn(64, 1024, dtype=torch.float16, device='cuda')
B = torch.randn(1024, 4096, dtype=torch.float16, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchroniz... | matmul | NVIDIA L4 | {"gpu_name": "NVIDIA L4", "cuda_cores": 7424, "tensor_cores": 232, "memory_gb": 24, "memory_bandwidth_gbps": 300, "base_clock_mhz": 795, "boost_clock_mhz": 2040, "sm_count": 58, "fp32_tflops": 30.3, "fp16_tflops": 121, "tdp_watts": 72, "compute_capability": 8.9, "l2_cache_mb": 48} | 0.067741 | 536,870,912 | 9,043,968 | 59.362319 | 2 | {"M": 64, "N": 4096, "K": 1024, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (64, 1024) x (1024, 4096) -> (64, 4096)
C = torch.matmul(A, B)
return C
A = torch.randn(64, 1024, dtype=torch.float16, device='cuda')
B = torch.randn(1024, 4096, dtype=torch.float16, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchroniz... | matmul | NVIDIA L40S | {"gpu_name": "NVIDIA L40S", "cuda_cores": 18176, "tensor_cores": 568, "memory_gb": 48, "memory_bandwidth_gbps": 864, "base_clock_mhz": 1110, "boost_clock_mhz": 2520, "sm_count": 142, "fp32_tflops": 91.6, "fp16_tflops": 183.2, "tdp_watts": 350, "compute_capability": 8.9, "l2_cache_mb": 96} | 0.039866 | 536,870,912 | 9,043,968 | 59.362319 | 2 | {"M": 64, "N": 4096, "K": 1024, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (64, 1024) x (1024, 4096) -> (64, 4096)
C = torch.matmul(A, B)
return C
A = torch.randn(64, 1024, dtype=torch.float16, device='cuda')
B = torch.randn(1024, 4096, dtype=torch.float16, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchroniz... | matmul | NVIDIA RTX 3090 | {"gpu_name": "NVIDIA RTX 3090", "cuda_cores": 10496, "tensor_cores": 328, "memory_gb": 24, "memory_bandwidth_gbps": 936, "base_clock_mhz": 1395, "boost_clock_mhz": 1695, "sm_count": 82, "fp32_tflops": 35.6, "fp16_tflops": 71, "tdp_watts": 350, "compute_capability": 8.6, "l2_cache_mb": 6} | 0.067627 | 536,870,912 | 9,043,968 | 59.362319 | 2 | {"M": 64, "N": 4096, "K": 1024, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (64, 1024) x (1024, 4096) -> (64, 4096)
C = torch.matmul(A, B)
return C
A = torch.randn(64, 1024, dtype=torch.float16, device='cuda')
B = torch.randn(1024, 4096, dtype=torch.float16, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchroniz... | matmul | NVIDIA RTX 4090 | {"gpu_name": "NVIDIA RTX 4090", "cuda_cores": 16384, "tensor_cores": 512, "memory_gb": 24, "memory_bandwidth_gbps": 1008, "base_clock_mhz": 2235, "boost_clock_mhz": 2520, "sm_count": 128, "fp32_tflops": 82.6, "fp16_tflops": 165.2, "tdp_watts": 450, "compute_capability": 8.9, "l2_cache_mb": 72} | 0.029135 | 536,870,912 | 9,043,968 | 59.362319 | 2 | {"M": 64, "N": 4096, "K": 1024, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (64, 1024) x (1024, 4096) -> (64, 4096)
C = torch.matmul(A, B)
return C
A = torch.randn(64, 1024, dtype=torch.float16, device='cuda')
B = torch.randn(1024, 4096, dtype=torch.float16, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchroniz... | matmul | NVIDIA H100 SXM | {"gpu_name": "NVIDIA H100 SXM", "cuda_cores": 16896, "tensor_cores": 528, "memory_gb": 80, "memory_bandwidth_gbps": 3350, "base_clock_mhz": 1095, "boost_clock_mhz": 1830, "sm_count": 132, "fp32_tflops": 67, "fp16_tflops": 989, "tdp_watts": 700, "compute_capability": 9.0, "l2_cache_mb": 50} | 0.039896 | 536,870,912 | 9,043,968 | 59.362319 | 2 | {"M": 64, "N": 4096, "K": 1024, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (64, 1024) x (1024, 4096) -> (64, 4096)
C = torch.matmul(A, B)
return C
A = torch.randn(64, 1024, dtype=torch.float16, device='cuda')
B = torch.randn(1024, 4096, dtype=torch.float16, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchroniz... | matmul | NVIDIA H100 PCIe | {"gpu_name": "NVIDIA H100 PCIe", "cuda_cores": 14592, "tensor_cores": 456, "memory_gb": 80, "memory_bandwidth_gbps": 2039, "base_clock_mhz": 1095, "boost_clock_mhz": 1620, "sm_count": 114, "fp32_tflops": 48, "fp16_tflops": 756, "tdp_watts": 350, "compute_capability": 9.0, "l2_cache_mb": 50} | 0.060518 | 536,870,912 | 9,043,968 | 59.362319 | 2 | {"M": 64, "N": 4096, "K": 1024, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (64, 1024) x (1024, 4096) -> (64, 4096)
C = torch.matmul(A, B)
return C
A = torch.randn(64, 1024, dtype=torch.float16, device='cuda')
B = torch.randn(1024, 4096, dtype=torch.float16, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchroniz... | matmul | NVIDIA RTX A6000 | {"gpu_name": "NVIDIA RTX A6000", "cuda_cores": 10752, "tensor_cores": 336, "memory_gb": 48, "memory_bandwidth_gbps": 768, "base_clock_mhz": 1410, "boost_clock_mhz": 1860, "sm_count": 84, "fp32_tflops": 38.7, "fp16_tflops": 77.4, "tdp_watts": 300, "compute_capability": 8.6, "l2_cache_mb": 6} | 0.061437 | 536,870,912 | 9,043,968 | 59.362319 | 2 | {"M": 64, "N": 4096, "K": 1024, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (64, 2048) x (2048, 4096) -> (64, 4096)
C = torch.matmul(A, B)
return C
A = torch.randn(64, 2048, dtype=torch.float32, device='cuda')
B = torch.randn(2048, 4096, dtype=torch.float32, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchroniz... | matmul | NVIDIA T4 | {"gpu_name": "NVIDIA T4", "cuda_cores": 2560, "tensor_cores": 320, "memory_gb": 16, "memory_bandwidth_gbps": 320, "base_clock_mhz": 585, "boost_clock_mhz": 1590, "sm_count": 40, "fp32_tflops": 8.1, "fp16_tflops": 65, "tdp_watts": 70, "compute_capability": 7.5, "l2_cache_mb": 4} | 0.227448 | 1,073,741,824 | 35,127,296 | 30.567164 | 4 | {"M": 64, "N": 4096, "K": 2048, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (64, 2048) x (2048, 4096) -> (64, 4096)
C = torch.matmul(A, B)
return C
A = torch.randn(64, 2048, dtype=torch.float32, device='cuda')
B = torch.randn(2048, 4096, dtype=torch.float32, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchroniz... | matmul | NVIDIA V100 | {"gpu_name": "NVIDIA V100", "cuda_cores": 5120, "tensor_cores": 640, "memory_gb": 32, "memory_bandwidth_gbps": 900, "base_clock_mhz": 1230, "boost_clock_mhz": 1530, "sm_count": 80, "fp32_tflops": 15.7, "fp16_tflops": 125, "tdp_watts": 300, "compute_capability": 7.0, "l2_cache_mb": 6} | 0.175625 | 1,073,741,824 | 35,127,296 | 30.567164 | 4 | {"M": 64, "N": 4096, "K": 2048, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (64, 2048) x (2048, 4096) -> (64, 4096)
C = torch.matmul(A, B)
return C
A = torch.randn(64, 2048, dtype=torch.float32, device='cuda')
B = torch.randn(2048, 4096, dtype=torch.float32, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchroniz... | matmul | NVIDIA A10G | {"gpu_name": "NVIDIA A10G", "cuda_cores": 9216, "tensor_cores": 288, "memory_gb": 24, "memory_bandwidth_gbps": 600, "base_clock_mhz": 885, "boost_clock_mhz": 1695, "sm_count": 80, "fp32_tflops": 31.2, "fp16_tflops": 62.5, "tdp_watts": 150, "compute_capability": 8.6, "l2_cache_mb": 6} | 0.123372 | 1,073,741,824 | 35,127,296 | 30.567164 | 4 | {"M": 64, "N": 4096, "K": 2048, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (64, 2048) x (2048, 4096) -> (64, 4096)
C = torch.matmul(A, B)
return C
A = torch.randn(64, 2048, dtype=torch.float32, device='cuda')
B = torch.randn(2048, 4096, dtype=torch.float32, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchroniz... | matmul | NVIDIA A100 40GB | {"gpu_name": "NVIDIA A100 40GB", "cuda_cores": 6912, "tensor_cores": 432, "memory_gb": 40, "memory_bandwidth_gbps": 1555, "base_clock_mhz": 765, "boost_clock_mhz": 1410, "sm_count": 108, "fp32_tflops": 19.5, "fp16_tflops": 312, "tdp_watts": 400, "compute_capability": 8.0, "l2_cache_mb": 40} | 0.099479 | 1,073,741,824 | 35,127,296 | 30.567164 | 4 | {"M": 64, "N": 4096, "K": 2048, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (64, 2048) x (2048, 4096) -> (64, 4096)
C = torch.matmul(A, B)
return C
A = torch.randn(64, 2048, dtype=torch.float32, device='cuda')
B = torch.randn(2048, 4096, dtype=torch.float32, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchroniz... | matmul | NVIDIA A100 80GB | {"gpu_name": "NVIDIA A100 80GB", "cuda_cores": 6912, "tensor_cores": 432, "memory_gb": 80, "memory_bandwidth_gbps": 2039, "base_clock_mhz": 765, "boost_clock_mhz": 1410, "sm_count": 108, "fp32_tflops": 19.5, "fp16_tflops": 312, "tdp_watts": 400, "compute_capability": 8.0, "l2_cache_mb": 40} | 0.104932 | 1,073,741,824 | 35,127,296 | 30.567164 | 4 | {"M": 64, "N": 4096, "K": 2048, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (64, 2048) x (2048, 4096) -> (64, 4096)
C = torch.matmul(A, B)
return C
A = torch.randn(64, 2048, dtype=torch.float32, device='cuda')
B = torch.randn(2048, 4096, dtype=torch.float32, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchroniz... | matmul | NVIDIA L4 | {"gpu_name": "NVIDIA L4", "cuda_cores": 7424, "tensor_cores": 232, "memory_gb": 24, "memory_bandwidth_gbps": 300, "base_clock_mhz": 795, "boost_clock_mhz": 2040, "sm_count": 58, "fp32_tflops": 30.3, "fp16_tflops": 121, "tdp_watts": 72, "compute_capability": 8.9, "l2_cache_mb": 48} | 0.143212 | 1,073,741,824 | 35,127,296 | 30.567164 | 4 | {"M": 64, "N": 4096, "K": 2048, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (64, 2048) x (2048, 4096) -> (64, 4096)
C = torch.matmul(A, B)
return C
A = torch.randn(64, 2048, dtype=torch.float32, device='cuda')
B = torch.randn(2048, 4096, dtype=torch.float32, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchroniz... | matmul | NVIDIA L40S | {"gpu_name": "NVIDIA L40S", "cuda_cores": 18176, "tensor_cores": 568, "memory_gb": 48, "memory_bandwidth_gbps": 864, "base_clock_mhz": 1110, "boost_clock_mhz": 2520, "sm_count": 142, "fp32_tflops": 91.6, "fp16_tflops": 183.2, "tdp_watts": 350, "compute_capability": 8.9, "l2_cache_mb": 96} | 0.057008 | 1,073,741,824 | 35,127,296 | 30.567164 | 4 | {"M": 64, "N": 4096, "K": 2048, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (64, 2048) x (2048, 4096) -> (64, 4096)
C = torch.matmul(A, B)
return C
A = torch.randn(64, 2048, dtype=torch.float32, device='cuda')
B = torch.randn(2048, 4096, dtype=torch.float32, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchroniz... | matmul | NVIDIA RTX 3090 | {"gpu_name": "NVIDIA RTX 3090", "cuda_cores": 10496, "tensor_cores": 328, "memory_gb": 24, "memory_bandwidth_gbps": 936, "base_clock_mhz": 1395, "boost_clock_mhz": 1695, "sm_count": 82, "fp32_tflops": 35.6, "fp16_tflops": 71, "tdp_watts": 350, "compute_capability": 8.6, "l2_cache_mb": 6} | 0.090731 | 1,073,741,824 | 35,127,296 | 30.567164 | 4 | {"M": 64, "N": 4096, "K": 2048, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (64, 2048) x (2048, 4096) -> (64, 4096)
C = torch.matmul(A, B)
return C
A = torch.randn(64, 2048, dtype=torch.float32, device='cuda')
B = torch.randn(2048, 4096, dtype=torch.float32, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchroniz... | matmul | NVIDIA RTX 4090 | {"gpu_name": "NVIDIA RTX 4090", "cuda_cores": 16384, "tensor_cores": 512, "memory_gb": 24, "memory_bandwidth_gbps": 1008, "base_clock_mhz": 2235, "boost_clock_mhz": 2520, "sm_count": 128, "fp32_tflops": 82.6, "fp16_tflops": 165.2, "tdp_watts": 450, "compute_capability": 8.9, "l2_cache_mb": 72} | 0.072985 | 1,073,741,824 | 35,127,296 | 30.567164 | 4 | {"M": 64, "N": 4096, "K": 2048, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (64, 2048) x (2048, 4096) -> (64, 4096)
C = torch.matmul(A, B)
return C
A = torch.randn(64, 2048, dtype=torch.float32, device='cuda')
B = torch.randn(2048, 4096, dtype=torch.float32, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchroniz... | matmul | NVIDIA H100 SXM | {"gpu_name": "NVIDIA H100 SXM", "cuda_cores": 16896, "tensor_cores": 528, "memory_gb": 80, "memory_bandwidth_gbps": 3350, "base_clock_mhz": 1095, "boost_clock_mhz": 1830, "sm_count": 132, "fp32_tflops": 67, "fp16_tflops": 989, "tdp_watts": 700, "compute_capability": 9.0, "l2_cache_mb": 50} | 0.059656 | 1,073,741,824 | 35,127,296 | 30.567164 | 4 | {"M": 64, "N": 4096, "K": 2048, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (64, 2048) x (2048, 4096) -> (64, 4096)
C = torch.matmul(A, B)
return C
A = torch.randn(64, 2048, dtype=torch.float32, device='cuda')
B = torch.randn(2048, 4096, dtype=torch.float32, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchroniz... | matmul | NVIDIA H100 PCIe | {"gpu_name": "NVIDIA H100 PCIe", "cuda_cores": 14592, "tensor_cores": 456, "memory_gb": 80, "memory_bandwidth_gbps": 2039, "base_clock_mhz": 1095, "boost_clock_mhz": 1620, "sm_count": 114, "fp32_tflops": 48, "fp16_tflops": 756, "tdp_watts": 350, "compute_capability": 9.0, "l2_cache_mb": 50} | 0.058727 | 1,073,741,824 | 35,127,296 | 30.567164 | 4 | {"M": 64, "N": 4096, "K": 2048, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (64, 2048) x (2048, 4096) -> (64, 4096)
C = torch.matmul(A, B)
return C
A = torch.randn(64, 2048, dtype=torch.float32, device='cuda')
B = torch.randn(2048, 4096, dtype=torch.float32, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchroniz... | matmul | NVIDIA RTX A6000 | {"gpu_name": "NVIDIA RTX A6000", "cuda_cores": 10752, "tensor_cores": 336, "memory_gb": 48, "memory_bandwidth_gbps": 768, "base_clock_mhz": 1410, "boost_clock_mhz": 1860, "sm_count": 84, "fp32_tflops": 38.7, "fp16_tflops": 77.4, "tdp_watts": 300, "compute_capability": 8.6, "l2_cache_mb": 6} | 0.144383 | 1,073,741,824 | 35,127,296 | 30.567164 | 4 | {"M": 64, "N": 4096, "K": 2048, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (64, 2048) x (2048, 4096) -> (64, 4096)
C = torch.matmul(A, B)
return C
A = torch.randn(64, 2048, dtype=torch.float16, device='cuda')
B = torch.randn(2048, 4096, dtype=torch.float16, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchroniz... | matmul | NVIDIA T4 | {"gpu_name": "NVIDIA T4", "cuda_cores": 2560, "tensor_cores": 320, "memory_gb": 16, "memory_bandwidth_gbps": 320, "base_clock_mhz": 585, "boost_clock_mhz": 1590, "sm_count": 40, "fp32_tflops": 8.1, "fp16_tflops": 65, "tdp_watts": 70, "compute_capability": 7.5, "l2_cache_mb": 4} | 0.112721 | 1,073,741,824 | 17,563,648 | 61.134328 | 2 | {"M": 64, "N": 4096, "K": 2048, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (64, 2048) x (2048, 4096) -> (64, 4096)
C = torch.matmul(A, B)
return C
A = torch.randn(64, 2048, dtype=torch.float16, device='cuda')
B = torch.randn(2048, 4096, dtype=torch.float16, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchroniz... | matmul | NVIDIA V100 | {"gpu_name": "NVIDIA V100", "cuda_cores": 5120, "tensor_cores": 640, "memory_gb": 32, "memory_bandwidth_gbps": 900, "base_clock_mhz": 1230, "boost_clock_mhz": 1530, "sm_count": 80, "fp32_tflops": 15.7, "fp16_tflops": 125, "tdp_watts": 300, "compute_capability": 7.0, "l2_cache_mb": 6} | 0.079512 | 1,073,741,824 | 17,563,648 | 61.134328 | 2 | {"M": 64, "N": 4096, "K": 2048, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (64, 2048) x (2048, 4096) -> (64, 4096)
C = torch.matmul(A, B)
return C
A = torch.randn(64, 2048, dtype=torch.float16, device='cuda')
B = torch.randn(2048, 4096, dtype=torch.float16, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchroniz... | matmul | NVIDIA A10G | {"gpu_name": "NVIDIA A10G", "cuda_cores": 9216, "tensor_cores": 288, "memory_gb": 24, "memory_bandwidth_gbps": 600, "base_clock_mhz": 885, "boost_clock_mhz": 1695, "sm_count": 80, "fp32_tflops": 31.2, "fp16_tflops": 62.5, "tdp_watts": 150, "compute_capability": 8.6, "l2_cache_mb": 6} | 0.110035 | 1,073,741,824 | 17,563,648 | 61.134328 | 2 | {"M": 64, "N": 4096, "K": 2048, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (64, 2048) x (2048, 4096) -> (64, 4096)
C = torch.matmul(A, B)
return C
A = torch.randn(64, 2048, dtype=torch.float16, device='cuda')
B = torch.randn(2048, 4096, dtype=torch.float16, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchroniz... | matmul | NVIDIA A100 40GB | {"gpu_name": "NVIDIA A100 40GB", "cuda_cores": 6912, "tensor_cores": 432, "memory_gb": 40, "memory_bandwidth_gbps": 1555, "base_clock_mhz": 765, "boost_clock_mhz": 1410, "sm_count": 108, "fp32_tflops": 19.5, "fp16_tflops": 312, "tdp_watts": 400, "compute_capability": 8.0, "l2_cache_mb": 40} | 0.035962 | 1,073,741,824 | 17,563,648 | 61.134328 | 2 | {"M": 64, "N": 4096, "K": 2048, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (64, 2048) x (2048, 4096) -> (64, 4096)
C = torch.matmul(A, B)
return C
A = torch.randn(64, 2048, dtype=torch.float16, device='cuda')
B = torch.randn(2048, 4096, dtype=torch.float16, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchroniz... | matmul | NVIDIA A100 80GB | {"gpu_name": "NVIDIA A100 80GB", "cuda_cores": 6912, "tensor_cores": 432, "memory_gb": 80, "memory_bandwidth_gbps": 2039, "base_clock_mhz": 765, "boost_clock_mhz": 1410, "sm_count": 108, "fp32_tflops": 19.5, "fp16_tflops": 312, "tdp_watts": 400, "compute_capability": 8.0, "l2_cache_mb": 40} | 0.03754 | 1,073,741,824 | 17,563,648 | 61.134328 | 2 | {"M": 64, "N": 4096, "K": 2048, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (64, 2048) x (2048, 4096) -> (64, 4096)
C = torch.matmul(A, B)
return C
A = torch.randn(64, 2048, dtype=torch.float16, device='cuda')
B = torch.randn(2048, 4096, dtype=torch.float16, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchroniz... | matmul | NVIDIA L4 | {"gpu_name": "NVIDIA L4", "cuda_cores": 7424, "tensor_cores": 232, "memory_gb": 24, "memory_bandwidth_gbps": 300, "base_clock_mhz": 795, "boost_clock_mhz": 2040, "sm_count": 58, "fp32_tflops": 30.3, "fp16_tflops": 121, "tdp_watts": 72, "compute_capability": 8.9, "l2_cache_mb": 48} | 0.06896 | 1,073,741,824 | 17,563,648 | 61.134328 | 2 | {"M": 64, "N": 4096, "K": 2048, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (64, 2048) x (2048, 4096) -> (64, 4096)
C = torch.matmul(A, B)
return C
A = torch.randn(64, 2048, dtype=torch.float16, device='cuda')
B = torch.randn(2048, 4096, dtype=torch.float16, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchroniz... | matmul | NVIDIA L40S | {"gpu_name": "NVIDIA L40S", "cuda_cores": 18176, "tensor_cores": 568, "memory_gb": 48, "memory_bandwidth_gbps": 864, "base_clock_mhz": 1110, "boost_clock_mhz": 2520, "sm_count": 142, "fp32_tflops": 91.6, "fp16_tflops": 183.2, "tdp_watts": 350, "compute_capability": 8.9, "l2_cache_mb": 96} | 0.038658 | 1,073,741,824 | 17,563,648 | 61.134328 | 2 | {"M": 64, "N": 4096, "K": 2048, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (64, 2048) x (2048, 4096) -> (64, 4096)
C = torch.matmul(A, B)
return C
A = torch.randn(64, 2048, dtype=torch.float16, device='cuda')
B = torch.randn(2048, 4096, dtype=torch.float16, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchroniz... | matmul | NVIDIA RTX 3090 | {"gpu_name": "NVIDIA RTX 3090", "cuda_cores": 10496, "tensor_cores": 328, "memory_gb": 24, "memory_bandwidth_gbps": 936, "base_clock_mhz": 1395, "boost_clock_mhz": 1695, "sm_count": 82, "fp32_tflops": 35.6, "fp16_tflops": 71, "tdp_watts": 350, "compute_capability": 8.6, "l2_cache_mb": 6} | 0.076027 | 1,073,741,824 | 17,563,648 | 61.134328 | 2 | {"M": 64, "N": 4096, "K": 2048, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (64, 2048) x (2048, 4096) -> (64, 4096)
C = torch.matmul(A, B)
return C
A = torch.randn(64, 2048, dtype=torch.float16, device='cuda')
B = torch.randn(2048, 4096, dtype=torch.float16, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchroniz... | matmul | NVIDIA RTX 4090 | {"gpu_name": "NVIDIA RTX 4090", "cuda_cores": 16384, "tensor_cores": 512, "memory_gb": 24, "memory_bandwidth_gbps": 1008, "base_clock_mhz": 2235, "boost_clock_mhz": 2520, "sm_count": 128, "fp32_tflops": 82.6, "fp16_tflops": 165.2, "tdp_watts": 450, "compute_capability": 8.9, "l2_cache_mb": 72} | 0.051635 | 1,073,741,824 | 17,563,648 | 61.134328 | 2 | {"M": 64, "N": 4096, "K": 2048, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (64, 2048) x (2048, 4096) -> (64, 4096)
C = torch.matmul(A, B)
return C
A = torch.randn(64, 2048, dtype=torch.float16, device='cuda')
B = torch.randn(2048, 4096, dtype=torch.float16, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchroniz... | matmul | NVIDIA H100 SXM | {"gpu_name": "NVIDIA H100 SXM", "cuda_cores": 16896, "tensor_cores": 528, "memory_gb": 80, "memory_bandwidth_gbps": 3350, "base_clock_mhz": 1095, "boost_clock_mhz": 1830, "sm_count": 132, "fp32_tflops": 67, "fp16_tflops": 989, "tdp_watts": 700, "compute_capability": 9.0, "l2_cache_mb": 50} | 0.036928 | 1,073,741,824 | 17,563,648 | 61.134328 | 2 | {"M": 64, "N": 4096, "K": 2048, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (64, 2048) x (2048, 4096) -> (64, 4096)
C = torch.matmul(A, B)
return C
A = torch.randn(64, 2048, dtype=torch.float16, device='cuda')
B = torch.randn(2048, 4096, dtype=torch.float16, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchroniz... | matmul | NVIDIA H100 PCIe | {"gpu_name": "NVIDIA H100 PCIe", "cuda_cores": 14592, "tensor_cores": 456, "memory_gb": 80, "memory_bandwidth_gbps": 2039, "base_clock_mhz": 1095, "boost_clock_mhz": 1620, "sm_count": 114, "fp32_tflops": 48, "fp16_tflops": 756, "tdp_watts": 350, "compute_capability": 9.0, "l2_cache_mb": 50} | 0.07769 | 1,073,741,824 | 17,563,648 | 61.134328 | 2 | {"M": 64, "N": 4096, "K": 2048, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (64, 2048) x (2048, 4096) -> (64, 4096)
C = torch.matmul(A, B)
return C
A = torch.randn(64, 2048, dtype=torch.float16, device='cuda')
B = torch.randn(2048, 4096, dtype=torch.float16, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchroniz... | matmul | NVIDIA RTX A6000 | {"gpu_name": "NVIDIA RTX A6000", "cuda_cores": 10752, "tensor_cores": 336, "memory_gb": 48, "memory_bandwidth_gbps": 768, "base_clock_mhz": 1410, "boost_clock_mhz": 1860, "sm_count": 84, "fp32_tflops": 38.7, "fp16_tflops": 77.4, "tdp_watts": 300, "compute_capability": 8.6, "l2_cache_mb": 6} | 0.070207 | 1,073,741,824 | 17,563,648 | 61.134328 | 2 | {"M": 64, "N": 4096, "K": 2048, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (64, 4096) x (4096, 4096) -> (64, 4096)
C = torch.matmul(A, B)
return C
A = torch.randn(64, 4096, dtype=torch.float32, device='cuda')
B = torch.randn(4096, 4096, dtype=torch.float32, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchroniz... | matmul | NVIDIA T4 | {"gpu_name": "NVIDIA T4", "cuda_cores": 2560, "tensor_cores": 320, "memory_gb": 16, "memory_bandwidth_gbps": 320, "base_clock_mhz": 585, "boost_clock_mhz": 1590, "sm_count": 40, "fp32_tflops": 8.1, "fp16_tflops": 65, "tdp_watts": 70, "compute_capability": 7.5, "l2_cache_mb": 4} | 0.475543 | 2,147,483,648 | 69,206,016 | 31.030303 | 4 | {"M": 64, "N": 4096, "K": 4096, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (64, 4096) x (4096, 4096) -> (64, 4096)
C = torch.matmul(A, B)
return C
A = torch.randn(64, 4096, dtype=torch.float32, device='cuda')
B = torch.randn(4096, 4096, dtype=torch.float32, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchroniz... | matmul | NVIDIA V100 | {"gpu_name": "NVIDIA V100", "cuda_cores": 5120, "tensor_cores": 640, "memory_gb": 32, "memory_bandwidth_gbps": 900, "base_clock_mhz": 1230, "boost_clock_mhz": 1530, "sm_count": 80, "fp32_tflops": 15.7, "fp16_tflops": 125, "tdp_watts": 300, "compute_capability": 7.0, "l2_cache_mb": 6} | 0.196978 | 2,147,483,648 | 69,206,016 | 31.030303 | 4 | {"M": 64, "N": 4096, "K": 4096, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (64, 4096) x (4096, 4096) -> (64, 4096)
C = torch.matmul(A, B)
return C
A = torch.randn(64, 4096, dtype=torch.float32, device='cuda')
B = torch.randn(4096, 4096, dtype=torch.float32, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchroniz... | matmul | NVIDIA A10G | {"gpu_name": "NVIDIA A10G", "cuda_cores": 9216, "tensor_cores": 288, "memory_gb": 24, "memory_bandwidth_gbps": 600, "base_clock_mhz": 885, "boost_clock_mhz": 1695, "sm_count": 80, "fp32_tflops": 31.2, "fp16_tflops": 62.5, "tdp_watts": 150, "compute_capability": 8.6, "l2_cache_mb": 6} | 0.247886 | 2,147,483,648 | 69,206,016 | 31.030303 | 4 | {"M": 64, "N": 4096, "K": 4096, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (64, 4096) x (4096, 4096) -> (64, 4096)
C = torch.matmul(A, B)
return C
A = torch.randn(64, 4096, dtype=torch.float32, device='cuda')
B = torch.randn(4096, 4096, dtype=torch.float32, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchroniz... | matmul | NVIDIA A100 40GB | {"gpu_name": "NVIDIA A100 40GB", "cuda_cores": 6912, "tensor_cores": 432, "memory_gb": 40, "memory_bandwidth_gbps": 1555, "base_clock_mhz": 765, "boost_clock_mhz": 1410, "sm_count": 108, "fp32_tflops": 19.5, "fp16_tflops": 312, "tdp_watts": 400, "compute_capability": 8.0, "l2_cache_mb": 40} | 0.209517 | 2,147,483,648 | 69,206,016 | 31.030303 | 4 | {"M": 64, "N": 4096, "K": 4096, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (64, 4096) x (4096, 4096) -> (64, 4096)
C = torch.matmul(A, B)
return C
A = torch.randn(64, 4096, dtype=torch.float32, device='cuda')
B = torch.randn(4096, 4096, dtype=torch.float32, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchroniz... | matmul | NVIDIA A100 80GB | {"gpu_name": "NVIDIA A100 80GB", "cuda_cores": 6912, "tensor_cores": 432, "memory_gb": 80, "memory_bandwidth_gbps": 2039, "base_clock_mhz": 765, "boost_clock_mhz": 1410, "sm_count": 108, "fp32_tflops": 19.5, "fp16_tflops": 312, "tdp_watts": 400, "compute_capability": 8.0, "l2_cache_mb": 40} | 0.206882 | 2,147,483,648 | 69,206,016 | 31.030303 | 4 | {"M": 64, "N": 4096, "K": 4096, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (64, 4096) x (4096, 4096) -> (64, 4096)
C = torch.matmul(A, B)
return C
A = torch.randn(64, 4096, dtype=torch.float32, device='cuda')
B = torch.randn(4096, 4096, dtype=torch.float32, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchroniz... | matmul | NVIDIA L4 | {"gpu_name": "NVIDIA L4", "cuda_cores": 7424, "tensor_cores": 232, "memory_gb": 24, "memory_bandwidth_gbps": 300, "base_clock_mhz": 795, "boost_clock_mhz": 2040, "sm_count": 58, "fp32_tflops": 30.3, "fp16_tflops": 121, "tdp_watts": 72, "compute_capability": 8.9, "l2_cache_mb": 48} | 0.3129 | 2,147,483,648 | 69,206,016 | 31.030303 | 4 | {"M": 64, "N": 4096, "K": 4096, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (64, 4096) x (4096, 4096) -> (64, 4096)
C = torch.matmul(A, B)
return C
A = torch.randn(64, 4096, dtype=torch.float32, device='cuda')
B = torch.randn(4096, 4096, dtype=torch.float32, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchroniz... | matmul | NVIDIA L40S | {"gpu_name": "NVIDIA L40S", "cuda_cores": 18176, "tensor_cores": 568, "memory_gb": 48, "memory_bandwidth_gbps": 864, "base_clock_mhz": 1110, "boost_clock_mhz": 2520, "sm_count": 142, "fp32_tflops": 91.6, "fp16_tflops": 183.2, "tdp_watts": 350, "compute_capability": 8.9, "l2_cache_mb": 96} | 0.100071 | 2,147,483,648 | 69,206,016 | 31.030303 | 4 | {"M": 64, "N": 4096, "K": 4096, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (64, 4096) x (4096, 4096) -> (64, 4096)
C = torch.matmul(A, B)
return C
A = torch.randn(64, 4096, dtype=torch.float32, device='cuda')
B = torch.randn(4096, 4096, dtype=torch.float32, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchroniz... | matmul | NVIDIA RTX 3090 | {"gpu_name": "NVIDIA RTX 3090", "cuda_cores": 10496, "tensor_cores": 328, "memory_gb": 24, "memory_bandwidth_gbps": 936, "base_clock_mhz": 1395, "boost_clock_mhz": 1695, "sm_count": 82, "fp32_tflops": 35.6, "fp16_tflops": 71, "tdp_watts": 350, "compute_capability": 8.6, "l2_cache_mb": 6} | 0.142255 | 2,147,483,648 | 69,206,016 | 31.030303 | 4 | {"M": 64, "N": 4096, "K": 4096, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (64, 4096) x (4096, 4096) -> (64, 4096)
C = torch.matmul(A, B)
return C
A = torch.randn(64, 4096, dtype=torch.float32, device='cuda')
B = torch.randn(4096, 4096, dtype=torch.float32, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchroniz... | matmul | NVIDIA RTX 4090 | {"gpu_name": "NVIDIA RTX 4090", "cuda_cores": 16384, "tensor_cores": 512, "memory_gb": 24, "memory_bandwidth_gbps": 1008, "base_clock_mhz": 2235, "boost_clock_mhz": 2520, "sm_count": 128, "fp32_tflops": 82.6, "fp16_tflops": 165.2, "tdp_watts": 450, "compute_capability": 8.9, "l2_cache_mb": 72} | 0.136019 | 2,147,483,648 | 69,206,016 | 31.030303 | 4 | {"M": 64, "N": 4096, "K": 4096, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (64, 4096) x (4096, 4096) -> (64, 4096)
C = torch.matmul(A, B)
return C
A = torch.randn(64, 4096, dtype=torch.float32, device='cuda')
B = torch.randn(4096, 4096, dtype=torch.float32, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchroniz... | matmul | NVIDIA H100 SXM | {"gpu_name": "NVIDIA H100 SXM", "cuda_cores": 16896, "tensor_cores": 528, "memory_gb": 80, "memory_bandwidth_gbps": 3350, "base_clock_mhz": 1095, "boost_clock_mhz": 1830, "sm_count": 132, "fp32_tflops": 67, "fp16_tflops": 989, "tdp_watts": 700, "compute_capability": 9.0, "l2_cache_mb": 50} | 0.082254 | 2,147,483,648 | 69,206,016 | 31.030303 | 4 | {"M": 64, "N": 4096, "K": 4096, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (64, 4096) x (4096, 4096) -> (64, 4096)
C = torch.matmul(A, B)
return C
A = torch.randn(64, 4096, dtype=torch.float32, device='cuda')
B = torch.randn(4096, 4096, dtype=torch.float32, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchroniz... | matmul | NVIDIA H100 PCIe | {"gpu_name": "NVIDIA H100 PCIe", "cuda_cores": 14592, "tensor_cores": 456, "memory_gb": 80, "memory_bandwidth_gbps": 2039, "base_clock_mhz": 1095, "boost_clock_mhz": 1620, "sm_count": 114, "fp32_tflops": 48, "fp16_tflops": 756, "tdp_watts": 350, "compute_capability": 9.0, "l2_cache_mb": 50} | 0.065441 | 2,147,483,648 | 69,206,016 | 31.030303 | 4 | {"M": 64, "N": 4096, "K": 4096, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (64, 4096) x (4096, 4096) -> (64, 4096)
C = torch.matmul(A, B)
return C
A = torch.randn(64, 4096, dtype=torch.float32, device='cuda')
B = torch.randn(4096, 4096, dtype=torch.float32, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchroniz... | matmul | NVIDIA RTX A6000 | {"gpu_name": "NVIDIA RTX A6000", "cuda_cores": 10752, "tensor_cores": 336, "memory_gb": 48, "memory_bandwidth_gbps": 768, "base_clock_mhz": 1410, "boost_clock_mhz": 1860, "sm_count": 84, "fp32_tflops": 38.7, "fp16_tflops": 77.4, "tdp_watts": 300, "compute_capability": 8.6, "l2_cache_mb": 6} | 0.200644 | 2,147,483,648 | 69,206,016 | 31.030303 | 4 | {"M": 64, "N": 4096, "K": 4096, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (64, 4096) x (4096, 4096) -> (64, 4096)
C = torch.matmul(A, B)
return C
A = torch.randn(64, 4096, dtype=torch.float16, device='cuda')
B = torch.randn(4096, 4096, dtype=torch.float16, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchroniz... | matmul | NVIDIA T4 | {"gpu_name": "NVIDIA T4", "cuda_cores": 2560, "tensor_cores": 320, "memory_gb": 16, "memory_bandwidth_gbps": 320, "base_clock_mhz": 585, "boost_clock_mhz": 1590, "sm_count": 40, "fp32_tflops": 8.1, "fp16_tflops": 65, "tdp_watts": 70, "compute_capability": 7.5, "l2_cache_mb": 4} | 0.161399 | 2,147,483,648 | 34,603,008 | 62.060606 | 2 | {"M": 64, "N": 4096, "K": 4096, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (64, 4096) x (4096, 4096) -> (64, 4096)
C = torch.matmul(A, B)
return C
A = torch.randn(64, 4096, dtype=torch.float16, device='cuda')
B = torch.randn(4096, 4096, dtype=torch.float16, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchroniz... | matmul | NVIDIA V100 | {"gpu_name": "NVIDIA V100", "cuda_cores": 5120, "tensor_cores": 640, "memory_gb": 32, "memory_bandwidth_gbps": 900, "base_clock_mhz": 1230, "boost_clock_mhz": 1530, "sm_count": 80, "fp32_tflops": 15.7, "fp16_tflops": 125, "tdp_watts": 300, "compute_capability": 7.0, "l2_cache_mb": 6} | 0.112352 | 2,147,483,648 | 34,603,008 | 62.060606 | 2 | {"M": 64, "N": 4096, "K": 4096, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (64, 4096) x (4096, 4096) -> (64, 4096)
C = torch.matmul(A, B)
return C
A = torch.randn(64, 4096, dtype=torch.float16, device='cuda')
B = torch.randn(4096, 4096, dtype=torch.float16, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchroniz... | matmul | NVIDIA A10G | {"gpu_name": "NVIDIA A10G", "cuda_cores": 9216, "tensor_cores": 288, "memory_gb": 24, "memory_bandwidth_gbps": 600, "base_clock_mhz": 885, "boost_clock_mhz": 1695, "sm_count": 80, "fp32_tflops": 31.2, "fp16_tflops": 62.5, "tdp_watts": 150, "compute_capability": 8.6, "l2_cache_mb": 6} | 0.115627 | 2,147,483,648 | 34,603,008 | 62.060606 | 2 | {"M": 64, "N": 4096, "K": 4096, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (64, 4096) x (4096, 4096) -> (64, 4096)
C = torch.matmul(A, B)
return C
A = torch.randn(64, 4096, dtype=torch.float16, device='cuda')
B = torch.randn(4096, 4096, dtype=torch.float16, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchroniz... | matmul | NVIDIA A100 40GB | {"gpu_name": "NVIDIA A100 40GB", "cuda_cores": 6912, "tensor_cores": 432, "memory_gb": 40, "memory_bandwidth_gbps": 1555, "base_clock_mhz": 765, "boost_clock_mhz": 1410, "sm_count": 108, "fp32_tflops": 19.5, "fp16_tflops": 312, "tdp_watts": 400, "compute_capability": 8.0, "l2_cache_mb": 40} | 0.078586 | 2,147,483,648 | 34,603,008 | 62.060606 | 2 | {"M": 64, "N": 4096, "K": 4096, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (64, 4096) x (4096, 4096) -> (64, 4096)
C = torch.matmul(A, B)
return C
A = torch.randn(64, 4096, dtype=torch.float16, device='cuda')
B = torch.randn(4096, 4096, dtype=torch.float16, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchroniz... | matmul | NVIDIA A100 80GB | {"gpu_name": "NVIDIA A100 80GB", "cuda_cores": 6912, "tensor_cores": 432, "memory_gb": 80, "memory_bandwidth_gbps": 2039, "base_clock_mhz": 765, "boost_clock_mhz": 1410, "sm_count": 108, "fp32_tflops": 19.5, "fp16_tflops": 312, "tdp_watts": 400, "compute_capability": 8.0, "l2_cache_mb": 40} | 0.075562 | 2,147,483,648 | 34,603,008 | 62.060606 | 2 | {"M": 64, "N": 4096, "K": 4096, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (64, 4096) x (4096, 4096) -> (64, 4096)
C = torch.matmul(A, B)
return C
A = torch.randn(64, 4096, dtype=torch.float16, device='cuda')
B = torch.randn(4096, 4096, dtype=torch.float16, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchroniz... | matmul | NVIDIA L4 | {"gpu_name": "NVIDIA L4", "cuda_cores": 7424, "tensor_cores": 232, "memory_gb": 24, "memory_bandwidth_gbps": 300, "base_clock_mhz": 795, "boost_clock_mhz": 2040, "sm_count": 58, "fp32_tflops": 30.3, "fp16_tflops": 121, "tdp_watts": 72, "compute_capability": 8.9, "l2_cache_mb": 48} | 0.127086 | 2,147,483,648 | 34,603,008 | 62.060606 | 2 | {"M": 64, "N": 4096, "K": 4096, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (64, 4096) x (4096, 4096) -> (64, 4096)
C = torch.matmul(A, B)
return C
A = torch.randn(64, 4096, dtype=torch.float16, device='cuda')
B = torch.randn(4096, 4096, dtype=torch.float16, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchroniz... | matmul | NVIDIA L40S | {"gpu_name": "NVIDIA L40S", "cuda_cores": 18176, "tensor_cores": 568, "memory_gb": 48, "memory_bandwidth_gbps": 864, "base_clock_mhz": 1110, "boost_clock_mhz": 2520, "sm_count": 142, "fp32_tflops": 91.6, "fp16_tflops": 183.2, "tdp_watts": 350, "compute_capability": 8.9, "l2_cache_mb": 96} | 0.06221 | 2,147,483,648 | 34,603,008 | 62.060606 | 2 | {"M": 64, "N": 4096, "K": 4096, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (64, 4096) x (4096, 4096) -> (64, 4096)
C = torch.matmul(A, B)
return C
A = torch.randn(64, 4096, dtype=torch.float16, device='cuda')
B = torch.randn(4096, 4096, dtype=torch.float16, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchroniz... | matmul | NVIDIA RTX 3090 | {"gpu_name": "NVIDIA RTX 3090", "cuda_cores": 10496, "tensor_cores": 328, "memory_gb": 24, "memory_bandwidth_gbps": 936, "base_clock_mhz": 1395, "boost_clock_mhz": 1695, "sm_count": 82, "fp32_tflops": 35.6, "fp16_tflops": 71, "tdp_watts": 350, "compute_capability": 8.6, "l2_cache_mb": 6} | 0.100997 | 2,147,483,648 | 34,603,008 | 62.060606 | 2 | {"M": 64, "N": 4096, "K": 4096, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (64, 4096) x (4096, 4096) -> (64, 4096)
C = torch.matmul(A, B)
return C
A = torch.randn(64, 4096, dtype=torch.float16, device='cuda')
B = torch.randn(4096, 4096, dtype=torch.float16, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchroniz... | matmul | NVIDIA RTX 4090 | {"gpu_name": "NVIDIA RTX 4090", "cuda_cores": 16384, "tensor_cores": 512, "memory_gb": 24, "memory_bandwidth_gbps": 1008, "base_clock_mhz": 2235, "boost_clock_mhz": 2520, "sm_count": 128, "fp32_tflops": 82.6, "fp16_tflops": 165.2, "tdp_watts": 450, "compute_capability": 8.9, "l2_cache_mb": 72} | 0.085405 | 2,147,483,648 | 34,603,008 | 62.060606 | 2 | {"M": 64, "N": 4096, "K": 4096, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (64, 4096) x (4096, 4096) -> (64, 4096)
C = torch.matmul(A, B)
return C
A = torch.randn(64, 4096, dtype=torch.float16, device='cuda')
B = torch.randn(4096, 4096, dtype=torch.float16, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchroniz... | matmul | NVIDIA H100 SXM | {"gpu_name": "NVIDIA H100 SXM", "cuda_cores": 16896, "tensor_cores": 528, "memory_gb": 80, "memory_bandwidth_gbps": 3350, "base_clock_mhz": 1095, "boost_clock_mhz": 1830, "sm_count": 132, "fp32_tflops": 67, "fp16_tflops": 989, "tdp_watts": 700, "compute_capability": 9.0, "l2_cache_mb": 50} | 0.056992 | 2,147,483,648 | 34,603,008 | 62.060606 | 2 | {"M": 64, "N": 4096, "K": 4096, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (64, 4096) x (4096, 4096) -> (64, 4096)
C = torch.matmul(A, B)
return C
A = torch.randn(64, 4096, dtype=torch.float16, device='cuda')
B = torch.randn(4096, 4096, dtype=torch.float16, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchroniz... | matmul | NVIDIA H100 PCIe | {"gpu_name": "NVIDIA H100 PCIe", "cuda_cores": 14592, "tensor_cores": 456, "memory_gb": 80, "memory_bandwidth_gbps": 2039, "base_clock_mhz": 1095, "boost_clock_mhz": 1620, "sm_count": 114, "fp32_tflops": 48, "fp16_tflops": 756, "tdp_watts": 350, "compute_capability": 9.0, "l2_cache_mb": 50} | 0.061732 | 2,147,483,648 | 34,603,008 | 62.060606 | 2 | {"M": 64, "N": 4096, "K": 4096, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (64, 4096) x (4096, 4096) -> (64, 4096)
C = torch.matmul(A, B)
return C
A = torch.randn(64, 4096, dtype=torch.float16, device='cuda')
B = torch.randn(4096, 4096, dtype=torch.float16, device='cuda')
C = matmul_kernel(A, B)
torch.cuda.synchroniz... | matmul | NVIDIA RTX A6000 | {"gpu_name": "NVIDIA RTX A6000", "cuda_cores": 10752, "tensor_cores": 336, "memory_gb": 48, "memory_bandwidth_gbps": 768, "base_clock_mhz": 1410, "boost_clock_mhz": 1860, "sm_count": 84, "fp32_tflops": 38.7, "fp16_tflops": 77.4, "tdp_watts": 300, "compute_capability": 8.6, "l2_cache_mb": 6} | 0.125994 | 2,147,483,648 | 34,603,008 | 62.060606 | 2 | {"M": 64, "N": 4096, "K": 4096, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (128, 64) x (64, 64) -> (128, 64)
C = torch.matmul(A, B)
return C
A = torch.randn(128, 64, dtype=torch.float32, device='cuda')
B = torch.randn(64, 64, 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.034175 | 1,048,576 | 81,920 | 12.8 | 4 | {"M": 128, "N": 64, "K": 64, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (128, 64) x (64, 64) -> (128, 64)
C = torch.matmul(A, B)
return C
A = torch.randn(128, 64, dtype=torch.float32, device='cuda')
B = torch.randn(64, 64, 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.034698 | 1,048,576 | 81,920 | 12.8 | 4 | {"M": 128, "N": 64, "K": 64, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (128, 64) x (64, 64) -> (128, 64)
C = torch.matmul(A, B)
return C
A = torch.randn(128, 64, dtype=torch.float32, device='cuda')
B = torch.randn(64, 64, 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.055997 | 1,048,576 | 81,920 | 12.8 | 4 | {"M": 128, "N": 64, "K": 64, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (128, 64) x (64, 64) -> (128, 64)
C = torch.matmul(A, B)
return C
A = torch.randn(128, 64, dtype=torch.float32, device='cuda')
B = torch.randn(64, 64, 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.035326 | 1,048,576 | 81,920 | 12.8 | 4 | {"M": 128, "N": 64, "K": 64, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (128, 64) x (64, 64) -> (128, 64)
C = torch.matmul(A, B)
return C
A = torch.randn(128, 64, dtype=torch.float32, device='cuda')
B = torch.randn(64, 64, 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.052996 | 1,048,576 | 81,920 | 12.8 | 4 | {"M": 128, "N": 64, "K": 64, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (128, 64) x (64, 64) -> (128, 64)
C = torch.matmul(A, B)
return C
A = torch.randn(128, 64, dtype=torch.float32, device='cuda')
B = torch.randn(64, 64, 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.052637 | 1,048,576 | 81,920 | 12.8 | 4 | {"M": 128, "N": 64, "K": 64, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (128, 64) x (64, 64) -> (128, 64)
C = torch.matmul(A, B)
return C
A = torch.randn(128, 64, dtype=torch.float32, device='cuda')
B = torch.randn(64, 64, 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.042771 | 1,048,576 | 81,920 | 12.8 | 4 | {"M": 128, "N": 64, "K": 64, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (128, 64) x (64, 64) -> (128, 64)
C = torch.matmul(A, B)
return C
A = torch.randn(128, 64, dtype=torch.float32, device='cuda')
B = torch.randn(64, 64, 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.052276 | 1,048,576 | 81,920 | 12.8 | 4 | {"M": 128, "N": 64, "K": 64, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (128, 64) x (64, 64) -> (128, 64)
C = torch.matmul(A, B)
return C
A = torch.randn(128, 64, dtype=torch.float32, device='cuda')
B = torch.randn(64, 64, 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.033931 | 1,048,576 | 81,920 | 12.8 | 4 | {"M": 128, "N": 64, "K": 64, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (128, 64) x (64, 64) -> (128, 64)
C = torch.matmul(A, B)
return C
A = torch.randn(128, 64, dtype=torch.float32, device='cuda')
B = torch.randn(64, 64, 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.023642 | 1,048,576 | 81,920 | 12.8 | 4 | {"M": 128, "N": 64, "K": 64, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (128, 64) x (64, 64) -> (128, 64)
C = torch.matmul(A, B)
return C
A = torch.randn(128, 64, dtype=torch.float32, device='cuda')
B = torch.randn(64, 64, 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.060411 | 1,048,576 | 81,920 | 12.8 | 4 | {"M": 128, "N": 64, "K": 64, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (128, 64) x (64, 64) -> (128, 64)
C = torch.matmul(A, B)
return C
A = torch.randn(128, 64, dtype=torch.float32, device='cuda')
B = torch.randn(64, 64, 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.025196 | 1,048,576 | 81,920 | 12.8 | 4 | {"M": 128, "N": 64, "K": 64, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (128, 64) x (64, 64) -> (128, 64)
C = torch.matmul(A, B)
return C
A = torch.randn(128, 64, dtype=torch.float16, device='cuda')
B = torch.randn(64, 64, 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.019356 | 1,048,576 | 40,960 | 25.6 | 2 | {"M": 128, "N": 64, "K": 64, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (128, 64) x (64, 64) -> (128, 64)
C = torch.matmul(A, B)
return C
A = torch.randn(128, 64, dtype=torch.float16, device='cuda')
B = torch.randn(64, 64, 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.054633 | 1,048,576 | 40,960 | 25.6 | 2 | {"M": 128, "N": 64, "K": 64, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (128, 64) x (64, 64) -> (128, 64)
C = torch.matmul(A, B)
return C
A = torch.randn(128, 64, dtype=torch.float16, device='cuda')
B = torch.randn(64, 64, 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.052828 | 1,048,576 | 40,960 | 25.6 | 2 | {"M": 128, "N": 64, "K": 64, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (128, 64) x (64, 64) -> (128, 64)
C = torch.matmul(A, B)
return C
A = torch.randn(128, 64, dtype=torch.float16, device='cuda')
B = torch.randn(64, 64, 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.042679 | 1,048,576 | 40,960 | 25.6 | 2 | {"M": 128, "N": 64, "K": 64, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (128, 64) x (64, 64) -> (128, 64)
C = torch.matmul(A, B)
return C
A = torch.randn(128, 64, dtype=torch.float16, device='cuda')
B = torch.randn(64, 64, 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.031471 | 1,048,576 | 40,960 | 25.6 | 2 | {"M": 128, "N": 64, "K": 64, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (128, 64) x (64, 64) -> (128, 64)
C = torch.matmul(A, B)
return C
A = torch.randn(128, 64, dtype=torch.float16, device='cuda')
B = torch.randn(64, 64, 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.039467 | 1,048,576 | 40,960 | 25.6 | 2 | {"M": 128, "N": 64, "K": 64, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (128, 64) x (64, 64) -> (128, 64)
C = torch.matmul(A, B)
return C
A = torch.randn(128, 64, dtype=torch.float16, device='cuda')
B = torch.randn(64, 64, 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.042789 | 1,048,576 | 40,960 | 25.6 | 2 | {"M": 128, "N": 64, "K": 64, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (128, 64) x (64, 64) -> (128, 64)
C = torch.matmul(A, B)
return C
A = torch.randn(128, 64, dtype=torch.float16, device='cuda')
B = torch.randn(64, 64, 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.037702 | 1,048,576 | 40,960 | 25.6 | 2 | {"M": 128, "N": 64, "K": 64, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (128, 64) x (64, 64) -> (128, 64)
C = torch.matmul(A, B)
return C
A = torch.randn(128, 64, dtype=torch.float16, device='cuda')
B = torch.randn(64, 64, 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.05517 | 1,048,576 | 40,960 | 25.6 | 2 | {"M": 128, "N": 64, "K": 64, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (128, 64) x (64, 64) -> (128, 64)
C = torch.matmul(A, B)
return C
A = torch.randn(128, 64, dtype=torch.float16, device='cuda')
B = torch.randn(64, 64, 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.042453 | 1,048,576 | 40,960 | 25.6 | 2 | {"M": 128, "N": 64, "K": 64, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (128, 64) x (64, 64) -> (128, 64)
C = torch.matmul(A, B)
return C
A = torch.randn(128, 64, dtype=torch.float16, device='cuda')
B = torch.randn(64, 64, 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.05906 | 1,048,576 | 40,960 | 25.6 | 2 | {"M": 128, "N": 64, "K": 64, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (128, 64) x (64, 64) -> (128, 64)
C = torch.matmul(A, B)
return C
A = torch.randn(128, 64, dtype=torch.float16, device='cuda')
B = torch.randn(64, 64, 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.048297 | 1,048,576 | 40,960 | 25.6 | 2 | {"M": 128, "N": 64, "K": 64, "dtype": "float16"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (128, 256) x (256, 64) -> (128, 64)
C = torch.matmul(A, B)
return C
A = torch.randn(128, 256, dtype=torch.float32, device='cuda')
B = torch.randn(256, 64, 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.02826 | 4,194,304 | 229,376 | 18.285714 | 4 | {"M": 128, "N": 64, "K": 256, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (128, 256) x (256, 64) -> (128, 64)
C = torch.matmul(A, B)
return C
A = torch.randn(128, 256, dtype=torch.float32, device='cuda')
B = torch.randn(256, 64, 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.042062 | 4,194,304 | 229,376 | 18.285714 | 4 | {"M": 128, "N": 64, "K": 256, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (128, 256) x (256, 64) -> (128, 64)
C = torch.matmul(A, B)
return C
A = torch.randn(128, 256, dtype=torch.float32, device='cuda')
B = torch.randn(256, 64, 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.073755 | 4,194,304 | 229,376 | 18.285714 | 4 | {"M": 128, "N": 64, "K": 256, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (128, 256) x (256, 64) -> (128, 64)
C = torch.matmul(A, B)
return C
A = torch.randn(128, 256, dtype=torch.float32, device='cuda')
B = torch.randn(256, 64, 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.043235 | 4,194,304 | 229,376 | 18.285714 | 4 | {"M": 128, "N": 64, "K": 256, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (128, 256) x (256, 64) -> (128, 64)
C = torch.matmul(A, B)
return C
A = torch.randn(128, 256, dtype=torch.float32, device='cuda')
B = torch.randn(256, 64, 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.033615 | 4,194,304 | 229,376 | 18.285714 | 4 | {"M": 128, "N": 64, "K": 256, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (128, 256) x (256, 64) -> (128, 64)
C = torch.matmul(A, B)
return C
A = torch.randn(128, 256, dtype=torch.float32, device='cuda')
B = torch.randn(256, 64, 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.038955 | 4,194,304 | 229,376 | 18.285714 | 4 | {"M": 128, "N": 64, "K": 256, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (128, 256) x (256, 64) -> (128, 64)
C = torch.matmul(A, B)
return C
A = torch.randn(128, 256, dtype=torch.float32, device='cuda')
B = torch.randn(256, 64, 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.039749 | 4,194,304 | 229,376 | 18.285714 | 4 | {"M": 128, "N": 64, "K": 256, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (128, 256) x (256, 64) -> (128, 64)
C = torch.matmul(A, B)
return C
A = torch.randn(128, 256, dtype=torch.float32, device='cuda')
B = torch.randn(256, 64, 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.032868 | 4,194,304 | 229,376 | 18.285714 | 4 | {"M": 128, "N": 64, "K": 256, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (128, 256) x (256, 64) -> (128, 64)
C = torch.matmul(A, B)
return C
A = torch.randn(128, 256, dtype=torch.float32, device='cuda')
B = torch.randn(256, 64, 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.040253 | 4,194,304 | 229,376 | 18.285714 | 4 | {"M": 128, "N": 64, "K": 256, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (128, 256) x (256, 64) -> (128, 64)
C = torch.matmul(A, B)
return C
A = torch.randn(128, 256, dtype=torch.float32, device='cuda')
B = torch.randn(256, 64, 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.038477 | 4,194,304 | 229,376 | 18.285714 | 4 | {"M": 128, "N": 64, "K": 256, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (128, 256) x (256, 64) -> (128, 64)
C = torch.matmul(A, B)
return C
A = torch.randn(128, 256, dtype=torch.float32, device='cuda')
B = torch.randn(256, 64, 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.04323 | 4,194,304 | 229,376 | 18.285714 | 4 | {"M": 128, "N": 64, "K": 256, "dtype": "float32"} |
import torch
def matmul_kernel(A, B):
# Matrix multiplication: (128, 256) x (256, 64) -> (128, 64)
C = torch.matmul(A, B)
return C
A = torch.randn(128, 256, dtype=torch.float32, device='cuda')
B = torch.randn(256, 64, 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.035189 | 4,194,304 | 229,376 | 18.285714 | 4 | {"M": 128, "N": 64, "K": 256, "dtype": "float32"} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.