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

Function test_get_memory

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

Source from the content-addressed store, hash-verified

416
417 #[test]
418 fn test_get_memory() -> Result<(), Box<dyn Error>> {
419 test_init()?;
420 let memory = Device::get_device(0)?.total_memory()?;
421 println!("{}", memory);
422 Ok(())
423 }
424}

Callers

nothing calls this directly

Calls 2

test_initFunction · 0.85
total_memoryMethod · 0.80

Tested by

no test coverage detected