MCPcopy Index your code
hub / github.com/arrayfire/arrayfire-rust / test_backend

Function test_backend

examples/unified.rs:20–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18
19#[allow(unused_must_use)]
20fn test_backend() {
21 info();
22
23 println!("Create a 10-by-10 matrix of random floats on the compute device");
24 let num_rows: u64 = 10;
25 let num_cols: u64 = 10;
26 let dims = Dim4::new(&[num_rows, num_cols, 1, 1]);
27
28 helper(dims)
29}
30
31#[allow(unused_must_use)]
32fn main() {

Callers 1

mainFunction · 0.85

Calls 2

infoFunction · 0.85
helperFunction · 0.85

Tested by

no test coverage detected