From 4638f4b3fdf4c946bda0b290a83652e4db00edea Mon Sep 17 00:00:00 2001 From: Wade Walker Date: Sat, 19 Sep 2015 15:20:23 -0500 Subject: Factor out common custom C and Java code to reduce duplication Consolidated C custom code so common functions are only defined once in the 1.1 version, then are called from the 1.2 and 2.0 version. Pulled common code in CLImpl up into the autogenerated implementation class and removed the hand-written implementation (since it was left empty). Factored custom Java code out so there was as little duplication as possible across the three CLImpl versions, with common code for all three versions in clImplCustomCode.java. --- test/com/jogamp/opencl/test/util/MiscUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/com/jogamp/opencl/test/util/MiscUtils.java b/test/com/jogamp/opencl/test/util/MiscUtils.java index 77f0993..2f3ed5d 100644 --- a/test/com/jogamp/opencl/test/util/MiscUtils.java +++ b/test/com/jogamp/opencl/test/util/MiscUtils.java @@ -94,7 +94,7 @@ public class MiscUtils { * nobody makes one, not just a check that we didn't see one. *

* To check whether an OpenCL implementation/library has actually been loaded, - * use {@link CLAbstractImpl#isAvailable()}. + * use {@link CLImpl#isAvailable()}. *

*/ public static final boolean isKnownOSWithoutCLImpl() { -- cgit v1.2.3