Added OpenCL XML specs to the generator.
This commit is contained in:
parent
787d56f7cd
commit
e8dd567723
2 changed files with 804 additions and 0 deletions
4
Source/Bind/Specifications/CL10/overrides.xml
Normal file
4
Source/Bind/Specifications/CL10/overrides.xml
Normal file
|
@ -0,0 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<overrides>
|
||||
|
||||
</overrides>
|
800
Source/Bind/Specifications/CL10/signatures.xml
Normal file
800
Source/Bind/Specifications/CL10/signatures.xml
Normal file
|
@ -0,0 +1,800 @@
|
|||
<?xml version="1.0" encoding="ibm737"?>
|
||||
<signatures>
|
||||
<enum name="ErrorCodes">
|
||||
<token name="SUCCESS" value="0" />
|
||||
<token name="DEVICE_NOT_FOUND" value="-1" />
|
||||
<token name="DEVICE_NOT_AVAILABLE" value="-2" />
|
||||
<token name="COMPILER_NOT_AVAILABLE" value="-3" />
|
||||
<token name="MEM_OBJECT_ALLOCATION_FAILURE" value="-4" />
|
||||
<token name="OUT_OF_RESOURCES" value="-5" />
|
||||
<token name="OUT_OF_HOST_MEMORY" value="-6" />
|
||||
<token name="PROFILING_INFO_NOT_AVAILABLE" value="-7" />
|
||||
<token name="MEM_COPY_OVERLAP" value="-8" />
|
||||
<token name="IMAGE_FORMAT_MISMATCH" value="-9" />
|
||||
<token name="IMAGE_FORMAT_NOT_SUPPORTED" value="-10" />
|
||||
<token name="BUILD_PROGRAM_FAILURE" value="-11" />
|
||||
<token name="MAP_FAILURE" value="-12" />
|
||||
<token name="INVALID_VALUE" value="-30" />
|
||||
<token name="INVALID_DEVICE_TYPE" value="-31" />
|
||||
<token name="INVALID_PLATFORM" value="-32" />
|
||||
<token name="INVALID_DEVICE" value="-33" />
|
||||
<token name="INVALID_CONTEXT" value="-34" />
|
||||
<token name="INVALID_QUEUE_PROPERTIES" value="-35" />
|
||||
<token name="INVALID_COMMAND_QUEUE" value="-36" />
|
||||
<token name="INVALID_HOST_PTR" value="-37" />
|
||||
<token name="INVALID_MEM_OBJECT" value="-38" />
|
||||
<token name="INVALID_IMAGE_FORMAT_DESCRIPTOR" value="-39" />
|
||||
<token name="INVALID_IMAGE_SIZE" value="-40" />
|
||||
<token name="INVALID_SAMPLER" value="-41" />
|
||||
<token name="INVALID_BINARY" value="-42" />
|
||||
<token name="INVALID_BUILD_OPTIONS" value="-43" />
|
||||
<token name="INVALID_PROGRAM" value="-44" />
|
||||
<token name="INVALID_PROGRAM_EXECUTABLE" value="-45" />
|
||||
<token name="INVALID_KERNEL_NAME" value="-46" />
|
||||
<token name="INVALID_KERNEL_DEFINITION" value="-47" />
|
||||
<token name="INVALID_KERNEL" value="-48" />
|
||||
<token name="INVALID_ARG_INDEX" value="-49" />
|
||||
<token name="INVALID_ARG_VALUE" value="-50" />
|
||||
<token name="INVALID_ARG_SIZE" value="-51" />
|
||||
<token name="INVALID_KERNEL_ARGS" value="-52" />
|
||||
<token name="INVALID_WORK_DIMENSION" value="-53" />
|
||||
<token name="INVALID_WORK_GROUP_SIZE" value="-54" />
|
||||
<token name="INVALID_WORK_ITEM_SIZE" value="-55" />
|
||||
<token name="INVALID_GLOBAL_OFFSET" value="-56" />
|
||||
<token name="INVALID_EVENT_WAIT_LIST" value="-57" />
|
||||
<token name="INVALID_EVENT" value="-58" />
|
||||
<token name="INVALID_OPERATION" value="-59" />
|
||||
<token name="INVALID_GL_OBJECT" value="-60" />
|
||||
<token name="INVALID_BUFFER_SIZE" value="-61" />
|
||||
<token name="INVALID_MIP_LEVEL" value="-62" />
|
||||
</enum>
|
||||
<enum name="Version">
|
||||
<token name="VERSION_1_0" value="1" />
|
||||
</enum>
|
||||
<enum name="Bool">
|
||||
<token name="FALSE" value="0" />
|
||||
<token name="TRUE" value="1" />
|
||||
</enum>
|
||||
<enum name="PlatformInfo">
|
||||
<token name="PLATFORM_PROFILE" value="0x0900" />
|
||||
<token name="PLATFORM_VERSION" value="0x0901" />
|
||||
<token name="PLATFORM_NAME" value="0x0902" />
|
||||
<token name="PLATFORM_VENDOR" value="0x0903" />
|
||||
<token name="PLATFORM_EXTENSIONS" value="0x0904" />
|
||||
</enum>
|
||||
<enum name="DeviceTypeFlags">
|
||||
<token name="DEVICE_TYPE_DEFAULT" value="1" />
|
||||
<token name="DEVICE_TYPE_CPU" value="1" />
|
||||
<token name="DEVICE_TYPE_GPU" value="1" />
|
||||
<token name="DEVICE_TYPE_ACCELERATOR" value="1" />
|
||||
<token name="DEVICE_TYPE_ALL" value="0xFFFFFFFF" />
|
||||
</enum>
|
||||
<enum name="DeviceInfo">
|
||||
<token name="DEVICE_TYPE" value="0x1000" />
|
||||
<token name="DEVICE_VENDOR_ID" value="0x1001" />
|
||||
<token name="DEVICE_MAX_COMPUTE_UNITS" value="0x1002" />
|
||||
<token name="DEVICE_MAX_WORK_ITEM_DIMENSIONS" value="0x1003" />
|
||||
<token name="DEVICE_MAX_WORK_GROUP_SIZE" value="0x1004" />
|
||||
<token name="DEVICE_MAX_WORK_ITEM_SIZES" value="0x1005" />
|
||||
<token name="DEVICE_PREFERRED_VECTOR_WIDTH_CHAR" value="0x1006" />
|
||||
<token name="DEVICE_PREFERRED_VECTOR_WIDTH_SHORT" value="0x1007" />
|
||||
<token name="DEVICE_PREFERRED_VECTOR_WIDTH_INT" value="0x1008" />
|
||||
<token name="DEVICE_PREFERRED_VECTOR_WIDTH_LONG" value="0x1009" />
|
||||
<token name="DEVICE_PREFERRED_VECTOR_WIDTH_FLOAT" value="0x100A" />
|
||||
<token name="DEVICE_PREFERRED_VECTOR_WIDTH_DOUBLE" value="0x100B" />
|
||||
<token name="DEVICE_MAX_CLOCK_FREQUENCY" value="0x100C" />
|
||||
<token name="DEVICE_ADDRESS_BITS" value="0x100D" />
|
||||
<token name="DEVICE_MAX_READ_IMAGE_ARGS" value="0x100E" />
|
||||
<token name="DEVICE_MAX_WRITE_IMAGE_ARGS" value="0x100F" />
|
||||
<token name="DEVICE_MAX_MEM_ALLOC_SIZE" value="0x1010" />
|
||||
<token name="DEVICE_IMAGE2D_MAX_WIDTH" value="0x1011" />
|
||||
<token name="DEVICE_IMAGE2D_MAX_HEIGHT" value="0x1012" />
|
||||
<token name="DEVICE_IMAGE3D_MAX_WIDTH" value="0x1013" />
|
||||
<token name="DEVICE_IMAGE3D_MAX_HEIGHT" value="0x1014" />
|
||||
<token name="DEVICE_IMAGE3D_MAX_DEPTH" value="0x1015" />
|
||||
<token name="DEVICE_IMAGE_SUPPORT" value="0x1016" />
|
||||
<token name="DEVICE_MAX_PARAMETER_SIZE" value="0x1017" />
|
||||
<token name="DEVICE_MAX_SAMPLERS" value="0x1018" />
|
||||
<token name="DEVICE_MEM_BASE_ADDR_ALIGN" value="0x1019" />
|
||||
<token name="DEVICE_MIN_DATA_TYPE_ALIGN_SIZE" value="0x101A" />
|
||||
<token name="DEVICE_SINGLE_FP_CONFIG" value="0x101B" />
|
||||
<token name="DEVICE_GLOBAL_MEM_CACHE_TYPE" value="0x101C" />
|
||||
<token name="DEVICE_GLOBAL_MEM_CACHELINE_SIZE" value="0x101D" />
|
||||
<token name="DEVICE_GLOBAL_MEM_CACHE_SIZE" value="0x101E" />
|
||||
<token name="DEVICE_GLOBAL_MEM_SIZE" value="0x101F" />
|
||||
<token name="DEVICE_MAX_CONSTANT_BUFFER_SIZE" value="0x1020" />
|
||||
<token name="DEVICE_MAX_CONSTANT_ARGS" value="0x1021" />
|
||||
<token name="DEVICE_LOCAL_MEM_TYPE" value="0x1022" />
|
||||
<token name="DEVICE_LOCAL_MEM_SIZE" value="0x1023" />
|
||||
<token name="DEVICE_ERROR_CORRECTION_SUPPORT" value="0x1024" />
|
||||
<token name="DEVICE_PROFILING_TIMER_RESOLUTION" value="0x1025" />
|
||||
<token name="DEVICE_ENDIAN_LITTLE" value="0x1026" />
|
||||
<token name="DEVICE_AVAILABLE" value="0x1027" />
|
||||
<token name="DEVICE_COMPILER_AVAILABLE" value="0x1028" />
|
||||
<token name="DEVICE_EXECUTION_CAPABILITIES" value="0x1029" />
|
||||
<token name="DEVICE_QUEUE_PROPERTIES" value="0x102A" />
|
||||
<token name="DEVICE_NAME" value="0x102B" />
|
||||
<token name="DEVICE_VENDOR" value="0x102C" />
|
||||
<token name="DRIVER_VERSION" value="0x102D" />
|
||||
<token name="DEVICE_PROFILE" value="0x102E" />
|
||||
<token name="DEVICE_VERSION" value="0x102F" />
|
||||
<token name="DEVICE_EXTENSIONS" value="0x1030" />
|
||||
<token name="DEVICE_PLATFORM" value="0x1031" />
|
||||
</enum>
|
||||
<enum name="DeviceFpConfigFlags">
|
||||
<token name="FP_DENORM" value="1" />
|
||||
<token name="FP_INF_NAN" value="1" />
|
||||
<token name="FP_ROUND_TO_NEAREST" value="1" />
|
||||
<token name="FP_ROUND_TO_ZERO" value="1" />
|
||||
<token name="FP_ROUND_TO_INF" value="1" />
|
||||
<token name="FP_FMA" value="1" />
|
||||
</enum>
|
||||
<enum name="DeviceMemCacheType">
|
||||
<token name="NONE" value="0x0" />
|
||||
<token name="READ_ONLY_CACHE" value="0x1" />
|
||||
<token name="READ_WRITE_CACHE" value="0x2" />
|
||||
</enum>
|
||||
<enum name="DeviceLocalMemType">
|
||||
<token name="LOCAL" value="0x1" />
|
||||
<token name="GLOBAL" value="0x2" />
|
||||
</enum>
|
||||
<enum name="DeviceExecCapabilitiesFlags">
|
||||
<token name="EXEC_KERNEL" value="1" />
|
||||
<token name="EXEC_NATIVE_KERNEL" value="1" />
|
||||
</enum>
|
||||
<enum name="CommandQueuePropertiesFlags">
|
||||
<token name="QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE" value="1" />
|
||||
<token name="QUEUE_PROFILING_ENABLE" value="1" />
|
||||
</enum>
|
||||
<enum name="ContextInfo">
|
||||
<token name="CONTEXT_REFERENCE_COUNT" value="0x1080" />
|
||||
<token name="CONTEXT_DEVICES" value="0x1081" />
|
||||
<token name="CONTEXT_PROPERTIES" value="0x1082" />
|
||||
</enum>
|
||||
<enum name="ContextProperties">
|
||||
<token name="CONTEXT_PLATFORM" value="0x1084" />
|
||||
</enum>
|
||||
<enum name="CommandQueueInfo">
|
||||
<token name="QUEUE_CONTEXT" value="0x1090" />
|
||||
<token name="QUEUE_DEVICE" value="0x1091" />
|
||||
<token name="QUEUE_REFERENCE_COUNT" value="0x1092" />
|
||||
<token name="QUEUE_PROPERTIES" value="0x1093" />
|
||||
</enum>
|
||||
<enum name="MemFlagsFlags">
|
||||
<token name="MEM_READ_WRITE" value="1" />
|
||||
<token name="MEM_WRITE_ONLY" value="1" />
|
||||
<token name="MEM_READ_ONLY" value="1" />
|
||||
<token name="MEM_USE_HOST_PTR" value="1" />
|
||||
<token name="MEM_ALLOC_HOST_PTR" value="1" />
|
||||
<token name="MEM_COPY_HOST_PTR" value="1" />
|
||||
</enum>
|
||||
<enum name="ChannelOrder">
|
||||
<token name="R" value="0x10B0" />
|
||||
<token name="A" value="0x10B1" />
|
||||
<token name="RG" value="0x10B2" />
|
||||
<token name="RA" value="0x10B3" />
|
||||
<token name="RGB" value="0x10B4" />
|
||||
<token name="RGBA" value="0x10B5" />
|
||||
<token name="BGRA" value="0x10B6" />
|
||||
<token name="ARGB" value="0x10B7" />
|
||||
<token name="INTENSITY" value="0x10B8" />
|
||||
<token name="LUMINANCE" value="0x10B9" />
|
||||
</enum>
|
||||
<enum name="ChannelType">
|
||||
<token name="SNORM_INT8" value="0x10D0" />
|
||||
<token name="SNORM_INT16" value="0x10D1" />
|
||||
<token name="UNORM_INT8" value="0x10D2" />
|
||||
<token name="UNORM_INT16" value="0x10D3" />
|
||||
<token name="UNORM_SHORT_565" value="0x10D4" />
|
||||
<token name="UNORM_SHORT_555" value="0x10D5" />
|
||||
<token name="UNORM_INT_101010" value="0x10D6" />
|
||||
<token name="SIGNED_INT8" value="0x10D7" />
|
||||
<token name="SIGNED_INT16" value="0x10D8" />
|
||||
<token name="SIGNED_INT32" value="0x10D9" />
|
||||
<token name="UNSIGNED_INT8" value="0x10DA" />
|
||||
<token name="UNSIGNED_INT16" value="0x10DB" />
|
||||
<token name="UNSIGNED_INT32" value="0x10DC" />
|
||||
<token name="HALF_FLOAT" value="0x10DD" />
|
||||
<token name="FLOAT" value="0x10DE" />
|
||||
</enum>
|
||||
<enum name="MemObjectType">
|
||||
<token name="MEM_OBJECT_BUFFER" value="0x10F0" />
|
||||
<token name="MEM_OBJECT_IMAGE2D" value="0x10F1" />
|
||||
<token name="MEM_OBJECT_IMAGE3D" value="0x10F2" />
|
||||
</enum>
|
||||
<enum name="MemInfo">
|
||||
<token name="MEM_TYPE" value="0x1100" />
|
||||
<token name="MEM_FLAGS" value="0x1101" />
|
||||
<token name="MEM_SIZE" value="0x1102" />
|
||||
<token name="MEM_HOST_PTR" value="0x1103" />
|
||||
<token name="MEM_MAP_COUNT" value="0x1104" />
|
||||
<token name="MEM_REFERENCE_COUNT" value="0x1105" />
|
||||
<token name="MEM_CONTEXT" value="0x1106" />
|
||||
</enum>
|
||||
<enum name="ImageInfo">
|
||||
<token name="IMAGE_FORMAT" value="0x1110" />
|
||||
<token name="IMAGE_ELEMENT_SIZE" value="0x1111" />
|
||||
<token name="IMAGE_ROW_PITCH" value="0x1112" />
|
||||
<token name="IMAGE_SLICE_PITCH" value="0x1113" />
|
||||
<token name="IMAGE_WIDTH" value="0x1114" />
|
||||
<token name="IMAGE_HEIGHT" value="0x1115" />
|
||||
<token name="IMAGE_DEPTH" value="0x1116" />
|
||||
</enum>
|
||||
<enum name="AddressingMode">
|
||||
<token name="ADDRESS_NONE" value="0x1130" />
|
||||
<token name="ADDRESS_CLAMP_TO_EDGE" value="0x1131" />
|
||||
<token name="ADDRESS_CLAMP" value="0x1132" />
|
||||
<token name="ADDRESS_REPEAT" value="0x1133" />
|
||||
</enum>
|
||||
<enum name="FilterMode">
|
||||
<token name="FILTER_NEAREST" value="0x1140" />
|
||||
<token name="FILTER_LINEAR" value="0x1141" />
|
||||
</enum>
|
||||
<enum name="SamplerInfo">
|
||||
<token name="SAMPLER_REFERENCE_COUNT" value="0x1150" />
|
||||
<token name="SAMPLER_CONTEXT" value="0x1151" />
|
||||
<token name="SAMPLER_NORMALIZED_COORDS" value="0x1152" />
|
||||
<token name="SAMPLER_ADDRESSING_MODE" value="0x1153" />
|
||||
<token name="SAMPLER_FILTER_MODE" value="0x1154" />
|
||||
</enum>
|
||||
<enum name="MapFlagsFlags">
|
||||
<token name="MAP_READ" value="1" />
|
||||
<token name="MAP_WRITE" value="1" />
|
||||
</enum>
|
||||
<enum name="ProgramInfo">
|
||||
<token name="PROGRAM_REFERENCE_COUNT" value="0x1160" />
|
||||
<token name="PROGRAM_CONTEXT" value="0x1161" />
|
||||
<token name="PROGRAM_NUM_DEVICES" value="0x1162" />
|
||||
<token name="PROGRAM_DEVICES" value="0x1163" />
|
||||
<token name="PROGRAM_SOURCE" value="0x1164" />
|
||||
<token name="PROGRAM_BINARY_SIZES" value="0x1165" />
|
||||
<token name="PROGRAM_BINARIES" value="0x1166" />
|
||||
</enum>
|
||||
<enum name="ProgramBuildInfo">
|
||||
<token name="PROGRAM_BUILD_STATUS" value="0x1181" />
|
||||
<token name="PROGRAM_BUILD_OPTIONS" value="0x1182" />
|
||||
<token name="PROGRAM_BUILD_LOG" value="0x1183" />
|
||||
</enum>
|
||||
<enum name="BuildStatus">
|
||||
<token name="BUILD_SUCCESS" value="0" />
|
||||
<token name="BUILD_NONE" value="-1" />
|
||||
<token name="BUILD_ERROR" value="-2" />
|
||||
<token name="BUILD_IN_PROGRESS" value="-3" />
|
||||
</enum>
|
||||
<enum name="KernelInfo">
|
||||
<token name="KERNEL_FUNCTION_NAME" value="0x1190" />
|
||||
<token name="KERNEL_NUM_ARGS" value="0x1191" />
|
||||
<token name="KERNEL_REFERENCE_COUNT" value="0x1192" />
|
||||
<token name="KERNEL_CONTEXT" value="0x1193" />
|
||||
<token name="KERNEL_PROGRAM" value="0x1194" />
|
||||
</enum>
|
||||
<enum name="KernelWorkGroupInfo">
|
||||
<token name="KERNEL_WORK_GROUP_SIZE" value="0x11B0" />
|
||||
<token name="KERNEL_COMPILE_WORK_GROUP_SIZE" value="0x11B1" />
|
||||
<token name="KERNEL_LOCAL_MEM_SIZE" value="0x11B2" />
|
||||
</enum>
|
||||
<enum name="EventInfo">
|
||||
<token name="EVENT_COMMAND_QUEUE" value="0x11D0" />
|
||||
<token name="EVENT_COMMAND_TYPE" value="0x11D1" />
|
||||
<token name="EVENT_REFERENCE_COUNT" value="0x11D2" />
|
||||
<token name="EVENT_COMMAND_EXECUTION_STATUS" value="0x11D3" />
|
||||
</enum>
|
||||
<enum name="CommandType">
|
||||
<token name="COMMAND_NDRANGE_KERNEL" value="0x11F0" />
|
||||
<token name="COMMAND_TASK" value="0x11F1" />
|
||||
<token name="COMMAND_NATIVE_KERNEL" value="0x11F2" />
|
||||
<token name="COMMAND_READ_BUFFER" value="0x11F3" />
|
||||
<token name="COMMAND_WRITE_BUFFER" value="0x11F4" />
|
||||
<token name="COMMAND_COPY_BUFFER" value="0x11F5" />
|
||||
<token name="COMMAND_READ_IMAGE" value="0x11F6" />
|
||||
<token name="COMMAND_WRITE_IMAGE" value="0x11F7" />
|
||||
<token name="COMMAND_COPY_IMAGE" value="0x11F8" />
|
||||
<token name="COMMAND_COPY_IMAGE_TO_BUFFER" value="0x11F9" />
|
||||
<token name="COMMAND_COPY_BUFFER_TO_IMAGE" value="0x11FA" />
|
||||
<token name="COMMAND_MAP_BUFFER" value="0x11FB" />
|
||||
<token name="COMMAND_MAP_IMAGE" value="0x11FC" />
|
||||
<token name="COMMAND_UNMAP_MEM_OBJECT" value="0x11FD" />
|
||||
<token name="COMMAND_MARKER" value="0x11FE" />
|
||||
<token name="COMMAND_ACQUIRE_GL_OBJECTS" value="0x11FF" />
|
||||
<token name="COMMAND_RELEASE_GL_OBJECTS" value="0x1200" />
|
||||
</enum>
|
||||
<enum name="CommandExecutionStatus">
|
||||
<token name="COMPLETE" value="0x0" />
|
||||
<token name="RUNNING" value="0x1" />
|
||||
<token name="SUBMITTED" value="0x2" />
|
||||
<token name="QUEUED" value="0x3" />
|
||||
</enum>
|
||||
<enum name="ProfilingInfo">
|
||||
<token name="PROFILING_COMMAND_QUEUED" value="0x1280" />
|
||||
<token name="PROFILING_COMMAND_SUBMIT" value="0x1281" />
|
||||
<token name="PROFILING_COMMAND_START" value="0x1282" />
|
||||
<token name="PROFILING_COMMAND_END" value="0x1283" />
|
||||
</enum>
|
||||
<function name="GetPlatformIDs" extension="Core" profile="" category="1.0">
|
||||
<returns type="cl_int" />
|
||||
<param type="cl_uint" name="num_entries" />
|
||||
<param type="cl_platform_id" name="platforms" />
|
||||
<param type="cl_uint" name="num_platforms" />
|
||||
</function>
|
||||
<function name="GetPlatformInfo" extension="Core" profile="" category="1.0">
|
||||
<returns type="cl_int" />
|
||||
<param type="cl_platform_id" name="platform" />
|
||||
<param type="cl_platform_info" name="param_name" />
|
||||
<param type="size_t" name="param_value_size" />
|
||||
<param type="void" name="param_value" />
|
||||
<param type="size_t" name="param_value_size_ret" />
|
||||
</function>
|
||||
<function name="GetDeviceIDs" extension="Core" profile="" category="1.0">
|
||||
<returns type="cl_int" />
|
||||
<param type="cl_platform_id" name="platform" />
|
||||
<param type="cl_device_type" name="device_type" />
|
||||
<param type="cl_uint" name="num_entries" />
|
||||
<param type="cl_device_id" name="devices" />
|
||||
<param type="cl_uint" name="num_devices" />
|
||||
</function>
|
||||
<function name="GetDeviceInfo" extension="Core" profile="" category="1.0">
|
||||
<returns type="cl_int" />
|
||||
<param type="cl_device_id" name="device" />
|
||||
<param type="cl_device_info" name="param_name" />
|
||||
<param type="size_t" name="param_value_size" />
|
||||
<param type="void" name="param_value" />
|
||||
<param type="size_t" name="param_value_size_ret" />
|
||||
</function>
|
||||
<function name="CreateContext" extension="Core" profile="" category="1.0">
|
||||
<returns type="cl_context" />
|
||||
<param type="cl_context_properties" name="properties" />
|
||||
<param type="cl_uint" name="num_devices" />
|
||||
<param type="devices" name="devices" />
|
||||
</function>
|
||||
<function name="CreateContextFromType" extension="Core" profile="" category="1.0">
|
||||
<returns type="cl_context" />
|
||||
<param type="cl_context_properties" name="properties" />
|
||||
<param type="cl_device_type" name="device_type" />
|
||||
</function>
|
||||
<function name="RetainContext" extension="Core" profile="" category="1.0">
|
||||
<returns type="cl_int" />
|
||||
<param type="cl_context" name="context" />
|
||||
</function>
|
||||
<function name="ReleaseContext" extension="Core" profile="" category="1.0">
|
||||
<returns type="cl_int" />
|
||||
<param type="cl_context" name="context" />
|
||||
</function>
|
||||
<function name="GetContextInfo" extension="Core" profile="" category="1.0">
|
||||
<returns type="cl_int" />
|
||||
<param type="cl_context" name="context" />
|
||||
<param type="cl_context_info" name="param_name" />
|
||||
<param type="size_t" name="param_value_size" />
|
||||
<param type="void" name="param_value" />
|
||||
<param type="size_t" name="param_value_size_ret" />
|
||||
</function>
|
||||
<function name="CreateCommandQueue" extension="Core" profile="" category="1.0">
|
||||
<returns type="cl_command_queue" />
|
||||
<param type="cl_context" name="context" />
|
||||
<param type="cl_device_id" name="device" />
|
||||
<param type="cl_command_queue_properties" name="properties" />
|
||||
<param type="cl_int" name="errcode_ret" />
|
||||
</function>
|
||||
<function name="RetainCommandQueue" extension="Core" profile="" category="1.0">
|
||||
<returns type="cl_int" />
|
||||
<param type="cl_command_queue" name="command_queue" />
|
||||
</function>
|
||||
<function name="ReleaseCommandQueue" extension="Core" profile="" category="1.0">
|
||||
<returns type="cl_int" />
|
||||
<param type="cl_command_queue" name="command_queue" />
|
||||
</function>
|
||||
<function name="GetCommandQueueInfo" extension="Core" profile="" category="1.0">
|
||||
<returns type="cl_int" />
|
||||
<param type="cl_command_queue" name="command_queue" />
|
||||
<param type="cl_command_queue_info" name="param_name" />
|
||||
<param type="size_t" name="param_value_size" />
|
||||
<param type="void" name="param_value" />
|
||||
<param type="size_t" name="param_value_size_ret" />
|
||||
</function>
|
||||
<function name="SetCommandQueueProperty" extension="Core" profile="" category="1.0">
|
||||
<returns type="cl_int" />
|
||||
<param type="cl_command_queue" name="command_queue" />
|
||||
<param type="cl_command_queue_properties" name="properties" />
|
||||
<param type="cl_bool" name="enable" />
|
||||
<param type="cl_command_queue_properties" name="old_properties" />
|
||||
</function>
|
||||
<function name="CreateBuffer" extension="Core" profile="" category="1.0">
|
||||
<returns type="cl_mem" />
|
||||
<param type="cl_context" name="context" />
|
||||
<param type="cl_mem_flags" name="flags" />
|
||||
<param type="size_t" name="size" />
|
||||
<param type="void" name="host_ptr" />
|
||||
<param type="cl_int" name="errcode_ret" />
|
||||
</function>
|
||||
<function name="CreateImage2D" extension="Core" profile="" category="1.0">
|
||||
<returns type="cl_mem" />
|
||||
<param type="cl_context" name="context" />
|
||||
<param type="cl_mem_flags" name="flags" />
|
||||
<param type="image_format" name="image_format" />
|
||||
<param type="size_t" name="image_width" />
|
||||
<param type="size_t" name="image_height" />
|
||||
<param type="size_t" name="image_row_pitch" />
|
||||
<param type="void" name="host_ptr" />
|
||||
<param type="cl_int" name="errcode_ret" />
|
||||
</function>
|
||||
<function name="CreateImage3D" extension="Core" profile="" category="1.0">
|
||||
<returns type="cl_mem" />
|
||||
<param type="cl_context" name="context" />
|
||||
<param type="cl_mem_flags" name="flags" />
|
||||
<param type="image_format" name="image_format" />
|
||||
<param type="size_t" name="image_width" />
|
||||
<param type="size_t" name="image_height" />
|
||||
<param type="size_t" name="image_depth" />
|
||||
<param type="size_t" name="image_row_pitch" />
|
||||
<param type="size_t" name="image_slice_pitch" />
|
||||
<param type="void" name="host_ptr" />
|
||||
<param type="cl_int" name="errcode_ret" />
|
||||
</function>
|
||||
<function name="RetainMemObject" extension="Core" profile="" category="1.0">
|
||||
<returns type="cl_int" />
|
||||
<param type="cl_mem" name="memobj" />
|
||||
</function>
|
||||
<function name="ReleaseMemObject" extension="Core" profile="" category="1.0">
|
||||
<returns type="cl_int" />
|
||||
<param type="cl_mem" name="memobj" />
|
||||
</function>
|
||||
<function name="GetSupportedImageFormats" extension="Core" profile="" category="1.0">
|
||||
<returns type="cl_int" />
|
||||
<param type="cl_context" name="context" />
|
||||
<param type="cl_mem_flags" name="flags" />
|
||||
<param type="cl_mem_object_type" name="image_type" />
|
||||
<param type="cl_uint" name="num_entries" />
|
||||
<param type="cl_image_format" name="image_formats" />
|
||||
<param type="cl_uint" name="num_image_formats" />
|
||||
</function>
|
||||
<function name="GetMemObjectInfo" extension="Core" profile="" category="1.0">
|
||||
<returns type="cl_int" />
|
||||
<param type="cl_mem" name="memobj" />
|
||||
<param type="cl_mem_info" name="param_name" />
|
||||
<param type="size_t" name="param_value_size" />
|
||||
<param type="void" name="param_value" />
|
||||
<param type="size_t" name="param_value_size_ret" />
|
||||
</function>
|
||||
<function name="GetImageInfo" extension="Core" profile="" category="1.0">
|
||||
<returns type="cl_int" />
|
||||
<param type="cl_mem" name="image" />
|
||||
<param type="cl_image_info" name="param_name" />
|
||||
<param type="size_t" name="param_value_size" />
|
||||
<param type="void" name="param_value" />
|
||||
<param type="size_t" name="param_value_size_ret" />
|
||||
</function>
|
||||
<function name="CreateSampler" extension="Core" profile="" category="1.0">
|
||||
<returns type="cl_sampler" />
|
||||
<param type="cl_context" name="context" />
|
||||
<param type="cl_bool" name="normalized_coords" />
|
||||
<param type="cl_addressing_mode" name="addressing_mode" />
|
||||
<param type="cl_filter_mode" name="filter_mode" />
|
||||
<param type="cl_int" name="errcode_ret" />
|
||||
</function>
|
||||
<function name="RetainSampler" extension="Core" profile="" category="1.0">
|
||||
<returns type="cl_int" />
|
||||
<param type="cl_sampler" name="sampler" />
|
||||
</function>
|
||||
<function name="ReleaseSampler" extension="Core" profile="" category="1.0">
|
||||
<returns type="cl_int" />
|
||||
<param type="cl_sampler" name="sampler" />
|
||||
</function>
|
||||
<function name="GetSamplerInfo" extension="Core" profile="" category="1.0">
|
||||
<returns type="cl_int" />
|
||||
<param type="cl_sampler" name="sampler" />
|
||||
<param type="cl_sampler_info" name="param_name" />
|
||||
<param type="size_t" name="param_value_size" />
|
||||
<param type="void" name="param_value" />
|
||||
<param type="size_t" name="param_value_size_ret" />
|
||||
</function>
|
||||
<function name="CreateProgramWithSource" extension="Core" profile="" category="1.0">
|
||||
<returns type="cl_program" />
|
||||
<param type="cl_context" name="context" />
|
||||
<param type="cl_uint" name="count" />
|
||||
<param type="strings" name="strings" />
|
||||
<param type="lengths" name="lengths" />
|
||||
<param type="cl_int" name="errcode_ret" />
|
||||
</function>
|
||||
<function name="CreateProgramWithBinary" extension="Core" profile="" category="1.0">
|
||||
<returns type="cl_program" />
|
||||
<param type="cl_context" name="context" />
|
||||
<param type="cl_uint" name="num_devices" />
|
||||
<param type="device_list" name="device_list" />
|
||||
<param type="lengths" name="lengths" />
|
||||
<param type="binaries" name="binaries" />
|
||||
<param type="cl_int" name="binary_status" />
|
||||
<param type="cl_int" name="errcode_ret" />
|
||||
</function>
|
||||
<function name="RetainProgram" extension="Core" profile="" category="1.0">
|
||||
<returns type="cl_int" />
|
||||
<param type="cl_program" name="program" />
|
||||
</function>
|
||||
<function name="ReleaseProgram" extension="Core" profile="" category="1.0">
|
||||
<returns type="cl_int" />
|
||||
<param type="cl_program" name="program" />
|
||||
</function>
|
||||
<function name="BuildProgram" extension="Core" profile="" category="1.0">
|
||||
<returns type="cl_int" />
|
||||
<param type="cl_program" name="program" />
|
||||
<param type="cl_uint" name="num_devices" />
|
||||
<param type="device_list" name="device_list" />
|
||||
<param type="options" name="options" />
|
||||
</function>
|
||||
<function name="UnloadCompiler" extension="Core" profile="" category="1.0">
|
||||
<returns type="cl_int" />
|
||||
</function>
|
||||
<function name="GetProgramInfo" extension="Core" profile="" category="1.0">
|
||||
<returns type="cl_int" />
|
||||
<param type="cl_program" name="program" />
|
||||
<param type="cl_program_info" name="param_name" />
|
||||
<param type="size_t" name="param_value_size" />
|
||||
<param type="void" name="param_value" />
|
||||
<param type="size_t" name="param_value_size_ret" />
|
||||
</function>
|
||||
<function name="GetProgramBuildInfo" extension="Core" profile="" category="1.0">
|
||||
<returns type="cl_int" />
|
||||
<param type="cl_program" name="program" />
|
||||
<param type="cl_device_id" name="device" />
|
||||
<param type="cl_program_build_info" name="param_name" />
|
||||
<param type="size_t" name="param_value_size" />
|
||||
<param type="void" name="param_value" />
|
||||
<param type="size_t" name="param_value_size_ret" />
|
||||
</function>
|
||||
<function name="CreateKernel" extension="Core" profile="" category="1.0">
|
||||
<returns type="cl_kernel" />
|
||||
<param type="cl_program" name="program" />
|
||||
<param type="kernel_name" name="kernel_name" />
|
||||
<param type="cl_int" name="errcode_ret" />
|
||||
</function>
|
||||
<function name="CreateKernelsInProgram" extension="Core" profile="" category="1.0">
|
||||
<returns type="cl_int" />
|
||||
<param type="cl_program" name="program" />
|
||||
<param type="cl_uint" name="num_kernels" />
|
||||
<param type="cl_kernel" name="kernels" />
|
||||
<param type="cl_uint" name="num_kernels_ret" />
|
||||
</function>
|
||||
<function name="RetainKernel" extension="Core" profile="" category="1.0">
|
||||
<returns type="cl_int" />
|
||||
<param type="cl_kernel" name="kernel" />
|
||||
</function>
|
||||
<function name="ReleaseKernel" extension="Core" profile="" category="1.0">
|
||||
<returns type="cl_int" />
|
||||
<param type="cl_kernel" name="kernel" />
|
||||
</function>
|
||||
<function name="SetKernelArg" extension="Core" profile="" category="1.0">
|
||||
<returns type="cl_int" />
|
||||
<param type="cl_kernel" name="kernel" />
|
||||
<param type="cl_uint" name="arg_index" />
|
||||
<param type="size_t" name="arg_size" />
|
||||
<param type="arg_value" name="arg_value" />
|
||||
</function>
|
||||
<function name="GetKernelInfo" extension="Core" profile="" category="1.0">
|
||||
<returns type="cl_int" />
|
||||
<param type="cl_kernel" name="kernel" />
|
||||
<param type="cl_kernel_info" name="param_name" />
|
||||
<param type="size_t" name="param_value_size" />
|
||||
<param type="void" name="param_value" />
|
||||
<param type="size_t" name="param_value_size_ret" />
|
||||
</function>
|
||||
<function name="GetKernelWorkGroupInfo" extension="Core" profile="" category="1.0">
|
||||
<returns type="cl_int" />
|
||||
<param type="cl_kernel" name="kernel" />
|
||||
<param type="cl_device_id" name="device" />
|
||||
<param type="cl_kernel_work_group_info" name="param_name" />
|
||||
<param type="size_t" name="param_value_size" />
|
||||
<param type="void" name="param_value" />
|
||||
<param type="size_t" name="param_value_size_ret" />
|
||||
</function>
|
||||
<function name="WaitForEvents" extension="Core" profile="" category="1.0">
|
||||
<returns type="cl_int" />
|
||||
<param type="cl_uint" name="num_events" />
|
||||
<param type="event_list" name="event_list" />
|
||||
</function>
|
||||
<function name="GetEventInfo" extension="Core" profile="" category="1.0">
|
||||
<returns type="cl_int" />
|
||||
<param type="cl_event" name="event" />
|
||||
<param type="cl_event_info" name="param_name" />
|
||||
<param type="size_t" name="param_value_size" />
|
||||
<param type="void" name="param_value" />
|
||||
<param type="size_t" name="param_value_size_ret" />
|
||||
</function>
|
||||
<function name="RetainEvent" extension="Core" profile="" category="1.0">
|
||||
<returns type="cl_int" />
|
||||
<param type="cl_event" name="event" />
|
||||
</function>
|
||||
<function name="ReleaseEvent" extension="Core" profile="" category="1.0">
|
||||
<returns type="cl_int" />
|
||||
<param type="cl_event" name="event" />
|
||||
</function>
|
||||
<function name="GetEventProfilingInfo" extension="Core" profile="" category="1.0">
|
||||
<returns type="cl_int" />
|
||||
<param type="cl_event" name="event" />
|
||||
<param type="cl_profiling_info" name="param_name" />
|
||||
<param type="size_t" name="param_value_size" />
|
||||
<param type="void" name="param_value" />
|
||||
<param type="size_t" name="param_value_size_ret" />
|
||||
</function>
|
||||
<function name="Flush" extension="Core" profile="" category="1.0">
|
||||
<returns type="cl_int" />
|
||||
<param type="cl_command_queue" name="command_queue" />
|
||||
</function>
|
||||
<function name="Finish" extension="Core" profile="" category="1.0">
|
||||
<returns type="cl_int" />
|
||||
<param type="cl_command_queue" name="command_queue" />
|
||||
</function>
|
||||
<function name="EnqueueReadBuffer" extension="Core" profile="" category="1.0">
|
||||
<returns type="cl_int" />
|
||||
<param type="cl_command_queue" name="command_queue" />
|
||||
<param type="cl_mem" name="buffer" />
|
||||
<param type="cl_bool" name="blocking_read" />
|
||||
<param type="size_t" name="offset" />
|
||||
<param type="size_t" name="cb" />
|
||||
<param type="void" name="ptr" />
|
||||
<param type="cl_uint" name="num_events_in_wait_list" />
|
||||
<param type="event_wait_list" name="event_wait_list" />
|
||||
<param type="cl_event" name="event" />
|
||||
</function>
|
||||
<function name="EnqueueWriteBuffer" extension="Core" profile="" category="1.0">
|
||||
<returns type="cl_int" />
|
||||
<param type="cl_command_queue" name="command_queue" />
|
||||
<param type="cl_mem" name="buffer" />
|
||||
<param type="cl_bool" name="blocking_write" />
|
||||
<param type="size_t" name="offset" />
|
||||
<param type="size_t" name="cb" />
|
||||
<param type="ptr" name="ptr" />
|
||||
<param type="cl_uint" name="num_events_in_wait_list" />
|
||||
<param type="event_wait_list" name="event_wait_list" />
|
||||
<param type="cl_event" name="event" />
|
||||
</function>
|
||||
<function name="EnqueueCopyBuffer" extension="Core" profile="" category="1.0">
|
||||
<returns type="cl_int" />
|
||||
<param type="cl_command_queue" name="command_queue" />
|
||||
<param type="cl_mem" name="src_buffer" />
|
||||
<param type="cl_mem" name="dst_buffer" />
|
||||
<param type="size_t" name="src_offset" />
|
||||
<param type="size_t" name="dst_offset" />
|
||||
<param type="size_t" name="cb" />
|
||||
<param type="cl_uint" name="num_events_in_wait_list" />
|
||||
<param type="event_wait_list" name="event_wait_list" />
|
||||
<param type="cl_event" name="event" />
|
||||
</function>
|
||||
<function name="EnqueueReadImage" extension="Core" profile="" category="1.0">
|
||||
<returns type="cl_int" />
|
||||
<param type="cl_command_queue" name="command_queue" />
|
||||
<param type="cl_mem" name="image" />
|
||||
<param type="cl_bool" name="blocking_read" />
|
||||
<param type="origin[3]" name="origin[3]" />
|
||||
<param type="region[3]" name="region[3]" />
|
||||
<param type="size_t" name="row_pitch" />
|
||||
<param type="size_t" name="slice_pitch" />
|
||||
<param type="void" name="ptr" />
|
||||
<param type="cl_uint" name="num_events_in_wait_list" />
|
||||
<param type="event_wait_list" name="event_wait_list" />
|
||||
<param type="cl_event" name="event" />
|
||||
</function>
|
||||
<function name="EnqueueWriteImage" extension="Core" profile="" category="1.0">
|
||||
<returns type="cl_int" />
|
||||
<param type="cl_command_queue" name="command_queue" />
|
||||
<param type="cl_mem" name="image" />
|
||||
<param type="cl_bool" name="blocking_write" />
|
||||
<param type="origin[3]" name="origin[3]" />
|
||||
<param type="region[3]" name="region[3]" />
|
||||
<param type="size_t" name="input_row_pitch" />
|
||||
<param type="size_t" name="input_slice_pitch" />
|
||||
<param type="ptr" name="ptr" />
|
||||
<param type="cl_uint" name="num_events_in_wait_list" />
|
||||
<param type="event_wait_list" name="event_wait_list" />
|
||||
<param type="cl_event" name="event" />
|
||||
</function>
|
||||
<function name="EnqueueCopyImage" extension="Core" profile="" category="1.0">
|
||||
<returns type="cl_int" />
|
||||
<param type="cl_command_queue" name="command_queue" />
|
||||
<param type="cl_mem" name="src_image" />
|
||||
<param type="cl_mem" name="dst_image" />
|
||||
<param type="src_origin[3]" name="src_origin[3]" />
|
||||
<param type="dst_origin[3]" name="dst_origin[3]" />
|
||||
<param type="region[3]" name="region[3]" />
|
||||
<param type="cl_uint" name="num_events_in_wait_list" />
|
||||
<param type="event_wait_list" name="event_wait_list" />
|
||||
<param type="cl_event" name="event" />
|
||||
</function>
|
||||
<function name="EnqueueCopyImageToBuffer" extension="Core" profile="" category="1.0">
|
||||
<returns type="cl_int" />
|
||||
<param type="cl_command_queue" name="command_queue" />
|
||||
<param type="cl_mem" name="src_image" />
|
||||
<param type="cl_mem" name="dst_buffer" />
|
||||
<param type="src_origin[3]" name="src_origin[3]" />
|
||||
<param type="region[3]" name="region[3]" />
|
||||
<param type="size_t" name="dst_offset" />
|
||||
<param type="cl_uint" name="num_events_in_wait_list" />
|
||||
<param type="event_wait_list" name="event_wait_list" />
|
||||
<param type="cl_event" name="event" />
|
||||
</function>
|
||||
<function name="EnqueueCopyBufferToImage" extension="Core" profile="" category="1.0">
|
||||
<returns type="cl_int" />
|
||||
<param type="cl_command_queue" name="command_queue" />
|
||||
<param type="cl_mem" name="src_buffer" />
|
||||
<param type="cl_mem" name="dst_image" />
|
||||
<param type="size_t" name="src_offset" />
|
||||
<param type="dst_origin[3]" name="dst_origin[3]" />
|
||||
<param type="region[3]" name="region[3]" />
|
||||
<param type="cl_uint" name="num_events_in_wait_list" />
|
||||
<param type="event_wait_list" name="event_wait_list" />
|
||||
<param type="cl_event" name="event" />
|
||||
</function>
|
||||
<function name="_API_CALL" extension="Core" profile="" category="1.0">
|
||||
<returns type="void" />
|
||||
<param type="cl_command_queue" name="command_queue" />
|
||||
<param type="cl_mem" name="buffer" />
|
||||
<param type="cl_bool" name="blocking_map" />
|
||||
<param type="cl_map_flags" name="map_flags" />
|
||||
<param type="size_t" name="offset" />
|
||||
<param type="size_t" name="cb" />
|
||||
<param type="cl_uint" name="num_events_in_wait_list" />
|
||||
<param type="event_wait_list" name="event_wait_list" />
|
||||
<param type="cl_event" name="event" />
|
||||
<param type="cl_int" name="errcode_ret" />
|
||||
</function>
|
||||
<function name="_API_CALL" extension="Core" profile="" category="1.0">
|
||||
<returns type="void" />
|
||||
<param type="cl_command_queue" name="command_queue" />
|
||||
<param type="cl_mem" name="image" />
|
||||
<param type="cl_bool" name="blocking_map" />
|
||||
<param type="cl_map_flags" name="map_flags" />
|
||||
<param type="origin[3]" name="origin[3]" />
|
||||
<param type="region[3]" name="region[3]" />
|
||||
<param type="size_t" name="image_row_pitch" />
|
||||
<param type="size_t" name="image_slice_pitch" />
|
||||
<param type="cl_uint" name="num_events_in_wait_list" />
|
||||
<param type="event_wait_list" name="event_wait_list" />
|
||||
<param type="cl_event" name="event" />
|
||||
<param type="cl_int" name="errcode_ret" />
|
||||
</function>
|
||||
<function name="EnqueueUnmapMemObject" extension="Core" profile="" category="1.0">
|
||||
<returns type="cl_int" />
|
||||
<param type="cl_command_queue" name="command_queue" />
|
||||
<param type="cl_mem" name="memobj" />
|
||||
<param type="void" name="mapped_ptr" />
|
||||
<param type="cl_uint" name="num_events_in_wait_list" />
|
||||
<param type="event_wait_list" name="event_wait_list" />
|
||||
<param type="cl_event" name="event" />
|
||||
</function>
|
||||
<function name="EnqueueNDRangeKernel" extension="Core" profile="" category="1.0">
|
||||
<returns type="cl_int" />
|
||||
<param type="cl_command_queue" name="command_queue" />
|
||||
<param type="cl_kernel" name="kernel" />
|
||||
<param type="cl_uint" name="work_dim" />
|
||||
<param type="global_work_offset" name="global_work_offset" />
|
||||
<param type="global_work_size" name="global_work_size" />
|
||||
<param type="local_work_size" name="local_work_size" />
|
||||
<param type="cl_uint" name="num_events_in_wait_list" />
|
||||
<param type="event_wait_list" name="event_wait_list" />
|
||||
<param type="cl_event" name="event" />
|
||||
</function>
|
||||
<function name="EnqueueTask" extension="Core" profile="" category="1.0">
|
||||
<returns type="cl_int" />
|
||||
<param type="cl_command_queue" name="command_queue" />
|
||||
<param type="cl_kernel" name="kernel" />
|
||||
<param type="cl_uint" name="num_events_in_wait_list" />
|
||||
<param type="event_wait_list" name="event_wait_list" />
|
||||
<param type="cl_event" name="event" />
|
||||
</function>
|
||||
<function name="EnqueueNativeKernel" extension="Core" profile="" category="1.0">
|
||||
<returns type="cl_int" />
|
||||
<param type="cl_command_queue" name="command_queue" />
|
||||
</function>
|
||||
<function name="EnqueueMarker" extension="Core" profile="" category="1.0">
|
||||
<returns type="cl_int" />
|
||||
<param type="cl_command_queue" name="command_queue" />
|
||||
<param type="cl_event" name="event" />
|
||||
</function>
|
||||
<function name="EnqueueWaitForEvents" extension="Core" profile="" category="1.0">
|
||||
<returns type="cl_int" />
|
||||
<param type="cl_command_queue" name="command_queue" />
|
||||
<param type="cl_uint" name="num_events" />
|
||||
<param type="event_list" name="event_list" />
|
||||
</function>
|
||||
<function name="EnqueueBarrier" extension="Core" profile="" category="1.0">
|
||||
<returns type="cl_int" />
|
||||
<param type="cl_command_queue" name="command_queue" />
|
||||
</function>
|
||||
</signatures>
|
Loading…
Reference in a new issue