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

Function test_ordering

crates/cust/src/memory/unified.rs:842–848  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

840
841 #[test]
842 fn test_ordering() {
843 let _context = crate::quick_init().unwrap();
844 let x = UnifiedBox::new(1u64).unwrap();
845 let y = UnifiedBox::new(2u64).unwrap();
846
847 assert!(x < y);
848 }
849}
850#[cfg(test)]
851mod test_unified_buffer {

Callers

nothing calls this directly

Calls 2

quick_initFunction · 0.85
newFunction · 0.85

Tested by

no test coverage detected