Skip to content

Commit

Permalink
[USM] Align OpenCL USM extension header with the specification (#1162)
Browse files Browse the repository at this point in the history
Fix the cl_device_unified_shared_memory_capabilities_intel bitfield type
name.

Signed-off-by: Alexey Bader <[email protected]>
  • Loading branch information
bader authored Feb 24, 2020
1 parent c494112 commit a0c0e33
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions sycl/include/CL/cl_usm_ext.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,9 @@ extern "C" {
#define CL_DEVICE_CROSS_DEVICE_SHARED_MEM_CAPABILITIES_INTEL 0x4193
#define CL_DEVICE_SHARED_SYSTEM_MEM_CAPABILITIES_INTEL 0x4194

// TODO: should this be cl_device_unified_shared_memory_capabilities_intel?
typedef cl_bitfield cl_unified_shared_memory_capabilities_intel;
typedef cl_bitfield cl_device_unified_shared_memory_capabilities_intel;

/* cl_unified_shared_memory_capabilities_intel - bitfield */
/* cl_device_unified_shared_memory_capabilities_intel - bitfield */
#define CL_UNIFIED_SHARED_MEMORY_ACCESS_INTEL (1 << 0)
#define CL_UNIFIED_SHARED_MEMORY_ATOMIC_ACCESS_INTEL (1 << 1)
#define CL_UNIFIED_SHARED_MEMORY_CONCURRENT_ACCESS_INTEL (1 << 2)
Expand Down

0 comments on commit a0c0e33

Please sign in to comment.