Exemplo n.º 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);
Exemplo n.º 2
0
 public extern static CLMemoryHandle CreateFromGLTexture3D(
     CLContextHandle context,
     OpenCLMemoryFlags flags,
     Int32 target,
     Int32 miplevel,
     Int32 texture,
     out OpenCLErrorCode errcode_ret);
Exemplo n.º 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);
Exemplo n.º 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);
Exemplo n.º 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);
Exemplo n.º 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);
Exemplo n.º 7
0
 public extern static CLMemoryHandle CreateBuffer(
     CLContextHandle context,
     OpenCLMemoryFlags flags,
     IntPtr size,
     IntPtr host_ptr,
     out OpenCLErrorCode errcode_ret);
Exemplo n.º 8
0
 public extern static CLCommandQueueHandle CreateCommandQueue(
     CLContextHandle context,
     CLDeviceHandle device,
     OpenCLCommandQueueProperties properties,
     out OpenCLErrorCode errcode_ret);
Exemplo n.º 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);
Exemplo n.º 10
0
 public extern static OpenCLErrorCode ReleaseContext(
     CLContextHandle context);
Exemplo n.º 11
0
 public extern static CLMemoryHandle CreateFromGLRenderbuffer(
     CLContextHandle context,
     OpenCLMemoryFlags flags,
     Int32 renderbuffer,
     out OpenCLErrorCode errcode_ret);
Exemplo n.º 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);
Exemplo n.º 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);
Exemplo n.º 14
0
 public extern static CLProgramHandle CreateProgramWithSource(
     CLContextHandle context,
     Int32 count,
     String[] strings,
     [MarshalAs(UnmanagedType.LPArray)] IntPtr[] lengths,
     out OpenCLErrorCode errcode_ret);
Exemplo n.º 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);
Exemplo n.º 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);
Exemplo n.º 17
0
 public extern static CLMemoryHandle CreateBuffer(
     CLContextHandle context,
     OpenCLMemoryFlags flags,
     IntPtr size,
     IntPtr host_ptr,
     out OpenCLErrorCode errcode_ret);
Exemplo n.º 18
0
 public extern static CLCommandQueueHandle CreateCommandQueue(
     CLContextHandle context,
     CLDeviceHandle device,
     OpenCLCommandQueueProperties properties,
     out OpenCLErrorCode errcode_ret);
Exemplo n.º 19
0
 public extern static CLProgramHandle CreateProgramWithSource(
     CLContextHandle context,
     Int32 count,
     String[] strings,
     [MarshalAs(UnmanagedType.LPArray)] IntPtr[] lengths,
     out OpenCLErrorCode errcode_ret);
Exemplo n.º 20
0
 public extern static CLMemoryHandle CreateFromGLRenderbuffer(
     CLContextHandle context,
     OpenCLMemoryFlags flags,
     Int32 renderbuffer,
     out OpenCLErrorCode errcode_ret);
Exemplo n.º 21
0
 public extern static CLMemoryHandle CreateFromGLTexture3D(
     CLContextHandle context,
     OpenCLMemoryFlags flags,
     Int32 target,
     Int32 miplevel,
     Int32 texture,
     out OpenCLErrorCode errcode_ret);
Exemplo n.º 22
0
 public extern static OpenCLErrorCode ReleaseContext(
     CLContextHandle context);
Exemplo n.º 23
0
 public extern static CLEventHandle CreateUserEvent(
     CLContextHandle context,
     out OpenCLErrorCode errcode_ret);
Exemplo n.º 24
0
 public extern static CLEventHandle CreateUserEvent(
     CLContextHandle context,
     out OpenCLErrorCode errcode_ret);