Esempio n. 1
0
 public static extern ComputeErrorCode GetPlatformInfo(
     CLPlatformHandle platform,
     ComputePlatformInfo param_name,
     IntPtr param_value_size,
     IntPtr param_value,
     out IntPtr param_value_size_ret);
Esempio n. 2
0
 public static extern ComputeErrorCode GetDeviceIDs(
     CLPlatformHandle platform,
     ComputeDeviceTypes device_type,
     Int32 num_entries,
     [Out, MarshalAs(UnmanagedType.LPArray)] CLDeviceHandle[] devices,
     out Int32 num_devices);
Esempio n. 3
0
 public static extern IntPtr GetExtensionFunctionAddressForPlatform(
     CLPlatformHandle platform,
     String func_name);