Exemple #1
0
 public extern static OpenCLErrorCode GetDeviceIDs(
     CLPlatformHandle platform,
     OpenCLDeviceType device_type,
     Int32 num_entries,
     [Out, MarshalAs(UnmanagedType.LPArray)] CLDeviceHandle[] devices,
     out Int32 num_devices);
Exemple #2
0
 public extern static OpenCLErrorCode GetPlatformInfo(
     CLPlatformHandle platform,
     OpenCLPlatformInfo param_name,
     IntPtr param_value_size,
     IntPtr param_value,
     out IntPtr param_value_size_ret);