Cargo Features
[dependencies]
opencl-sys = { version = "0.3.1", default-features = false, features = ["CL_VERSION_1_1", "CL_VERSION_1_2", "CL_VERSION_2_0", "CL_VERSION_2_1", "CL_VERSION_2_2", "CL_VERSION_3_0", "cl_apple_setmemobjectdestructor", "cl_apple_contextloggingfunctions", "cl_khr_terminate_context", "cl_ext_device_fission", "cl_img_use_gralloc_ptr", "cl_khr_suggested_local_work_size", "cl_khr_external_semaphore", "cl_arm_import_memory", "cl_intel_accelerator", "cl_intel_create_buffer_with_properties", "cl_ext_image_requirements_info", "cl_khr_command_buffer_multi_device", "cl_khr_gl_event", "cl_khr_egl_event", "cl_khr_dx9_media_sharing", "cl_intel_dx9_media_sharing", "cl_loader_info", "cl_loader_layers"] }
- CL_VERSION_1_1 default
-
Affects
cl::clSetMemObjectDestructorCallback
,cl::clCreateUserEvent
,cl::clSetUserEventStatus
,cl::clSetEventCallback
,cl::clEnqueueReadBufferRect
,cl::clEnqueueWriteBufferRect
,cl::clEnqueueCopyBufferRect
… - CL_VERSION_1_2 default
-
Affects
cl::clCreateSubDevices
,cl::clRetainDevice
,cl::clReleaseDevice
,cl::clCreateImage
,cl::clCreateProgramWithBuiltInKernels
,cl::clCompileProgram
,cl::clLinkProgram
,cl::clUnloadPlatformCompiler
,cl::clGetKernelArgInfo
,cl::clEnqueueFillBuffer
,cl::clEnqueueFillImage
,cl::clEnqueueMigrateMemObjects
,cl::clEnqueueMarkerWithWaitList
,cl::clEnqueueBarrierWithWaitList
,cl::clGetExtensionFunctionAddressForPlatform
,cl_gl::clCreateFromGLTexture
… - CL_VERSION_2_0
-
Affects
cl::clCreateCommandQueueWithProperties
,cl::clCreatePipe
,cl::clGetPipeInfo
,cl::clSVMAlloc
,cl::clSVMFree
,cl::clCreateSamplerWithProperties
,cl::clSetKernelArgSVMPointer
,cl::clSetKernelExecInfo
,cl::clEnqueueSVMFree
,cl::clEnqueueSVMMemcpy
,cl::clEnqueueSVMMemFill
,cl::clEnqueueSVMMap
,cl::clEnqueueSVMUnmap
… - CL_VERSION_2_1
-
Affects
cl::clSetDefaultDeviceCommandQueue
,cl::clGetDeviceAndHostTimer
,cl::clGetHostTimer
,cl::clCreateProgramWithIL
,cl::clCloneKernel
,cl::clGetKernelSubGroupInfo
,cl::clEnqueueSVMMigrateMem
… - CL_VERSION_2_2
-
Affects
cl::clSetProgramReleaseCallback
,cl::clSetProgramSpecializationConstant
… - CL_VERSION_3_0
-
Affects
cl::clSetContextDestructorCallback
,cl::clCreateBufferWithProperties
,cl::clCreateImageWithProperties
… - cl_apple_setmemobjectdestructor
-
Affects
cl_ext::clSetMemObjectDestructorAPPLE
… - cl_apple_contextloggingfunctions
-
Affects
cl_ext::clLogMessagesToSystemLogAPPLE
,cl_ext::clLogMessagesToStdoutAPPLE
,cl_ext::clLogMessagesToStderrAPPLE
… - cl_khr_icd cl_khr_il_program cl_khr_terminate_context
- cl_khr_create_command_queue cl_ext_device_fission
- cl_ext_migrate_memobject cl_qcom_ext_host_ptr cl_img_use_gralloc_ptr
- cl_img_generate_mipmap cl_khr_subgroups cl_khr_suggested_local_work_size
- cl_khr_external_memory cl_khr_external_semaphore
- cl_khr_external_semaphore_sync_fd cl_khr_semaphore cl_arm_import_memory
- cl_arm_shared_virtual_memory cl_intel_accelerator
- cl_intel_unified_shared_memory cl_intel_create_buffer_with_properties
- cl_intel_program_scope_host_pipe cl_ext_image_requirements_info
- cl_khr_command_buffer cl_khr_command_buffer_multi_device
- cl_khr_command_buffer_mutable_dispatch cl_khr_gl_sharing cl_khr_gl_event
- cl_khr_egl_image cl_khr_egl_event
- cl_khr_dx9_media_sharing
-
Affects
cl_dx9_media_sharing::clGetSupportedDX9MediaSurfaceFormatsINTEL
… - cl_intel_dx9_media_sharing
-
Affects
cl_dx9_media_sharing::clGetDeviceIDsFromDX9INTEL
,cl_dx9_media_sharing::clCreateFromDX9MediaSurfaceINTEL
,cl_dx9_media_sharing::clEnqueueAcquireDX9ObjectsINTEL
,cl_dx9_media_sharing::clEnqueueReleaseDX9ObjectsINTEL
,cl_dx9_media_sharing::clGetSupportedDX9MediaSurfaceFormatsINTEL
… - cl_khr_d3d10_sharing cl_khr_d3d11_sharing cl_loader_info
- cl_pocl_content_size cl_loader_layers
- default = CL_VERSION_1_1, CL_VERSION_1_2
-
Default features: