summaryrefslogtreecommitdiffstats
path: root/resources
diff options
context:
space:
mode:
Diffstat (limited to 'resources')
-rw-r--r--resources/cl-common.cfg28
1 files changed, 28 insertions, 0 deletions
diff --git a/resources/cl-common.cfg b/resources/cl-common.cfg
index 72f78fb9..16b2017d 100644
--- a/resources/cl-common.cfg
+++ b/resources/cl-common.cfg
@@ -26,6 +26,34 @@ Ignore CL_LONG_MAX
Ignore CL_LONG_MIN
Ignore CL_ULONG_MAX
+#enforce client side "good behavior" by generating direct-memory-only bindings for
+#performance critical functions.
+#NioDirectOnly __ALL__
+NioDirectOnly clEnqueueBarrier
+NioDirectOnly clEnqueueMarker
+NioDirectOnly clEnqueueNativeKernel
+NioDirectOnly clEnqueueUnmapMemObject
+NioDirectOnly clEnqueueWaitForEvents
+NioDirectOnly clEnqueueWriteImage
+NioDirectOnly clEnqueueReadBuffer
+NioDirectOnly clEnqueueWriteBuffer
+NioDirectOnly clEnqueueReadImage
+NioDirectOnly clEnqueueWriteImage
+NioDirectOnly clEnqueueCopyImage
+NioDirectOnly clEnqueueCopyImageToBuffer
+NioDirectOnly clEnqueueCopyBufferToImage
+NioDirectOnly clEnqueueMapBuffer
+NioDirectOnly clEnqueueMapImage
+NioDirectOnly clEnqueueUnmapMemObject
+NioDirectOnly clEnqueueNDRangeKernel
+NioDirectOnly clEnqueueTask
+NioDirectOnly clEnqueueNativeKernel
+NioDirectOnly clEnqueueMarker
+NioDirectOnly clEnqueueWaitForEvents
+NioDirectOnly clEnqueueBarrier
+NioDirectOnly clEnqueueAcquireGLObjects
+NioDirectOnly clEnqueueReleaseGLObjects
+
#common rename emitted struct accessors
#struct cl_image_format
RenameJavaType cl_image_format CLImageFormat