algeon-cudf 0.1.3

Safe libcudf execution component for Algeon
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Runtime device integration tests; single-GPU (always run).

use cudf::{DeviceId, Runtime};

fn runtime_device_accessor_returns_build_device() {
    let rt = Runtime::builder().with_device(DeviceId::new(0).unwrap()).build().unwrap();
    assert_eq!(rt.device(), DeviceId::new(0).unwrap());
}

pub(crate) const CASES: &[(&str, fn())] = &[(
    "runtime_contracts::runtime_device_tests::runtime_device_accessor_returns_build_device",
    runtime_device_accessor_returns_build_device,
)];