summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Ashbaugh <ben.ashbaugh@intel.com>2020-09-27 14:49:57 -0700
committerGitHub <noreply@github.com>2020-09-27 14:49:57 -0700
commit9d17180a33566500551ff98e9eba62b0867a6f64 (patch)
tree2885da7cf0fa06fbc52bce8674b8cb593b80e581
parent069189f519c8b8062a937a89d57fbe6ef4a8d76b (diff)
downloadOpenCL-Headers-9d17180a33566500551ff98e9eba62b0867a6f64.tar.gz
update APIs and enums for cl_intel_unified_shared_memory for rev Q (#108)
Specifically, adds the API for clMemBlockingFreeINTEL.
-rw-r--r--CL/cl_ext_intel.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/CL/cl_ext_intel.h b/CL/cl_ext_intel.h
index ad49c50..aab8228 100644
--- a/CL/cl_ext_intel.h
+++ b/CL/cl_ext_intel.h
@@ -409,7 +409,7 @@ typedef cl_uint cl_diagnostics_verbose_level;
* cl_intel_unified_shared_memory extension *
********************************************/
-/* These APIs are in sync with Revision O of the cl_intel_unified_shared_memory spec! */
+/* These APIs are in sync with Revision Q of the cl_intel_unified_shared_memory spec! */
#define cl_intel_unified_shared_memory 1
@@ -535,6 +535,16 @@ clMemFreeINTEL_fn)(
void* ptr);
extern CL_API_ENTRY cl_int CL_API_CALL
+clMemBlockingFreeINTEL(
+ cl_context context,
+ void* ptr);
+
+typedef CL_API_ENTRY cl_int (CL_API_CALL *
+clMemBlockingFreeINTEL_fn)(
+ cl_context context,
+ void* ptr);
+
+extern CL_API_ENTRY cl_int CL_API_CALL
clGetMemAllocInfoINTEL(
cl_context context,
const void* ptr,