Example #1
0
 public extern static OpenCLErrorCode GetSupportedImageFormats(
     CLContextHandle context,
     OpenCLMemoryFlags flags,
     OpenCLMemoryType image_type,
     Int32 num_entries,
     [Out, MarshalAs(UnmanagedType.LPArray)] OpenCLImageFormat[] image_formats,
     out Int32 num_image_formats);
Example #2
0
 public extern static CLMemoryHandle CreateFromGLTexture3D(
     CLContextHandle context,
     OpenCLMemoryFlags flags,
     Int32 target,
     Int32 miplevel,
     Int32 texture,
     out OpenCLErrorCode errcode_ret);
Example #3
0
 public extern static CLProgramHandle CreateProgramWithBinary(
     CLContextHandle context,
     Int32 num_devices,
     [MarshalAs(UnmanagedType.LPArray)] CLDeviceHandle[] device_list,
     [MarshalAs(UnmanagedType.LPArray)] IntPtr[] lengths,
     [MarshalAs(UnmanagedType.LPArray)] IntPtr[] binaries,
     [MarshalAs(UnmanagedType.LPArray)] Int32[] binary_status,
     out OpenCLErrorCode errcode_ret);
Example #4
0
 public extern static CLMemoryHandle CreateImage2D(
     CLContextHandle context,
     OpenCLMemoryFlags flags,
     ref OpenCLImageFormat image_format,
     IntPtr image_width,
     IntPtr image_height,
     IntPtr image_row_pitch,
     IntPtr host_ptr,
     out OpenCLErrorCode errcode_ret);
Example #5
0
 public extern static OpenCLErrorCode GetSupportedImageFormats(
     CLContextHandle context,
     OpenCLMemoryFlags flags,
     OpenCLMemoryType image_type,
     Int32 num_entries,
     [Out, MarshalAs(UnmanagedType.LPArray)] OpenCLImageFormat[] image_formats,
     out Int32 num_image_formats);
Example #6
0
 public extern static CLMemoryHandle CreateImage3D(
     CLContextHandle context,
     OpenCLMemoryFlags flags,
     ref OpenCLImageFormat image_format,
     IntPtr image_width,
     IntPtr image_height,
     IntPtr image_depth,
     IntPtr image_row_pitch,
     IntPtr image_slice_pitch,
     IntPtr host_ptr,
     out OpenCLErrorCode errcode_ret);
Example #7
0
 public extern static CLMemoryHandle CreateBuffer(
     CLContextHandle context,
     OpenCLMemoryFlags flags,
     IntPtr size,
     IntPtr host_ptr,
     out OpenCLErrorCode errcode_ret);
Example #8
0
 public extern static CLCommandQueueHandle CreateCommandQueue(
     CLContextHandle context,
     CLDeviceHandle device,
     OpenCLCommandQueueProperties properties,
     out OpenCLErrorCode errcode_ret);
Example #9
0
 public extern static OpenCLErrorCode GetContextInfo(
     CLContextHandle context,
     OpenCLContextInfo param_name,
     IntPtr param_value_size,
     IntPtr param_value,
     out IntPtr param_value_size_ret);
Example #10
0
 public extern static OpenCLErrorCode ReleaseContext(
     CLContextHandle context);
Example #11
0
 public extern static CLMemoryHandle CreateFromGLRenderbuffer(
     CLContextHandle context,
     OpenCLMemoryFlags flags,
     Int32 renderbuffer,
     out OpenCLErrorCode errcode_ret);
Example #12
0
 public extern static CLProgramHandle CreateProgramWithBinary(
     CLContextHandle context,
     Int32 num_devices,
     [MarshalAs(UnmanagedType.LPArray)] CLDeviceHandle[] device_list,
     [MarshalAs(UnmanagedType.LPArray)] IntPtr[] lengths,
     [MarshalAs(UnmanagedType.LPArray)] IntPtr[] binaries,
     [MarshalAs(UnmanagedType.LPArray)] Int32[] binary_status,
     out OpenCLErrorCode errcode_ret);
Example #13
0
 public extern static CLSamplerHandle CreateSampler(
     CLContextHandle context,
     [MarshalAs(UnmanagedType.Bool)] bool normalized_coords,
     OpenCLImageAddressing addressing_mode,
     OpenCLImageFiltering filter_mode,
     out OpenCLErrorCode errcode_ret);
Example #14
0
 public extern static CLProgramHandle CreateProgramWithSource(
     CLContextHandle context,
     Int32 count,
     String[] strings,
     [MarshalAs(UnmanagedType.LPArray)] IntPtr[] lengths,
     out OpenCLErrorCode errcode_ret);
Example #15
0
 public extern static CLSamplerHandle CreateSampler(
     CLContextHandle context,
     [MarshalAs(UnmanagedType.Bool)] bool normalized_coords,
     OpenCLImageAddressing addressing_mode,
     OpenCLImageFiltering filter_mode,
     out OpenCLErrorCode errcode_ret);
Example #16
0
 public extern static OpenCLErrorCode GetContextInfo(
     CLContextHandle context,
     OpenCLContextInfo param_name,
     IntPtr param_value_size,
     IntPtr param_value,
     out IntPtr param_value_size_ret);
Example #17
0
 public extern static CLMemoryHandle CreateBuffer(
     CLContextHandle context,
     OpenCLMemoryFlags flags,
     IntPtr size,
     IntPtr host_ptr,
     out OpenCLErrorCode errcode_ret);
Example #18
0
 public extern static CLCommandQueueHandle CreateCommandQueue(
     CLContextHandle context,
     CLDeviceHandle device,
     OpenCLCommandQueueProperties properties,
     out OpenCLErrorCode errcode_ret);
Example #19
0
 public extern static CLProgramHandle CreateProgramWithSource(
     CLContextHandle context,
     Int32 count,
     String[] strings,
     [MarshalAs(UnmanagedType.LPArray)] IntPtr[] lengths,
     out OpenCLErrorCode errcode_ret);
Example #20
0
 public extern static CLMemoryHandle CreateFromGLRenderbuffer(
     CLContextHandle context,
     OpenCLMemoryFlags flags,
     Int32 renderbuffer,
     out OpenCLErrorCode errcode_ret);
Example #21
0
 public extern static CLMemoryHandle CreateFromGLTexture3D(
     CLContextHandle context,
     OpenCLMemoryFlags flags,
     Int32 target,
     Int32 miplevel,
     Int32 texture,
     out OpenCLErrorCode errcode_ret);
Example #22
0
 public extern static OpenCLErrorCode ReleaseContext(
     CLContextHandle context);
Example #23
0
 public extern static CLEventHandle CreateUserEvent(
     CLContextHandle context,
     out OpenCLErrorCode errcode_ret);
Example #24
0
 public extern static CLEventHandle CreateUserEvent(
     CLContextHandle context,
     out OpenCLErrorCode errcode_ret);