MCPcopy Create free account
hub / github.com/Rust-GPU/rust-cuda / test_init

Function test_init

crates/cust/src/device.rs:385–388  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

383 use std::error::Error;
384
385 fn test_init() -> Result<(), Box<dyn Error>> {
386 crate::init(crate::CudaFlags::empty())?;
387 Ok(())
388 }
389
390 #[test]
391 fn test_num_devices() -> Result<(), Box<dyn Error>> {

Callers 4

test_num_devicesFunction · 0.85
test_devicesFunction · 0.85
test_get_nameFunction · 0.85
test_get_memoryFunction · 0.85

Calls 1

initFunction · 0.70

Tested by

no test coverage detected