← GPU results

gpu/elementwise

profile: nvidia-gpuhardware: NVIDIA A100 80GB PCIedate: 2026-11-21 08:23:11Ztenferro: ce9125d0cff4unit: ms
Accepted result provenance. Source run 44883416365, attempt 1 · raw artifact 14700186475 · provenance and SHA-256 digests. Raw artifacts have finite retention; this artifact download availability ends at 2027-02-19T08:07:55Z (GitHub access required). Expired artifacts are not replaced by another run.

Throughput-regime cases (1)

Grouped by the regime the suite declares. This regime is a workload class, not a measured compute- or bandwidth-bound classification: a memory-bound case can take the same time here as at a small shape.

Absolute medians on a log time axis. Bars are shorter for faster calls; the dashed line is the best reference for each case.

casegroupvs PyTorchvs JAXnot measurednot okflags
elementwise_chain_f64_1melementwise_chain-----

Charts below are ordered best first (smallest ratio).

elementwise_chain_f64_1m elementwise_chain · n=7

bar = median time (log scale) · shorter (left) is faster · dashed line = PyTorch (0.3162 ms)jax-cuda0.1043 mspytorch-cuda0.3162 mstenferro-cuda-eager1.001 ms · 3.17xtenferro-cuda-trace0.3426 ms · 1.08x

Latency and per-call overhead (1)

Dominated by launch, dispatch and synchronization; these numbers are overhead, not device throughput.

casegroupvs PyTorchvs JAXnot measurednot okflags
elementwise_chain_f64_1kelementwise_chaintrace 1.42xtrace 1.92x---

Charts below are ordered best first (smallest ratio).

elementwise_chain_f64_1k elementwise_chain · n=7

bar = median time (log scale) · shorter (left) is faster · dashed line = PyTorch (0.1292 ms)jax-cuda0.09531 mspytorch-cuda0.1292 mstenferro-cuda-eager0.6508 ms · 5.04xtenferro-cuda-trace0.1834 ms · 1.42x

Original report

GPU Benchmark Results

GPU Information

CPU Information

Median time is reported in milliseconds for ok records. Inputs are prepared on the GPU before timed runs; initial host-to-device transfer is outside the timed region. Timed runs include the host API call and backend-native device synchronization. tenferro-rs CUDA uses the explicit tenferro-rs synchronize API without downloading result tensors in the timed region. Dense and einsum inputs use the same deterministic benchmark generator in the Rust and Python runners; host-to-device layout conversion remains outside the timed region. tenferro-rs uses native column-major GPU tensors; PyTorch and vendor-wrapper columns use their native row-major framework tensors unless noted. The cuSOLVER column is torch.linalg with preferred_linalg_library=cusolver; for SVD it pins driver=gesvd as a QR-based cuSOLVER comparison. tenferro-rs CUDA SVD uses its backend default driver policy, currently gesvdj for matrices with both dimensions at most 1024 and gesvd otherwise. Non-ok cells show the structured backend status.

gpu/elementwise / elementwise_chain / allocating output

Problem tenferro-rs CUDA trace tenferro-rs CUDA eager PyTorch CUDA JAX CUDA JIT
elementwise_chain_f64_1k 0.183 0.651 0.129 0.095
elementwise_chain_f64_1m 0.343 1.001 0.316 0.104

Sampling

JAX uses compiled JIT execution; compilation, planning and numerical checks are outside timing. PyTorch uses eager execution. Samples retain every output until native synchronization and clock stop. Values are normalized per declared operation.

Problem Backend Ops/sample Raw batch ms Setup and precision
elementwise_chain_f64_1k tenferro-cuda-trace 16 2.90381, 2.97112, 2.92503, 2.96847, 2.934, 2.97787, 2.90475 one caller-held CUDA engine for every sample; each Runtime::run call pays its own device-completion barrier inside the batch interval; inputs, plans and compilation outside clocks; native declared dtype; no AD recording
elementwise_chain_f64_1m tenferro-cuda-trace 4 1.37874, 1.37039, 1.37034, 1.3768, 1.37133, 1.36859, 1.36957 one caller-held CUDA engine for every sample; each Runtime::run call pays its own device-completion barrier inside the batch interval; inputs, plans and compilation outside clocks; native declared dtype; no AD recording
elementwise_chain_f64_1k tenferro-cuda-eager 4 2.62355, 2.5959, 2.62002, 2.60338, 2.6089, 2.60065, 2.59281 one entered eager session; input wrapping, transfers, argument handles, initialization and validation outside clocks; native declared dtype; no AD recording
elementwise_chain_f64_1m tenferro-cuda-eager 2 2.01303, 2.03852, 2.01999, 1.98759, 2.00134, 2.00169, 1.99732 one entered eager session; input wrapping, transfers, argument handles, initialization and validation outside clocks; native declared dtype; no AD recording
elementwise_chain_f64_1k pytorch-cuda 16 2.05398, 2.07268, 2.05192, 2.04188, 2.06751, 2.08438, 2.08783 inputs/transfers, plans, compilation, lazy initialization and validation outside clocks; JAX x64/highest; PyTorch TF32 disabled
elementwise_chain_f64_1m pytorch-cuda 8 2.51609, 2.54098, 2.52935, 2.52497, 2.5323, 2.52788, 2.52933 inputs/transfers, plans, compilation, lazy initialization and validation outside clocks; JAX x64/highest; PyTorch TF32 disabled
elementwise_chain_f64_1k jax-cuda 16 1.34648, 1.44718, 1.52439, 1.52491, 1.8384, 1.96932, 1.94472 inputs/transfers, plans, compilation, lazy initialization and validation outside clocks; JAX x64/highest; PyTorch TF32 disabled
elementwise_chain_f64_1m jax-cuda 16 1.66949, 1.64654, 1.69285, 1.73934, 1.6587, 1.60397, 1.76678 inputs/transfers, plans, compilation, lazy initialization and validation outside clocks; JAX x64/highest; PyTorch TF32 disabled