← GPU results

gpu/dense_throughput

profile: nvidia-gpuhardware: NVIDIA A100 80GB PCIedate: 2026-11-14 06:24:19Ztenferro: 9a850b061554unit: ms
Accepted result provenance. Source run 43565224663, attempt 1 · raw artifact 14102567160 · provenance and SHA-256 digests. Raw artifacts have finite retention; this artifact download availability ends at 2027-02-12T06:12:54Z (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_1m_throughputelementwise_chain-----

Charts below are ordered best first (smallest ratio).

elementwise_chain_f64_1m_throughput elementwise_chain · n=7

bar = median time (log scale) · shorter (left) is fastertenferro-cuda-trace-deferred-batch0.5159 ms

Latency and per-call overhead (2)

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

2 of these cases were timed in deferred-batch mode (one retirement per K calls), so each row is the framework's per-call cost amortized over the batch, not a single call's latency.

casegroupvs PyTorchvs JAXnot measurednot okflags
dense_batched_matmul_f64_b16_32_throughputbatched_matmul----regression
elementwise_chain_f64_1k_throughputelementwise_chain----regression

Charts below are ordered best first (smallest ratio).

dense_batched_matmul_f64_b16_32_throughput batched_matmul · n=7

bar = median time (log scale) · shorter (left) is fastertenferro-cuda-trace-deferred-batch0.03035 ms

elementwise_chain_f64_1k_throughput elementwise_chain · n=7

bar = median time (log scale) · shorter (left) is fastertenferro-cuda-trace-deferred-batch0.3027 ms

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. Rows whose backend name ends in -deferred-batch are throughput mode: each timed sample enqueues K deferred prepared runs (Runtime::run_prepared_deferred) in one caller-held session and pays one retirement barrier (finish_prepared), so the reported per-operation time is sample_ms / K. They measure batched throughput and are not comparable with, and never averaged together with, per-call latency rows.

gpu/dense_throughput / batched_matmul / allocating output

Problem tenferro-rs CUDA trace (deferred batch throughput)
dense_batched_matmul_f64_b16_32_throughput 0.030

gpu/dense_throughput / elementwise_chain / allocating output

Problem tenferro-rs CUDA trace (deferred batch throughput)
elementwise_chain_f64_1k_throughput 0.303
elementwise_chain_f64_1m_throughput 0.516

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
dense_batched_matmul_f64_b16_32_throughput tenferro-cuda-trace-deferred-batch 64 1.94967, 1.95282, 1.94253, 1.96573, 1.92965, 1.93064, 1.92023 one caller-held CUDA engine for every sample; each timed sample enqueues K prepared Runtime::run calls and pays one caller-side retirement barrier; per-call time is sample_ms / K; inputs, plans and compilation outside clocks; native declared dtype; no AD recording
elementwise_chain_f64_1k_throughput tenferro-cuda-trace-deferred-batch 64 19.5772, 19.6777, 19.5754, 19.3706, 19.2911, 19.3385, 19.3157 one caller-held CUDA engine for every sample; each timed sample enqueues K prepared Runtime::run calls and pays one caller-side retirement barrier; per-call time is sample_ms / K; inputs, plans and compilation outside clocks; native declared dtype; no AD recording
elementwise_chain_f64_1m_throughput tenferro-cuda-trace-deferred-batch 32 16.5396, 16.7995, 16.4353, 16.5082, 16.4697, 16.434, 16.5173 one caller-held CUDA engine for every sample; each timed sample enqueues K prepared Runtime::run calls and pays one caller-side retirement barrier; per-call time is sample_ms / K; inputs, plans and compilation outside clocks; native declared dtype; no AD recording