Macro arrayfire::af_print
[−]
[src]
macro_rules! af_print { [$msg: expr, $x: ident] => { ... }; }
Print given message before printing out the Array to standard output
Examples
use arrayfire::{Dim4, print_gen, randu}; let dims = Dim4::new(&[3, 1, 1, 1]); let a = randu::<f32>(dims); af_print!("Create a 5-by-3 matrix of random floats on the GPU", a);