示例#1
0
 internal static extern cl_int clGetDeviceIDs(cl_platform_id platform, [MarshalAs(UnmanagedType.U8)] DeviceType device_type, cl_uint num_entries, [Out][MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 2)] cl_device_id[] devices, out cl_uint num_devices);
示例#2
0
 internal static extern cl_int clGetPlatformInfo(cl_platform_id platform, cl_platform_info param_name, IntPtr param_value_size, void *param_value, out IntPtr param_value_size_ret);