Example #1
0
 public static extern af_err af_identity(out IntPtr array_out, uint ndims, [In] long[] dim_dims, af_dtype type);
Example #2
0
 public static extern af_err af_get_size_of(out UIntPtr size_size, af_dtype type);
Example #3
0
 public static extern af_err af_range(out IntPtr array_out, uint ndims, [In] long[] dim_dims, int seq_dim, af_dtype type);
Example #4
0
 public static extern af_err af_iota(out IntPtr array_out, uint ndims, [In] long[] dim_dims, uint t_ndims, [In] long[] dim_tdims, af_dtype type);
Example #5
0
 public static extern af_err af_constant(out IntPtr array_arr, double val, uint ndims, [In] long[] dim_dims, af_dtype type);
Example #6
0
 public static extern af_err af_constant_complex(out IntPtr array_arr, double real, double imag, uint ndims, [In] long[] dim_dims, af_dtype type);
Example #7
0
 public static extern af_err af_get_type(out af_dtype type, IntPtr array_arr);
Example #8
0
 public static extern af_err af_create_array(out IntPtr array_arr, [In] uint[,,] data, uint ndims, [In] long[] dim_dims, af_dtype type);
Example #9
0
 public static extern af_err af_create_handle(out IntPtr array_arr, uint ndims, [In] long[] dim_dims, af_dtype type);
Example #10
0
 public static extern af_err af_cast(out IntPtr array_out, IntPtr array_in, af_dtype type);
Example #11
0
 public static extern af_err af_create_strided_array(out IntPtr array_arr, [In] uint[,,] data, long dim_offset, uint ndims, [In] long[] dim_dims, [In] long[] dim_strides, af_dtype ty, af_source location);
Example #12
0
 public static extern af_err af_random_normal(out IntPtr array_out, uint ndims, [In] long[] dim_dims, af_dtype type, IntPtr engine);
Example #13
0
 public static extern af_err af_device_array(out IntPtr array_arr, [In] byte[,,,] data, uint ndims, [In] long[] dim_dims, af_dtype type);