Enable querying if compression is used

Change-Id: If8084a8f0720b93b06dbdd3c6aa6348b2db7a9c6
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
This commit is contained in:
Maciej Dziuban
2020-08-12 13:20:33 +02:00
committed by sys_ocldev
parent 8ee765d1a8
commit 907c767d1e
3 changed files with 43 additions and 0 deletions

View File

@ -75,6 +75,7 @@ using cl_unified_shared_memory_capabilities_intel = cl_bitfield;
#define CL_MEM_FORCE_SHARED_PHYSICAL_MEMORY_INTEL (1 << 20)
#define CL_MEM_ALLOCATION_HANDLE_INTEL 0x10050
#define CL_MEM_USES_COMPRESSION_INTEL 0x10051
//Used with createBuffer
#define CL_MEM_ALLOW_UNRESTRICTED_SIZE_INTEL (1 << 23)