Skip to content

Commit

Permalink
Add definitions for cl_arm_protected_memory_allocation (#187)
Browse files Browse the repository at this point in the history
* Add definitions for cl_arm_protected_memory_allocation

Specification: KhronosGroup/OpenCL-Docs#727

Signed-off-by: Kevin Petit <kevin.petit@arm.com>

* fix UB
  • Loading branch information
kpet committed Dec 14, 2021
1 parent e3cd573 commit 59ac4dc
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions CL/cl_ext.h
Original file line number Diff line number Diff line change
Expand Up @@ -1678,6 +1678,14 @@ typedef cl_uint cl_command_termination_reason_arm;
#define CL_COMMAND_TERMINATION_CONTROLLED_FAILURE_ARM 2
#define CL_COMMAND_TERMINATION_ERROR_ARM 3

/*************************************
* cl_arm_protected_memory_allocation *
*************************************/

#define cl_arm_protected_memory_allocation 1

#define CL_MEM_PROTECTED_ALLOC_ARM (1ULL << 36)

/******************************************
* cl_intel_exec_by_local_thread extension *
******************************************/
Expand Down

0 comments on commit 59ac4dc

Please sign in to comment.