From 23a9866f73dd69f1b4ae095c8b0721045f8c40d6 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Wed, 18 Jun 2014 03:55:00 +0200 Subject: Adapt to GlueGen commit 2f6586292cd298bbc19d8acda0f7cf303c82078b (compount call-by-value extension) - initializeImpl() is no more required, since it's not forced .. uncomment in manual static initializer --- make/config/cl-impl.cfg | 2 +- make/config/clImplCustomCode.java | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'make/config') diff --git a/make/config/cl-impl.cfg b/make/config/cl-impl.cfg index 4444b267..7019a56d 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 f57995d1..fc7d59ed 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; } } ); } -- cgit v1.2.3