Contact
Imagination Technologies Developer Forum:
https://forums.imgtec.com/
Jeremy Kemp, Imagination Technologies (Jeremy.Kemp 'at' imgtec.com)
Overview
This extension provides additional properties that can be passed to clCreateBufferWithProperties.
New API Enums
Accepted propertie(s) for the properties parameter to clCreateBufferWithProperties:
#define CL_MEM_ALLOC_FLAGS_IMG 0x40D7
Accepted values for cl_mem_alloc_flags_img
:
#define CL_MEM_ALLOC_RELAX_REQUIREMENTS_IMG (1 << 0)
Modifications to the OpenCL API Specification
- (Modify Section 5.2.1, Creating Buffer Objects)
-
- Add Table: List of supported properties when passed to clCreateBufferWithProperties
-
Property Property Value Description CL_MEM_ALLOC_FLAGS_IMG
cl_mem_alloc_flags_img
CL_MEM_ALLOC_RELAX_REQUIREMENTS_IMG
- On platforms with limited amounts of global memory available it may be desirable to request an allocation larger than the maximum amount reported by the implementation viaCL_DEVICE_MAX_MEM_ALLOC_SIZE
if there is sufficient knowledge about the entire system. This property allows an application to request buffer objects that are larger thanCL_DEVICE_MAX_MEM_ALLOC_SIZE
. - (Replace the following error value)
-
-
CL_INVALID_BUFFER_SIZE
if size is 0 or if size is greater thanCL_DEVICE_MAX_MEM_ALLOC_SIZE
for all devices in context.with
-
CL_INVALID_BUFFER_SIZE
if size is 0.
-