コード例 #1
0
ファイル: CL10.cs プロジェクト: forki/FSCL.Runtime
 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);
コード例 #2
0
ファイル: CL10.cs プロジェクト: forki/FSCL.Runtime
 public extern static CLMemoryHandle CreateFromGLTexture3D(
     CLContextHandle context,
     OpenCLMemoryFlags flags,
     Int32 target,
     Int32 miplevel,
     Int32 texture,
     out OpenCLErrorCode errcode_ret);
コード例 #3
0
ファイル: CL10.cs プロジェクト: forki/FSCL.Runtime
 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);
コード例 #4
0
ファイル: CL10.cs プロジェクト: forki/FSCL.Runtime
 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);
コード例 #5
0
ファイル: CL10.cs プロジェクト: cloudRoutine/FSCL.Runtime
 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);
コード例 #6
0
ファイル: CL10.cs プロジェクト: cloudRoutine/FSCL.Runtime
 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);
コード例 #7
0
ファイル: CL10.cs プロジェクト: cloudRoutine/FSCL.Runtime
 public extern static CLMemoryHandle CreateBuffer(
     CLContextHandle context,
     OpenCLMemoryFlags flags,
     IntPtr size,
     IntPtr host_ptr,
     out OpenCLErrorCode errcode_ret);
コード例 #8
0
ファイル: CL10.cs プロジェクト: cloudRoutine/FSCL.Runtime
 public extern static CLCommandQueueHandle CreateCommandQueue(
     CLContextHandle context,
     CLDeviceHandle device,
     OpenCLCommandQueueProperties properties,
     out OpenCLErrorCode errcode_ret);
コード例 #9
0
ファイル: CL10.cs プロジェクト: cloudRoutine/FSCL.Runtime
 public extern static OpenCLErrorCode GetContextInfo(
     CLContextHandle context,
     OpenCLContextInfo param_name,
     IntPtr param_value_size,
     IntPtr param_value,
     out IntPtr param_value_size_ret);
コード例 #10
0
ファイル: CL10.cs プロジェクト: forki/FSCL.Runtime
 public extern static OpenCLErrorCode ReleaseContext(
     CLContextHandle context);
コード例 #11
0
ファイル: CL10.cs プロジェクト: cloudRoutine/FSCL.Runtime
 public extern static CLMemoryHandle CreateFromGLRenderbuffer(
     CLContextHandle context,
     OpenCLMemoryFlags flags,
     Int32 renderbuffer,
     out OpenCLErrorCode errcode_ret);
コード例 #12
0
ファイル: CL10.cs プロジェクト: cloudRoutine/FSCL.Runtime
 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);
コード例 #13
0
ファイル: CL10.cs プロジェクト: cloudRoutine/FSCL.Runtime
 public extern static CLSamplerHandle CreateSampler(
     CLContextHandle context,
     [MarshalAs(UnmanagedType.Bool)] bool normalized_coords,
     OpenCLImageAddressing addressing_mode,
     OpenCLImageFiltering filter_mode,
     out OpenCLErrorCode errcode_ret);
コード例 #14
0
ファイル: CL10.cs プロジェクト: forki/FSCL.Runtime
 public extern static CLProgramHandle CreateProgramWithSource(
     CLContextHandle context,
     Int32 count,
     String[] strings,
     [MarshalAs(UnmanagedType.LPArray)] IntPtr[] lengths,
     out OpenCLErrorCode errcode_ret);
コード例 #15
0
ファイル: CL10.cs プロジェクト: forki/FSCL.Runtime
 public extern static CLSamplerHandle CreateSampler(
     CLContextHandle context,
     [MarshalAs(UnmanagedType.Bool)] bool normalized_coords,
     OpenCLImageAddressing addressing_mode,
     OpenCLImageFiltering filter_mode,
     out OpenCLErrorCode errcode_ret);
コード例 #16
0
ファイル: CL10.cs プロジェクト: forki/FSCL.Runtime
 public extern static OpenCLErrorCode GetContextInfo(
     CLContextHandle context,
     OpenCLContextInfo param_name,
     IntPtr param_value_size,
     IntPtr param_value,
     out IntPtr param_value_size_ret);
コード例 #17
0
ファイル: CL10.cs プロジェクト: forki/FSCL.Runtime
 public extern static CLMemoryHandle CreateBuffer(
     CLContextHandle context,
     OpenCLMemoryFlags flags,
     IntPtr size,
     IntPtr host_ptr,
     out OpenCLErrorCode errcode_ret);
コード例 #18
0
ファイル: CL10.cs プロジェクト: forki/FSCL.Runtime
 public extern static CLCommandQueueHandle CreateCommandQueue(
     CLContextHandle context,
     CLDeviceHandle device,
     OpenCLCommandQueueProperties properties,
     out OpenCLErrorCode errcode_ret);
コード例 #19
0
ファイル: CL10.cs プロジェクト: cloudRoutine/FSCL.Runtime
 public extern static CLProgramHandle CreateProgramWithSource(
     CLContextHandle context,
     Int32 count,
     String[] strings,
     [MarshalAs(UnmanagedType.LPArray)] IntPtr[] lengths,
     out OpenCLErrorCode errcode_ret);
コード例 #20
0
ファイル: CL10.cs プロジェクト: forki/FSCL.Runtime
 public extern static CLMemoryHandle CreateFromGLRenderbuffer(
     CLContextHandle context,
     OpenCLMemoryFlags flags,
     Int32 renderbuffer,
     out OpenCLErrorCode errcode_ret);
コード例 #21
0
ファイル: CL10.cs プロジェクト: cloudRoutine/FSCL.Runtime
 public extern static CLMemoryHandle CreateFromGLTexture3D(
     CLContextHandle context,
     OpenCLMemoryFlags flags,
     Int32 target,
     Int32 miplevel,
     Int32 texture,
     out OpenCLErrorCode errcode_ret);
コード例 #22
0
ファイル: CL10.cs プロジェクト: cloudRoutine/FSCL.Runtime
 public extern static OpenCLErrorCode ReleaseContext(
     CLContextHandle context);
コード例 #23
0
ファイル: CL11.cs プロジェクト: cloudRoutine/FSCL.Runtime
 public extern static CLEventHandle CreateUserEvent(
     CLContextHandle context,
     out OpenCLErrorCode errcode_ret);
コード例 #24
0
 public extern static CLEventHandle CreateUserEvent(
     CLContextHandle context,
     out OpenCLErrorCode errcode_ret);