summaryrefslogtreecommitdiff
path: root/include/CL
diff options
context:
space:
mode:
Diffstat (limited to 'include/CL')
-rw-r--r--include/CL/cl_intel.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/CL/cl_intel.h b/include/CL/cl_intel.h
index 680f9480..ff1860a6 100644
--- a/include/CL/cl_intel.h
+++ b/include/CL/cl_intel.h
@@ -40,6 +40,14 @@ clIntelMapBuffer(cl_mem, cl_int*);
extern CL_API_ENTRY cl_int CL_API_CALL
clIntelUnmapBuffer(cl_mem);
+/* 1 to 1 mapping of drm_intel_gem_bo_map_gtt */
+extern CL_API_ENTRY void* CL_API_CALL
+clIntelMapBufferGTT(cl_mem, cl_int*);
+
+/* 1 to 1 mapping of drm_intel_gem_bo_unmap_gtt */
+extern CL_API_ENTRY cl_int CL_API_CALL
+clIntelUnmapBufferGTT(cl_mem);
+
/* Pin /Unpin the buffer in GPU memory (must be root) */
extern CL_API_ENTRY cl_int CL_API_CALL
clIntelPinBuffer(cl_mem);