Esempio n. 1
0
 internal extern static unsafe IntPtr CreateProgramWithBinary(IntPtr context, uint num_devices, IntPtr *device_list, IntPtr *lengths, byte **binaries, int *binary_status, [OutAttribute] osuTK.Compute.CL10.ErrorCode *errcode_ret);
Esempio n. 2
0
 internal extern static unsafe IntPtr CreateProgramWithSource(IntPtr context, uint count, String[] strings, IntPtr *lengths, [OutAttribute] osuTK.Compute.CL10.ErrorCode *errcode_ret);
Esempio n. 3
0
 internal extern static unsafe IntPtr CreateContextFromType(IntPtr *properties, DeviceTypeFlags device_type, IntPtr pfn_notify, IntPtr user_data, [OutAttribute] osuTK.Compute.CL10.ErrorCode *errcode_ret);
Esempio n. 4
0
 internal extern static unsafe IntPtr CreateKernel(IntPtr program, String kernel_name, [OutAttribute] osuTK.Compute.CL10.ErrorCode *errcode_ret);
Esempio n. 5
0
 internal extern static unsafe IntPtr CreateContext(IntPtr *properties, uint num_devices, IntPtr *devices, IntPtr pfn_notify, IntPtr user_data, [OutAttribute] osuTK.Compute.CL10.ErrorCode *errcode_ret);
Esempio n. 6
0
 internal extern static unsafe IntPtr CreateCommandQueue(IntPtr context, IntPtr device, CommandQueueFlags properties, [OutAttribute] osuTK.Compute.CL10.ErrorCode *errcode_ret);
Esempio n. 7
0
 internal extern static unsafe IntPtr CreateBuffer(IntPtr context, MemFlags flags, IntPtr size, IntPtr host_ptr, [OutAttribute] osuTK.Compute.CL10.ErrorCode *errcode_ret);
Esempio n. 8
0
 public static unsafe IntPtr CreateContext(ContextProperties *properties, uint num_devices, IntPtr *devices, IntPtr pfn_notify, IntPtr user_data, osuTK.Compute.CL10.ErrorCode *errcode_ret)
 {
     return(CreateContext((IntPtr *)properties, num_devices, devices, pfn_notify, user_data, errcode_ret));
 }
Esempio n. 9
0
 public static unsafe IntPtr CreateContextFromType <T4>(ContextProperties *properties, DeviceTypeFlags device_type, IntPtr pfn_notify, ref T4 user_data, osuTK.Compute.CL10.ErrorCode *errcode_ret)
     where T4 : struct
 {
     return(CreateContextFromType((IntPtr *)properties, device_type, pfn_notify, ref user_data, errcode_ret));
 }