summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--make/config/cl-impl.cfg2
-rw-r--r--make/config/clImplCustomCode.java3
2 files changed, 3 insertions, 2 deletions
diff --git a/make/config/cl-impl.cfg b/make/config/cl-impl.cfg
index 4444b26..7019a56 100644
--- a/make/config/cl-impl.cfg
+++ b/make/config/cl-impl.cfg
@@ -93,6 +93,6 @@ ForceProcAddressGen clEnqueueMapImage
#include custom code
IncludeAs CustomJavaCode CLAbstractImpl clImplCustomCode.java
-ManualStaticInit CLAbstractImpl
+ManualStaticInitCall CLAbstractImpl
IncludeAs CustomCCode clImplCustomCode.c
diff --git a/make/config/clImplCustomCode.java b/make/config/clImplCustomCode.java
index f57995d..fc7d59e 100644
--- a/make/config/clImplCustomCode.java
+++ b/make/config/clImplCustomCode.java
@@ -19,9 +19,10 @@
return null;
}
addressTable.reset(bundle);
+ /** Not required nor forced
if( !initializeImpl() ) {
throw new RuntimeException("Initialization failure");
- }
+ } */
return bundle;
} } );
}