Skip to main content

Crate xlog_cuda_tests

Crate xlog_cuda_tests 

Source
Expand description

xlog-cuda-tests: Comprehensive CUDA kernel certification suite

§Usage

# Full certification (seconds to minutes; GPU-dependent)
cargo test -p xlog-cuda-tests --test certification_suite --release

# Quick smoke test (sub-second to seconds; GPU-dependent)
cargo test -p xlog-cuda-tests --test quick_smoke --release

# Single category
cargo test -p xlog-cuda-tests --test category_isolation c03 --release

Re-exports§

pub use harness::CategoryResult;
pub use harness::CertificationResults;
pub use harness::FailureDiagnostic;
pub use harness::TestContext;
pub use harness::TestResult;
pub use harness::TestStatus;

Modules§

categories
Test category modules covering all 24 edge case categories.
harness
Test harness infrastructure for CUDA certification tests.
properties
Property-based tests for CUDA kernel correctness.

Macros§

gpu_test
Macro for tests requiring CUDA device - panics if not available.
gpu_test_skip
Macro for tests requiring CUDA device - skips if not available.
run_test
Helper macro for running a test and capturing results.