Skip to main content

Crate test_gpu

Crate test_gpu 

Source

Functionsยง

compute_smoke ๐Ÿ”’
Run a small end-to-end compute check on device: y = softmax(x @ w + b), compared elementwise against the same computation on CPU. Catches missing-ISA kernels, mislinked HIP libraries, and silent CPU fallback.
main ๐Ÿ”’