From b378d9ceb20016eeadc536682a08df9acc67aee6 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Tue, 17 Jun 2014 03:32:45 +0200 Subject: Adapt to GlueGen commit c3054a01990e55ab35756ea23ab7d7c05f24dd37 (compount call-by-value extension) --- make/config/cl-impl.cfg | 1 + make/config/clImplCustomCode.java | 3 +++ make/scripts/tests.sh | 6 +++--- 3 files changed, 7 insertions(+), 3 deletions(-) (limited to 'make') diff --git a/make/config/cl-impl.cfg b/make/config/cl-impl.cfg index a7b53950..4444b267 100644 --- a/make/config/cl-impl.cfg +++ b/make/config/cl-impl.cfg @@ -93,5 +93,6 @@ ForceProcAddressGen clEnqueueMapImage #include custom code IncludeAs CustomJavaCode CLAbstractImpl clImplCustomCode.java +ManualStaticInit CLAbstractImpl IncludeAs CustomCCode clImplCustomCode.c diff --git a/make/config/clImplCustomCode.java b/make/config/clImplCustomCode.java index 6c407110..f57995d1 100644 --- a/make/config/clImplCustomCode.java +++ b/make/config/clImplCustomCode.java @@ -19,6 +19,9 @@ return null; } addressTable.reset(bundle); + if( !initializeImpl() ) { + throw new RuntimeException("Initialization failure"); + } return bundle; } } ); } diff --git a/make/scripts/tests.sh b/make/scripts/tests.sh index bc718c4f..a839c171 100755 --- a/make/scripts/tests.sh +++ b/make/scripts/tests.sh @@ -63,7 +63,7 @@ function jrun() { #D_ARGS="-Djocl.debug=all" #D_ARGS="-Djogamp.debug=all -Djocl.debug=all" #D_ARGS="-Djogamp.debug.ProcAddressHelper -Djogamp.debug.NativeLibrary -Djogamp.debug.NativeLibrary.Lookup -Djogamp.debug.JNILibLoader -Djogamp.debug.TempJarCache -Djogamp.debug.JarUtil -Djocl.debug=all" - D_ARGS="-Djogamp.debug.ProcAddressHelper -Djogamp.debug.NativeLibrary -Djogamp.debug.NativeLibrary.Lookup -Djogamp.debug.JNILibLoader" + #D_ARGS="-Djogamp.debug.ProcAddressHelper -Djogamp.debug.NativeLibrary -Djogamp.debug.NativeLibrary.Lookup -Djogamp.debug.JNILibLoader" #X_ARGS="-Dsun.java2d.noddraw=true -Dsun.awt.noerasebackground=true" #X_ARGS="-verbose:jni" @@ -115,7 +115,7 @@ function testawt() { # # -testnoawt com.jogamp.opencl.CLBufferTest $* +#testnoawt com.jogamp.opencl.CLBufferTest $* #testnoawt com.jogamp.opencl.CLCommandQueueTest $* #testnoawt com.jogamp.opencl.CLExceptionTest $* #testnoawt com.jogamp.opencl.CLImageTest $* @@ -124,7 +124,7 @@ testnoawt com.jogamp.opencl.CLBufferTest $* #testnoawt com.jogamp.opencl.LowLevelBindingTest $* #testnoawt com.jogamp.opencl.TestJoclVersion $* #testnoawt com.jogamp.opencl.TestUtils $* -#testnoawt com.jogamp.opencl.gl.CLGLTest $* +testnoawt com.jogamp.opencl.gl.CLGLTest $* #testnoawt com.jogamp.opencl.util.concurrent.CLMultiContextTest $* -- cgit v1.2.3