public class CL22 extends CL21
| Modifier and Type | Field and Description |
|---|---|
static int |
CL_INVALID_SPEC_ID
Error Codes
|
static int |
CL_MAX_SIZE_RESTRICTION_EXCEEDED
Error Codes
|
static int |
CL_PROGRAM_SCOPE_GLOBAL_CTORS_PRESENT
cl_program_info
|
static int |
CL_PROGRAM_SCOPE_GLOBAL_DTORS_PRESENT
cl_program_info
|
static int |
CL_VERSION_2_2
OpenCL Version.
|
CL_DEVICE_IL_VERSION, CL_DEVICE_MAX_NUM_SUB_GROUPS, CL_DEVICE_SUB_GROUP_INDEPENDENT_FORWARD_PROGRESS, CL_KERNEL_COMPILE_NUM_SUB_GROUPS, CL_KERNEL_LOCAL_SIZE_FOR_SUB_GROUP_COUNT, CL_KERNEL_MAX_NUM_SUB_GROUPS, CL_KERNEL_MAX_SUB_GROUP_SIZE_FOR_NDRANGE, CL_KERNEL_SUB_GROUP_COUNT_FOR_NDRANGE, CL_PLATFORM_HOST_TIMER_RESOLUTION, CL_PROGRAM_IL, CL_QUEUE_DEVICE_DEFAULT, CL_UNORM_INT_101010_2, CL_VERSION_2_1CL_ABGR, CL_COMMAND_SVM_FREE, CL_COMMAND_SVM_MAP, CL_COMMAND_SVM_MEMCPY, CL_COMMAND_SVM_MEMFILL, CL_COMMAND_SVM_UNMAP, CL_DEVICE_GLOBAL_VARIABLE_PREFERRED_TOTAL_SIZE, CL_DEVICE_MAX_GLOBAL_VARIABLE_SIZE, CL_DEVICE_MAX_ON_DEVICE_EVENTS, CL_DEVICE_MAX_ON_DEVICE_QUEUES, CL_DEVICE_MAX_PIPE_ARGS, CL_DEVICE_MAX_READ_WRITE_IMAGE_ARGS, CL_DEVICE_PIPE_MAX_ACTIVE_RESERVATIONS, CL_DEVICE_PIPE_MAX_PACKET_SIZE, CL_DEVICE_PREFERRED_GLOBAL_ATOMIC_ALIGNMENT, CL_DEVICE_PREFERRED_LOCAL_ATOMIC_ALIGNMENT, CL_DEVICE_PREFERRED_PLATFORM_ATOMIC_ALIGNMENT, CL_DEVICE_QUEUE_ON_DEVICE_MAX_SIZE, CL_DEVICE_QUEUE_ON_DEVICE_PREFERRED_SIZE, CL_DEVICE_QUEUE_ON_DEVICE_PROPERTIES, CL_DEVICE_QUEUE_ON_HOST_PROPERTIES, CL_DEVICE_SVM_ATOMICS, CL_DEVICE_SVM_CAPABILITIES, CL_DEVICE_SVM_COARSE_GRAIN_BUFFER, CL_DEVICE_SVM_FINE_GRAIN_BUFFER, CL_DEVICE_SVM_FINE_GRAIN_SYSTEM, CL_INVALID_DEVICE_QUEUE, CL_INVALID_PIPE_SIZE, CL_KERNEL_ARG_TYPE_PIPE, CL_KERNEL_EXEC_INFO_SVM_FINE_GRAIN_SYSTEM, CL_KERNEL_EXEC_INFO_SVM_PTRS, CL_MEM_OBJECT_PIPE, CL_MEM_SVM_ATOMICS, CL_MEM_SVM_FINE_GRAIN_BUFFER, CL_MEM_USES_SVM_POINTER, CL_PIPE_MAX_PACKETS, CL_PIPE_PACKET_SIZE, CL_PROFILING_COMMAND_COMPLETE, CL_PROGRAM_BUILD_GLOBAL_VARIABLE_TOTAL_SIZE, CL_QUEUE_ON_DEVICE, CL_QUEUE_ON_DEVICE_DEFAULT, CL_QUEUE_SIZE, CL_SAMPLER_LOD_MAX, CL_SAMPLER_LOD_MIN, CL_SAMPLER_MIP_FILTER_MODE, CL_sBGRA, CL_sRGB, CL_sRGBA, CL_sRGBx, CL_VERSION_2_0CL_BLOCKING, CL_COMMAND_BARRIER, CL_COMMAND_FILL_BUFFER, CL_COMMAND_FILL_IMAGE, CL_COMMAND_MIGRATE_MEM_OBJECTS, CL_COMPILE_PROGRAM_FAILURE, CL_CONTEXT_INTEROP_USER_SYNC, CL_DEVICE_AFFINITY_DOMAIN_L1_CACHE, CL_DEVICE_AFFINITY_DOMAIN_L2_CACHE, CL_DEVICE_AFFINITY_DOMAIN_L3_CACHE, CL_DEVICE_AFFINITY_DOMAIN_L4_CACHE, CL_DEVICE_AFFINITY_DOMAIN_NEXT_PARTITIONABLE, CL_DEVICE_AFFINITY_DOMAIN_NUMA, CL_DEVICE_BUILT_IN_KERNELS, CL_DEVICE_DOUBLE_FP_CONFIG, CL_DEVICE_IMAGE_MAX_ARRAY_SIZE, CL_DEVICE_IMAGE_MAX_BUFFER_SIZE, CL_DEVICE_LINKER_AVAILABLE, CL_DEVICE_PARENT_DEVICE, CL_DEVICE_PARTITION_AFFINITY_DOMAIN, CL_DEVICE_PARTITION_BY_AFFINITY_DOMAIN, CL_DEVICE_PARTITION_BY_COUNTS, CL_DEVICE_PARTITION_BY_COUNTS_LIST_END, CL_DEVICE_PARTITION_EQUALLY, CL_DEVICE_PARTITION_FAILED, CL_DEVICE_PARTITION_MAX_SUB_DEVICES, CL_DEVICE_PARTITION_PROPERTIES, CL_DEVICE_PARTITION_TYPE, CL_DEVICE_PREFERRED_INTEROP_USER_SYNC, CL_DEVICE_PRINTF_BUFFER_SIZE, CL_DEVICE_REFERENCE_COUNT, CL_DEVICE_TYPE_CUSTOM, CL_FP_CORRECTLY_ROUNDED_DIVIDE_SQRT, CL_IMAGE_ARRAY_SIZE, CL_IMAGE_BUFFER, CL_IMAGE_NUM_MIP_LEVELS, CL_IMAGE_NUM_SAMPLES, CL_INVALID_COMPILER_OPTIONS, CL_INVALID_DEVICE_PARTITION_COUNT, CL_INVALID_IMAGE_DESCRIPTOR, CL_INVALID_LINKER_OPTIONS, CL_KERNEL_ARG_ACCESS_NONE, CL_KERNEL_ARG_ACCESS_QUALIFIER, CL_KERNEL_ARG_ACCESS_READ_ONLY, CL_KERNEL_ARG_ACCESS_READ_WRITE, CL_KERNEL_ARG_ACCESS_WRITE_ONLY, CL_KERNEL_ARG_ADDRESS_CONSTANT, CL_KERNEL_ARG_ADDRESS_GLOBAL, CL_KERNEL_ARG_ADDRESS_LOCAL, CL_KERNEL_ARG_ADDRESS_PRIVATE, CL_KERNEL_ARG_ADDRESS_QUALIFIER, CL_KERNEL_ARG_INFO_NOT_AVAILABLE, CL_KERNEL_ARG_NAME, CL_KERNEL_ARG_TYPE_CONST, CL_KERNEL_ARG_TYPE_NAME, CL_KERNEL_ARG_TYPE_NONE, CL_KERNEL_ARG_TYPE_QUALIFIER, CL_KERNEL_ARG_TYPE_RESTRICT, CL_KERNEL_ARG_TYPE_VOLATILE, CL_KERNEL_ATTRIBUTES, CL_KERNEL_GLOBAL_WORK_SIZE, CL_LINK_PROGRAM_FAILURE, CL_LINKER_NOT_AVAILABLE, CL_MAP_WRITE_INVALIDATE_REGION, CL_MEM_HOST_NO_ACCESS, CL_MEM_HOST_READ_ONLY, CL_MEM_HOST_WRITE_ONLY, CL_MEM_OBJECT_IMAGE1D, CL_MEM_OBJECT_IMAGE1D_ARRAY, CL_MEM_OBJECT_IMAGE1D_BUFFER, CL_MEM_OBJECT_IMAGE2D_ARRAY, CL_MIGRATE_MEM_OBJECT_CONTENT_UNDEFINED, CL_MIGRATE_MEM_OBJECT_HOST, CL_NON_BLOCKING, CL_PROGRAM_BINARY_TYPE, CL_PROGRAM_BINARY_TYPE_COMPILED_OBJECT, CL_PROGRAM_BINARY_TYPE_EXECUTABLE, CL_PROGRAM_BINARY_TYPE_LIBRARY, CL_PROGRAM_BINARY_TYPE_NONE, CL_PROGRAM_KERNEL_NAMES, CL_PROGRAM_NUM_KERNELS, CL_VERSION_1_2CL_ADDRESS_MIRRORED_REPEAT, CL_BUFFER_CREATE_TYPE_REGION, CL_COMMAND_COPY_BUFFER_RECT, CL_COMMAND_READ_BUFFER_RECT, CL_COMMAND_USER, CL_COMMAND_WRITE_BUFFER_RECT, CL_CONTEXT_NUM_DEVICES, CL_DEVICE_HOST_UNIFIED_MEMORY, CL_DEVICE_NATIVE_VECTOR_WIDTH_CHAR, CL_DEVICE_NATIVE_VECTOR_WIDTH_DOUBLE, CL_DEVICE_NATIVE_VECTOR_WIDTH_FLOAT, CL_DEVICE_NATIVE_VECTOR_WIDTH_HALF, CL_DEVICE_NATIVE_VECTOR_WIDTH_INT, CL_DEVICE_NATIVE_VECTOR_WIDTH_LONG, CL_DEVICE_NATIVE_VECTOR_WIDTH_SHORT, CL_DEVICE_OPENCL_C_VERSION, CL_DEVICE_PREFERRED_VECTOR_WIDTH_HALF, CL_EVENT_CONTEXT, CL_EXEC_STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST, CL_FP_SOFT_FLOAT, CL_INVALID_PROPERTY, CL_KERNEL_PREFERRED_WORK_GROUP_SIZE_MULTIPLE, CL_KERNEL_PRIVATE_MEM_SIZE, CL_MEM_ASSOCIATED_MEMOBJECT, CL_MEM_OFFSET, CL_MISALIGNED_SUB_BUFFER_OFFSET, CL_RGBx, CL_RGx, CL_Rx, CL_VERSION_1_1CL_A, CL_ADDRESS_CLAMP, CL_ADDRESS_CLAMP_TO_EDGE, CL_ADDRESS_NONE, CL_ADDRESS_REPEAT, CL_ARGB, CL_BGRA, CL_BUILD_ERROR, CL_BUILD_IN_PROGRESS, CL_BUILD_NONE, CL_BUILD_PROGRAM_FAILURE, CL_BUILD_SUCCESS, CL_COMMAND_ACQUIRE_GL_OBJECTS, CL_COMMAND_COPY_BUFFER, CL_COMMAND_COPY_BUFFER_TO_IMAGE, CL_COMMAND_COPY_IMAGE, CL_COMMAND_COPY_IMAGE_TO_BUFFER, CL_COMMAND_MAP_BUFFER, CL_COMMAND_MAP_IMAGE, CL_COMMAND_MARKER, CL_COMMAND_NATIVE_KERNEL, CL_COMMAND_NDRANGE_KERNEL, CL_COMMAND_READ_BUFFER, CL_COMMAND_READ_IMAGE, CL_COMMAND_RELEASE_GL_OBJECTS, CL_COMMAND_TASK, CL_COMMAND_UNMAP_MEM_OBJECT, CL_COMMAND_WRITE_BUFFER, CL_COMMAND_WRITE_IMAGE, CL_COMPILER_NOT_AVAILABLE, CL_COMPLETE, CL_CONTEXT_DEVICES, CL_CONTEXT_PLATFORM, CL_CONTEXT_PROPERTIES, CL_CONTEXT_REFERENCE_COUNT, CL_DEVICE_ADDRESS_BITS, CL_DEVICE_AVAILABLE, CL_DEVICE_COMPILER_AVAILABLE, CL_DEVICE_ENDIAN_LITTLE, CL_DEVICE_ERROR_CORRECTION_SUPPORT, CL_DEVICE_EXECUTION_CAPABILITIES, CL_DEVICE_EXTENSIONS, CL_DEVICE_GLOBAL_MEM_CACHE_SIZE, CL_DEVICE_GLOBAL_MEM_CACHE_TYPE, CL_DEVICE_GLOBAL_MEM_CACHELINE_SIZE, CL_DEVICE_GLOBAL_MEM_SIZE, CL_DEVICE_IMAGE_SUPPORT, CL_DEVICE_IMAGE2D_MAX_HEIGHT, CL_DEVICE_IMAGE2D_MAX_WIDTH, CL_DEVICE_IMAGE3D_MAX_DEPTH, CL_DEVICE_IMAGE3D_MAX_HEIGHT, CL_DEVICE_IMAGE3D_MAX_WIDTH, CL_DEVICE_LOCAL_MEM_SIZE, CL_DEVICE_LOCAL_MEM_TYPE, CL_DEVICE_MAX_CLOCK_FREQUENCY, CL_DEVICE_MAX_COMPUTE_UNITS, CL_DEVICE_MAX_CONSTANT_ARGS, CL_DEVICE_MAX_CONSTANT_BUFFER_SIZE, CL_DEVICE_MAX_MEM_ALLOC_SIZE, CL_DEVICE_MAX_PARAMETER_SIZE, CL_DEVICE_MAX_READ_IMAGE_ARGS, CL_DEVICE_MAX_SAMPLERS, CL_DEVICE_MAX_WORK_GROUP_SIZE, CL_DEVICE_MAX_WORK_ITEM_DIMENSIONS, CL_DEVICE_MAX_WORK_ITEM_SIZES, CL_DEVICE_MAX_WRITE_IMAGE_ARGS, CL_DEVICE_MEM_BASE_ADDR_ALIGN, CL_DEVICE_MIN_DATA_TYPE_ALIGN_SIZE, CL_DEVICE_NAME, CL_DEVICE_NOT_AVAILABLE, CL_DEVICE_NOT_FOUND, CL_DEVICE_PLATFORM, CL_DEVICE_PREFERRED_VECTOR_WIDTH_CHAR, CL_DEVICE_PREFERRED_VECTOR_WIDTH_DOUBLE, CL_DEVICE_PREFERRED_VECTOR_WIDTH_FLOAT, CL_DEVICE_PREFERRED_VECTOR_WIDTH_INT, CL_DEVICE_PREFERRED_VECTOR_WIDTH_LONG, CL_DEVICE_PREFERRED_VECTOR_WIDTH_SHORT, CL_DEVICE_PROFILE, CL_DEVICE_PROFILING_TIMER_RESOLUTION, CL_DEVICE_QUEUE_PROPERTIES, CL_DEVICE_SINGLE_FP_CONFIG, CL_DEVICE_TYPE, CL_DEVICE_TYPE_ACCELERATOR, CL_DEVICE_TYPE_ALL, CL_DEVICE_TYPE_CPU, CL_DEVICE_TYPE_DEFAULT, CL_DEVICE_TYPE_GPU, CL_DEVICE_VENDOR, CL_DEVICE_VENDOR_ID, CL_DEVICE_VERSION, CL_DRIVER_VERSION, CL_EVENT_COMMAND_EXECUTION_STATUS, CL_EVENT_COMMAND_QUEUE, CL_EVENT_COMMAND_TYPE, CL_EVENT_REFERENCE_COUNT, CL_EXEC_KERNEL, CL_EXEC_NATIVE_KERNEL, CL_FALSE, CL_FILTER_LINEAR, CL_FILTER_NEAREST, CL_FLOAT, CL_FP_DENORM, CL_FP_FMA, CL_FP_INF_NAN, CL_FP_ROUND_TO_INF, CL_FP_ROUND_TO_NEAREST, CL_FP_ROUND_TO_ZERO, CL_GLOBAL, CL_HALF_FLOAT, CL_IMAGE_DEPTH, CL_IMAGE_ELEMENT_SIZE, CL_IMAGE_FORMAT, CL_IMAGE_FORMAT_MISMATCH, CL_IMAGE_FORMAT_NOT_SUPPORTED, CL_IMAGE_HEIGHT, CL_IMAGE_ROW_PITCH, CL_IMAGE_SLICE_PITCH, CL_IMAGE_WIDTH, CL_INTENSITY, CL_INVALID_ARG_INDEX, CL_INVALID_ARG_SIZE, CL_INVALID_ARG_VALUE, CL_INVALID_BINARY, CL_INVALID_BUFFER_SIZE, CL_INVALID_BUILD_OPTIONS, CL_INVALID_COMMAND_QUEUE, CL_INVALID_CONTEXT, CL_INVALID_DEVICE, CL_INVALID_DEVICE_TYPE, CL_INVALID_EVENT, CL_INVALID_EVENT_WAIT_LIST, CL_INVALID_GLOBAL_OFFSET, CL_INVALID_GLOBAL_WORK_SIZE, CL_INVALID_HOST_PTR, CL_INVALID_IMAGE_FORMAT_DESCRIPTOR, CL_INVALID_IMAGE_SIZE, CL_INVALID_KERNEL, CL_INVALID_KERNEL_ARGS, CL_INVALID_KERNEL_DEFINITION, CL_INVALID_KERNEL_NAME, CL_INVALID_MEM_OBJECT, CL_INVALID_OPERATION, CL_INVALID_PLATFORM, CL_INVALID_PROGRAM, CL_INVALID_PROGRAM_EXECUTABLE, CL_INVALID_QUEUE_PROPERTIES, CL_INVALID_SAMPLER, CL_INVALID_VALUE, CL_INVALID_WORK_DIMENSION, CL_INVALID_WORK_GROUP_SIZE, CL_INVALID_WORK_ITEM_SIZE, CL_KERNEL_COMPILE_WORK_GROUP_SIZE, CL_KERNEL_CONTEXT, CL_KERNEL_FUNCTION_NAME, CL_KERNEL_LOCAL_MEM_SIZE, CL_KERNEL_NUM_ARGS, CL_KERNEL_PROGRAM, CL_KERNEL_REFERENCE_COUNT, CL_KERNEL_WORK_GROUP_SIZE, CL_LOCAL, CL_LUMINANCE, CL_MAP_FAILURE, CL_MAP_READ, CL_MAP_WRITE, CL_MEM_ALLOC_HOST_PTR, CL_MEM_CONTEXT, CL_MEM_COPY_HOST_PTR, CL_MEM_COPY_OVERLAP, CL_MEM_FLAGS, CL_MEM_HOST_PTR, CL_MEM_MAP_COUNT, CL_MEM_OBJECT_ALLOCATION_FAILURE, CL_MEM_OBJECT_BUFFER, CL_MEM_OBJECT_IMAGE2D, CL_MEM_OBJECT_IMAGE3D, CL_MEM_READ_ONLY, CL_MEM_READ_WRITE, CL_MEM_REFERENCE_COUNT, CL_MEM_SIZE, CL_MEM_TYPE, CL_MEM_USE_HOST_PTR, CL_MEM_WRITE_ONLY, CL_NONE, CL_OUT_OF_HOST_MEMORY, CL_OUT_OF_RESOURCES, CL_PLATFORM_EXTENSIONS, CL_PLATFORM_NAME, CL_PLATFORM_PROFILE, CL_PLATFORM_VENDOR, CL_PLATFORM_VERSION, CL_PROFILING_COMMAND_END, CL_PROFILING_COMMAND_QUEUED, CL_PROFILING_COMMAND_START, CL_PROFILING_COMMAND_SUBMIT, CL_PROFILING_INFO_NOT_AVAILABLE, CL_PROGRAM_BINARIES, CL_PROGRAM_BINARY_SIZES, CL_PROGRAM_BUILD_LOG, CL_PROGRAM_BUILD_OPTIONS, CL_PROGRAM_BUILD_STATUS, CL_PROGRAM_CONTEXT, CL_PROGRAM_DEVICES, CL_PROGRAM_NUM_DEVICES, CL_PROGRAM_REFERENCE_COUNT, CL_PROGRAM_SOURCE, CL_QUEUE_CONTEXT, CL_QUEUE_DEVICE, CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE, CL_QUEUE_PROFILING_ENABLE, CL_QUEUE_PROPERTIES, CL_QUEUE_REFERENCE_COUNT, CL_QUEUED, CL_R, CL_RA, CL_READ_ONLY_CACHE, CL_READ_WRITE_CACHE, CL_RG, CL_RGB, CL_RGBA, CL_RUNNING, CL_SAMPLER_ADDRESSING_MODE, CL_SAMPLER_CONTEXT, CL_SAMPLER_FILTER_MODE, CL_SAMPLER_NORMALIZED_COORDS, CL_SAMPLER_REFERENCE_COUNT, CL_SIGNED_INT16, CL_SIGNED_INT32, CL_SIGNED_INT8, CL_SNORM_INT16, CL_SNORM_INT8, CL_SUBMITTED, CL_SUCCESS, CL_TRUE, CL_UNORM_INT_101010, CL_UNORM_INT16, CL_UNORM_INT8, CL_UNORM_SHORT_555, CL_UNORM_SHORT_565, CL_UNSIGNED_INT16, CL_UNSIGNED_INT32, CL_UNSIGNED_INT8, CL_VERSION_1_0| Modifier and Type | Method and Description |
|---|---|
static int |
clSetProgramReleaseCallback(long program,
CLProgramReleaseCallbackI pfn_notify,
long user_data)
Registers a user callback function with a program object.
|
static int |
clSetProgramSpecializationConstant(long program,
int spec_id,
java.nio.ByteBuffer spec_value)
Sets the values of a SPIR-V specialization constants.
|
static int |
clSetProgramSpecializationConstant(long program,
int spec_id,
double[] spec_value)
Array version of:
SetProgramSpecializationConstant |
static int |
clSetProgramSpecializationConstant(long program,
int spec_id,
java.nio.DoubleBuffer spec_value)
Sets the values of a SPIR-V specialization constants.
|
static int |
clSetProgramSpecializationConstant(long program,
int spec_id,
float[] spec_value)
Array version of:
SetProgramSpecializationConstant |
static int |
clSetProgramSpecializationConstant(long program,
int spec_id,
java.nio.FloatBuffer spec_value)
Sets the values of a SPIR-V specialization constants.
|
static int |
clSetProgramSpecializationConstant(long program,
int spec_id,
int[] spec_value)
Array version of:
SetProgramSpecializationConstant |
static int |
clSetProgramSpecializationConstant(long program,
int spec_id,
java.nio.IntBuffer spec_value)
Sets the values of a SPIR-V specialization constants.
|
static int |
clSetProgramSpecializationConstant(long program,
int spec_id,
long[] spec_value)
Array version of:
SetProgramSpecializationConstant |
static int |
clSetProgramSpecializationConstant(long program,
int spec_id,
java.nio.LongBuffer spec_value)
Sets the values of a SPIR-V specialization constants.
|
static int |
clSetProgramSpecializationConstant(long program,
int spec_id,
short[] spec_value)
Array version of:
SetProgramSpecializationConstant |
static int |
clSetProgramSpecializationConstant(long program,
int spec_id,
java.nio.ShortBuffer spec_value)
Sets the values of a SPIR-V specialization constants.
|
static int |
nclSetProgramReleaseCallback(long program,
long pfn_notify,
long user_data)
Unsafe version of:
SetProgramReleaseCallback |
static int |
nclSetProgramSpecializationConstant(long program,
int spec_id,
long spec_size,
long spec_value)
Unsafe version of:
SetProgramSpecializationConstant |
clCloneKernel, clCloneKernel, clCreateProgramWithIL, clCreateProgramWithIL, clEnqueueSVMMigrateMem, clGetDeviceAndHostTimer, clGetDeviceAndHostTimer, clGetHostTimer, clGetHostTimer, clGetKernelSubGroupInfo, clGetKernelSubGroupInfo, clSetDefaultDeviceCommandQueue, nclCloneKernel, nclCreateProgramWithIL, nclEnqueueSVMMigrateMem, nclGetDeviceAndHostTimer, nclGetHostTimer, nclGetKernelSubGroupInfoclCreateCommandQueueWithProperties, clCreateCommandQueueWithProperties, clCreatePipe, clCreatePipe, clCreateSamplerWithProperties, clCreateSamplerWithProperties, clEnqueueSVMFree, clEnqueueSVMMap, clEnqueueSVMMemcpy, clEnqueueSVMMemFill, clEnqueueSVMUnmap, clGetPipeInfo, clGetPipeInfo, clGetPipeInfo, clSetKernelArgSVMPointer, clSetKernelExecInfo, clSetKernelExecInfo, clSetKernelExecInfo, clSetKernelExecInfo, clSVMAlloc, clSVMFree, nclCreateCommandQueueWithProperties, nclCreatePipe, nclCreateSamplerWithProperties, nclEnqueueSVMFree, nclEnqueueSVMMap, nclEnqueueSVMMemcpy, nclEnqueueSVMMemFill, nclEnqueueSVMUnmap, nclGetPipeInfo, nclSetKernelArgSVMPointer, nclSetKernelExecInfo, nclSVMAlloc, nclSVMFreeclCompileProgram, clCompileProgram, clCreateImage, clCreateImage, clCreateImage, clCreateImage, clCreateImage, clCreateImage, clCreateImage, clCreateImage, clCreateProgramWithBuiltInKernels, clCreateProgramWithBuiltInKernels, clCreateProgramWithBuiltInKernels, clCreateProgramWithBuiltInKernels, clCreateProgramWithBuiltInKernels, clCreateSubDevices, clCreateSubDevices, clEnqueueBarrierWithWaitList, clEnqueueFillBuffer, clEnqueueFillImage, clEnqueueFillImage, clEnqueueFillImage, clEnqueueFillImage, clEnqueueFillImage, clEnqueueMarkerWithWaitList, clEnqueueMigrateMemObjects, clGetExtensionFunctionAddressForPlatform, clGetExtensionFunctionAddressForPlatform, clGetKernelArgInfo, clGetKernelArgInfo, clGetKernelArgInfo, clGetKernelArgInfo, clGetKernelArgInfo, clLinkProgram, clLinkProgram, clLinkProgram, clReleaseDevice, clRetainDevice, clUnloadPlatformCompiler, nclCompileProgram, nclCreateImage, nclCreateProgramWithBuiltInKernels, nclCreateSubDevices, nclEnqueueBarrierWithWaitList, nclEnqueueFillBuffer, nclEnqueueFillImage, nclEnqueueMarkerWithWaitList, nclEnqueueMigrateMemObjects, nclGetExtensionFunctionAddressForPlatform, nclGetKernelArgInfo, nclLinkProgramclCreateSubBuffer, clCreateSubBuffer, clCreateUserEvent, clCreateUserEvent, clEnqueueCopyBufferRect, clEnqueueReadBufferRect, clEnqueueReadBufferRect, clEnqueueReadBufferRect, clEnqueueReadBufferRect, clEnqueueReadBufferRect, clEnqueueReadBufferRect, clEnqueueReadBufferRect, clEnqueueReadBufferRect, clEnqueueReadBufferRect, clEnqueueWriteBufferRect, clEnqueueWriteBufferRect, clEnqueueWriteBufferRect, clEnqueueWriteBufferRect, clEnqueueWriteBufferRect, clEnqueueWriteBufferRect, clEnqueueWriteBufferRect, clEnqueueWriteBufferRect, clEnqueueWriteBufferRect, clSetEventCallback, clSetMemObjectDestructorCallback, clSetUserEventStatus, nclCreateSubBuffer, nclCreateUserEvent, nclEnqueueCopyBufferRect, nclEnqueueReadBufferRect, nclEnqueueWriteBufferRect, nclSetEventCallback, nclSetMemObjectDestructorCallbackclBuildProgram, clBuildProgram, clBuildProgram, clCreateBuffer, clCreateBuffer, clCreateBuffer, clCreateBuffer, clCreateBuffer, clCreateBuffer, clCreateBuffer, clCreateBuffer, clCreateBuffer, clCreateBuffer, clCreateBuffer, clCreateCommandQueue, clCreateCommandQueue, clCreateContext, clCreateContext, clCreateContext, clCreateContextFromType, clCreateContextFromType, clCreateImage2D, clCreateImage2D, clCreateImage2D, clCreateImage2D, clCreateImage2D, clCreateImage2D, clCreateImage2D, clCreateImage2D, clCreateImage3D, clCreateImage3D, clCreateImage3D, clCreateImage3D, clCreateImage3D, clCreateImage3D, clCreateImage3D, clCreateImage3D, clCreateKernel, clCreateKernel, clCreateKernel, clCreateKernel, clCreateKernelsInProgram, clCreateKernelsInProgram, clCreateProgramWithBinary, clCreateProgramWithBinary, clCreateProgramWithBinary, clCreateProgramWithBinary, clCreateProgramWithSource, clCreateProgramWithSource, clCreateProgramWithSource, clCreateProgramWithSource, clCreateSampler, clCreateSampler, clEnqueueBarrier, clEnqueueCopyBuffer, clEnqueueCopyBufferToImage, clEnqueueCopyImage, clEnqueueCopyImageToBuffer, clEnqueueMapBuffer, clEnqueueMapBuffer, clEnqueueMapImage, clEnqueueMapImage, clEnqueueMapImage, clEnqueueMapImage, clEnqueueMarker, clEnqueueNativeKernel, clEnqueueNativeKernel, clEnqueueNDRangeKernel, clEnqueueReadBuffer, clEnqueueReadBuffer, clEnqueueReadBuffer, clEnqueueReadBuffer, clEnqueueReadBuffer, clEnqueueReadBuffer, clEnqueueReadBuffer, clEnqueueReadBuffer, clEnqueueReadBuffer, clEnqueueReadImage, clEnqueueReadImage, clEnqueueReadImage, clEnqueueReadImage, clEnqueueReadImage, clEnqueueReadImage, clEnqueueReadImage, clEnqueueReadImage, clEnqueueReadImage, clEnqueueTask, clEnqueueUnmapMemObject, clEnqueueWaitForEvents, clEnqueueWaitForEvents, clEnqueueWriteBuffer, clEnqueueWriteBuffer, clEnqueueWriteBuffer, clEnqueueWriteBuffer, clEnqueueWriteBuffer, clEnqueueWriteBuffer, clEnqueueWriteBuffer, clEnqueueWriteBuffer, clEnqueueWriteBuffer, clEnqueueWriteImage, clEnqueueWriteImage, clEnqueueWriteImage, clEnqueueWriteImage, clEnqueueWriteImage, clEnqueueWriteImage, clEnqueueWriteImage, clEnqueueWriteImage, clEnqueueWriteImage, clFinish, clFlush, clGetCommandQueueInfo, clGetCommandQueueInfo, clGetCommandQueueInfo, clGetCommandQueueInfo, clGetCommandQueueInfo, clGetCommandQueueInfo, clGetContextInfo, clGetContextInfo, clGetContextInfo, clGetContextInfo, clGetDeviceIDs, clGetDeviceIDs, clGetDeviceInfo, clGetDeviceInfo, clGetDeviceInfo, clGetDeviceInfo, clGetDeviceInfo, clGetDeviceInfo, clGetEventInfo, clGetEventInfo, clGetEventInfo, clGetEventInfo, clGetEventProfilingInfo, clGetEventProfilingInfo, clGetEventProfilingInfo, clGetExtensionFunctionAddress, clGetExtensionFunctionAddress, clGetImageInfo, clGetImageInfo, clGetImageInfo, clGetImageInfo, clGetKernelInfo, clGetKernelInfo, clGetKernelInfo, clGetKernelInfo, clGetKernelWorkGroupInfo, clGetKernelWorkGroupInfo, clGetKernelWorkGroupInfo, clGetKernelWorkGroupInfo, clGetKernelWorkGroupInfo, clGetKernelWorkGroupInfo, clGetMemObjectInfo, clGetMemObjectInfo, clGetMemObjectInfo, clGetMemObjectInfo, clGetMemObjectInfo, clGetMemObjectInfo, clGetPlatformIDs, clGetPlatformIDs, clGetPlatformInfo, clGetPlatformInfo, clGetPlatformInfo, clGetProgramBuildInfo, clGetProgramBuildInfo, clGetProgramBuildInfo, clGetProgramBuildInfo, clGetProgramInfo, clGetProgramInfo, clGetProgramInfo, clGetProgramInfo, clGetSamplerInfo, clGetSamplerInfo, clGetSamplerInfo, clGetSamplerInfo, clGetSupportedImageFormats, clGetSupportedImageFormats, clReleaseCommandQueue, clReleaseContext, clReleaseEvent, clReleaseKernel, clReleaseMemObject, clReleaseProgram, clReleaseSampler, clRetainCommandQueue, clRetainContext, clRetainEvent, clRetainKernel, clRetainMemObject, clRetainProgram, clRetainSampler, clSetKernelArg, clSetKernelArg, clSetKernelArg, clSetKernelArg, clSetKernelArg, clSetKernelArg, clSetKernelArg, clSetKernelArg, clSetKernelArg, clSetKernelArg, clSetKernelArg, clSetKernelArg, clSetKernelArg, clSetKernelArg1b, clSetKernelArg1d, clSetKernelArg1f, clSetKernelArg1i, clSetKernelArg1l, clSetKernelArg1p, clSetKernelArg1s, clSetKernelArg2b, clSetKernelArg2d, clSetKernelArg2f, clSetKernelArg2i, clSetKernelArg2l, clSetKernelArg2p, clSetKernelArg2s, clSetKernelArg4b, clSetKernelArg4d, clSetKernelArg4f, clSetKernelArg4i, clSetKernelArg4l, clSetKernelArg4p, clSetKernelArg4s, clUnloadCompiler, clWaitForEvents, clWaitForEvents, nclBuildProgram, nclCreateBuffer, nclCreateCommandQueue, nclCreateContext, nclCreateContextFromType, nclCreateImage2D, nclCreateImage3D, nclCreateKernel, nclCreateKernelsInProgram, nclCreateProgramWithBinary, nclCreateProgramWithSource, nclCreateSampler, nclEnqueueCopyBuffer, nclEnqueueCopyBufferToImage, nclEnqueueCopyImage, nclEnqueueCopyImageToBuffer, nclEnqueueMapBuffer, nclEnqueueMapImage, nclEnqueueMarker, nclEnqueueNativeKernel, nclEnqueueNDRangeKernel, nclEnqueueReadBuffer, nclEnqueueReadImage, nclEnqueueTask, nclEnqueueUnmapMemObject, nclEnqueueWaitForEvents, nclEnqueueWriteBuffer, nclEnqueueWriteImage, nclGetCommandQueueInfo, nclGetContextInfo, nclGetDeviceIDs, nclGetDeviceInfo, nclGetEventInfo, nclGetEventProfilingInfo, nclGetExtensionFunctionAddress, nclGetImageInfo, nclGetKernelInfo, nclGetKernelWorkGroupInfo, nclGetMemObjectInfo, nclGetPlatformIDs, nclGetPlatformInfo, nclGetProgramBuildInfo, nclGetProgramInfo, nclGetSamplerInfo, nclGetSupportedImageFormats, nclSetKernelArg, nclWaitForEventspublic static final int CL_VERSION_2_2
public static final int CL_INVALID_SPEC_ID
public static final int CL_MAX_SIZE_RESTRICTION_EXCEEDED
public static final int CL_PROGRAM_SCOPE_GLOBAL_CTORS_PRESENT
public static final int CL_PROGRAM_SCOPE_GLOBAL_DTORS_PRESENT
public static int nclSetProgramReleaseCallback(long program,
long pfn_notify,
long user_data)
SetProgramReleaseCallbackpublic static int clSetProgramReleaseCallback(long program,
CLProgramReleaseCallbackI pfn_notify,
long user_data)
Each call to clSetProgramReleaseCallback registers the specified user callback function on a callback stack associated with program. The
registered user callback functions are called in the reverse order in which they were registered. The user callback functions are called after
destructors (if any) for program scope global variables (if any) are called and before the program is released. This provides a mechanism for the
application (and libraries) to be notified when destructors are complete.
program - a valid program objectpfn_notify - the callback function that can be registered by the application. This callback function may be called asynchronously by the OpenCL implementation.
It is the applications responsibility to ensure that the callback function is thread safe.user_data - a pointer to user supplied data. user_data will be passed as the user_data argument when pfn_notify is called.
user_data can be NULL.public static int nclSetProgramSpecializationConstant(long program,
int spec_id,
long spec_size,
long spec_value)
SetProgramSpecializationConstantspec_size - specifies the size in bytes of the data pointed to by spec_value. This should be 1 for boolean constants. For all other constant types this
should match the size of the specialization constant in the SPIR-V module.public static int clSetProgramSpecializationConstant(long program,
int spec_id,
java.nio.ByteBuffer spec_value)
Calling this function multiple times for the same specialization constant shall cause the last provided value to override any previously specified
value. The values are used by a subsequent BuildProgram call for the program.
Application is not required to provide values for every specialization constant contained in SPIR-V module. SPIR-V provides default values for all specialization constants.
program - must be a valid OpenCL program created from a SPIR-V modulespec_id - identifies the SPIR-V specialization constant whose value will be setspec_value - a pointer to the memory location that contains the value of the specialization constant. The data pointed to by spec_value are copied and
can be safely reused by the application after clSetProgramSpecializationConstant returns. This specialization value will be used by
subsequent calls to BuildProgram until another call to clSetProgramSpecializationConstant changes it. If a specialization constant is a
boolean constant, spec_value should be a pointer to a cl_uchar value. A value of zero will set the specialization constant to
false; any other value will set it to true.SUCCESS if the function is executed successfully. Otherwise, it returns one of the following errors:
INVALID_PROGRAM if program is not a valid program object created from a SPIR-V module.INVALID_SPEC_ID if spec_id is not a valid specialization constant IDINVALID_VALUE if spec_size does not match the size of the specialization constant in the SPIR-V module, or if spec_value is
NULL.OUT_OF_RESOURCES if there is a failure to allocate resources required by the OpenCL implementation on the device.OUT_OF_HOST_MEMORY if there is a failure to allocate resources required by the OpenCL implementation on the host.public static int clSetProgramSpecializationConstant(long program,
int spec_id,
java.nio.ShortBuffer spec_value)
Calling this function multiple times for the same specialization constant shall cause the last provided value to override any previously specified
value. The values are used by a subsequent BuildProgram call for the program.
Application is not required to provide values for every specialization constant contained in SPIR-V module. SPIR-V provides default values for all specialization constants.
program - must be a valid OpenCL program created from a SPIR-V modulespec_id - identifies the SPIR-V specialization constant whose value will be setspec_value - a pointer to the memory location that contains the value of the specialization constant. The data pointed to by spec_value are copied and
can be safely reused by the application after clSetProgramSpecializationConstant returns. This specialization value will be used by
subsequent calls to BuildProgram until another call to clSetProgramSpecializationConstant changes it. If a specialization constant is a
boolean constant, spec_value should be a pointer to a cl_uchar value. A value of zero will set the specialization constant to
false; any other value will set it to true.SUCCESS if the function is executed successfully. Otherwise, it returns one of the following errors:
INVALID_PROGRAM if program is not a valid program object created from a SPIR-V module.INVALID_SPEC_ID if spec_id is not a valid specialization constant IDINVALID_VALUE if spec_size does not match the size of the specialization constant in the SPIR-V module, or if spec_value is
NULL.OUT_OF_RESOURCES if there is a failure to allocate resources required by the OpenCL implementation on the device.OUT_OF_HOST_MEMORY if there is a failure to allocate resources required by the OpenCL implementation on the host.public static int clSetProgramSpecializationConstant(long program,
int spec_id,
java.nio.IntBuffer spec_value)
Calling this function multiple times for the same specialization constant shall cause the last provided value to override any previously specified
value. The values are used by a subsequent BuildProgram call for the program.
Application is not required to provide values for every specialization constant contained in SPIR-V module. SPIR-V provides default values for all specialization constants.
program - must be a valid OpenCL program created from a SPIR-V modulespec_id - identifies the SPIR-V specialization constant whose value will be setspec_value - a pointer to the memory location that contains the value of the specialization constant. The data pointed to by spec_value are copied and
can be safely reused by the application after clSetProgramSpecializationConstant returns. This specialization value will be used by
subsequent calls to BuildProgram until another call to clSetProgramSpecializationConstant changes it. If a specialization constant is a
boolean constant, spec_value should be a pointer to a cl_uchar value. A value of zero will set the specialization constant to
false; any other value will set it to true.SUCCESS if the function is executed successfully. Otherwise, it returns one of the following errors:
INVALID_PROGRAM if program is not a valid program object created from a SPIR-V module.INVALID_SPEC_ID if spec_id is not a valid specialization constant IDINVALID_VALUE if spec_size does not match the size of the specialization constant in the SPIR-V module, or if spec_value is
NULL.OUT_OF_RESOURCES if there is a failure to allocate resources required by the OpenCL implementation on the device.OUT_OF_HOST_MEMORY if there is a failure to allocate resources required by the OpenCL implementation on the host.public static int clSetProgramSpecializationConstant(long program,
int spec_id,
java.nio.LongBuffer spec_value)
Calling this function multiple times for the same specialization constant shall cause the last provided value to override any previously specified
value. The values are used by a subsequent BuildProgram call for the program.
Application is not required to provide values for every specialization constant contained in SPIR-V module. SPIR-V provides default values for all specialization constants.
program - must be a valid OpenCL program created from a SPIR-V modulespec_id - identifies the SPIR-V specialization constant whose value will be setspec_value - a pointer to the memory location that contains the value of the specialization constant. The data pointed to by spec_value are copied and
can be safely reused by the application after clSetProgramSpecializationConstant returns. This specialization value will be used by
subsequent calls to BuildProgram until another call to clSetProgramSpecializationConstant changes it. If a specialization constant is a
boolean constant, spec_value should be a pointer to a cl_uchar value. A value of zero will set the specialization constant to
false; any other value will set it to true.SUCCESS if the function is executed successfully. Otherwise, it returns one of the following errors:
INVALID_PROGRAM if program is not a valid program object created from a SPIR-V module.INVALID_SPEC_ID if spec_id is not a valid specialization constant IDINVALID_VALUE if spec_size does not match the size of the specialization constant in the SPIR-V module, or if spec_value is
NULL.OUT_OF_RESOURCES if there is a failure to allocate resources required by the OpenCL implementation on the device.OUT_OF_HOST_MEMORY if there is a failure to allocate resources required by the OpenCL implementation on the host.public static int clSetProgramSpecializationConstant(long program,
int spec_id,
java.nio.FloatBuffer spec_value)
Calling this function multiple times for the same specialization constant shall cause the last provided value to override any previously specified
value. The values are used by a subsequent BuildProgram call for the program.
Application is not required to provide values for every specialization constant contained in SPIR-V module. SPIR-V provides default values for all specialization constants.
program - must be a valid OpenCL program created from a SPIR-V modulespec_id - identifies the SPIR-V specialization constant whose value will be setspec_value - a pointer to the memory location that contains the value of the specialization constant. The data pointed to by spec_value are copied and
can be safely reused by the application after clSetProgramSpecializationConstant returns. This specialization value will be used by
subsequent calls to BuildProgram until another call to clSetProgramSpecializationConstant changes it. If a specialization constant is a
boolean constant, spec_value should be a pointer to a cl_uchar value. A value of zero will set the specialization constant to
false; any other value will set it to true.SUCCESS if the function is executed successfully. Otherwise, it returns one of the following errors:
INVALID_PROGRAM if program is not a valid program object created from a SPIR-V module.INVALID_SPEC_ID if spec_id is not a valid specialization constant IDINVALID_VALUE if spec_size does not match the size of the specialization constant in the SPIR-V module, or if spec_value is
NULL.OUT_OF_RESOURCES if there is a failure to allocate resources required by the OpenCL implementation on the device.OUT_OF_HOST_MEMORY if there is a failure to allocate resources required by the OpenCL implementation on the host.public static int clSetProgramSpecializationConstant(long program,
int spec_id,
java.nio.DoubleBuffer spec_value)
Calling this function multiple times for the same specialization constant shall cause the last provided value to override any previously specified
value. The values are used by a subsequent BuildProgram call for the program.
Application is not required to provide values for every specialization constant contained in SPIR-V module. SPIR-V provides default values for all specialization constants.
program - must be a valid OpenCL program created from a SPIR-V modulespec_id - identifies the SPIR-V specialization constant whose value will be setspec_value - a pointer to the memory location that contains the value of the specialization constant. The data pointed to by spec_value are copied and
can be safely reused by the application after clSetProgramSpecializationConstant returns. This specialization value will be used by
subsequent calls to BuildProgram until another call to clSetProgramSpecializationConstant changes it. If a specialization constant is a
boolean constant, spec_value should be a pointer to a cl_uchar value. A value of zero will set the specialization constant to
false; any other value will set it to true.SUCCESS if the function is executed successfully. Otherwise, it returns one of the following errors:
INVALID_PROGRAM if program is not a valid program object created from a SPIR-V module.INVALID_SPEC_ID if spec_id is not a valid specialization constant IDINVALID_VALUE if spec_size does not match the size of the specialization constant in the SPIR-V module, or if spec_value is
NULL.OUT_OF_RESOURCES if there is a failure to allocate resources required by the OpenCL implementation on the device.OUT_OF_HOST_MEMORY if there is a failure to allocate resources required by the OpenCL implementation on the host.public static int clSetProgramSpecializationConstant(long program,
int spec_id,
short[] spec_value)
SetProgramSpecializationConstantpublic static int clSetProgramSpecializationConstant(long program,
int spec_id,
int[] spec_value)
SetProgramSpecializationConstantpublic static int clSetProgramSpecializationConstant(long program,
int spec_id,
long[] spec_value)
SetProgramSpecializationConstantpublic static int clSetProgramSpecializationConstant(long program,
int spec_id,
float[] spec_value)
SetProgramSpecializationConstantpublic static int clSetProgramSpecializationConstant(long program,
int spec_id,
double[] spec_value)
SetProgramSpecializationConstantCopyright LWJGL. All Rights Reserved. License terms.