[][src]Macro arrayfire::af_print

macro_rules! af_print {
    [$msg: expr, $x: expr] => { ... };
}

Print given message before printing out the Array to standard output

Examples

use arrayfire::{Dim4, print_gen, randu, af_print};
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);