summaryrefslogtreecommitdiffstats
path: root/resources
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2010-01-12 20:00:06 +0100
committerMichael Bien <[email protected]>2010-01-12 20:00:06 +0100
commit2c00ae70f73098653084e6852b4529f5e7c02f72 (patch)
treeb17d8936c15c3af645858ec243ef922ab3cea401 /resources
parent3d01c2c74e282c19e9286d4f4509bef8302ca93e (diff)
enforce client side "good behavior" by generating direct-memory-only bindings for performance critical functions.
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