예제 #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);
예제 #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);
예제 #3
0
 public static extern IntPtr GetExtensionFunctionAddressForPlatform(
     CLPlatformHandle platform,
     String func_name);