aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Bug 978: UITestCase shall only report 'not available on this machine', due ↵v2.2.4v2.2.3v2.2.2v2.2.1b22xSven Gothel2014-09-031-1/+1
| | | | | | to commit c720767642618cfb4f3739dc6962cde0465e25c5 Giving the OS type leads to misconception that is may not be available on all machines of this OS type.
* Bug 978: Promote CLAbstractImpl.isAvailable() to CLPlatform, public API. ↵Sven Gothel2014-09-035-25/+32
| | | | | | | | isAvailable() simply shall return true if JOCL/OpenCL libs could be loaded. - Promote CLAbstractImpl.isAvailable() to CLPlatform, public API. - CLAbstractImpl.isAvailable() simply shall return true if JOCL/OpenCL libs could be loaded.
* Fix Eclipse .classpath: build/gensrc/java replaced w/ simple src attachment ↵Sven Gothel2014-09-011-5/+1
| | | | w/o attribute
* Bug 1057: Analyze CLProgramTest freeze on Win 8.1 Intel i7-4770T CPU / HD ↵Sven Gothel2014-09-013-31/+34
| | | | | | | | Graphics 4600 - Properly enforce test order (alphanumeric) - Split builderTest() to synchronized and async tests
* Scripts: Bump to java 1.8.0_20Sven Gothel2014-08-312-4/+4
|
* Scripts: Bump to java 1.7.0_67 and apache-ant 1.9.4Sven Gothel2014-08-284-12/+12
|
* Bug 1024: Add fallback for native-jar-file location via classpathv2.2.0Sven Gothel2014-07-114-15/+116
| | | | Adapt to GlueGen commit f5c48efcf546ba4e08e197ccced6df83b57e1755
* Bug 1023/Bug 1024: Create native jar files for different configurations due ↵Sven Gothel2014-07-101-0/+2
| | | | to non-native-jar aliasing
* Bug 1023, Bug 1024: Adapt to GlueGen commit ↵Sven Gothel2014-07-051-1/+1
| | | | 46faa59d439ef235d7691fc64d56eedc600ffa1a
* Code Clean-Up based on our Recommended Settings (jogamp-scripting ↵Sven Gothel2014-07-0372-1916/+1954
| | | | | | | | | | | | | c47bc86ae2ee268a1f38c5580d11f93d7f8d6e74) - Change non static accesses to static members using declaring type - Change indirect accesses to static members to direct accesses (accesses through subtypes) - Add final modifier to private fields - Add final modifier to method parameters - Add final modifier to local variables - Remove unnecessary casts - Remove unnecessary '$NON-NLS$' tags - Remove trailing white spaces on all lines
* Add System.err log if CL/JNI library could not be loadedSven Gothel2014-06-251-3/+3
|
* Adapt to GlueGen commit 9ee44e1a289ecbac024662dd5a2ffc42e8add023 (Bug 1025)Sven Gothel2014-06-251-2/+2
|
* Adapt to GlueGen commit 2f6586292cd298bbc19d8acda0f7cf303c82078b (compount ↵Sven Gothel2014-06-182-2/+3
| | | | | | call-by-value extension) - initializeImpl() is no more required, since it's not forced .. uncomment in manual static initializer
* Adapt to GlueGen commit c3054a01990e55ab35756ea23ab7d7c05f24dd37 (compount ↵Sven Gothel2014-06-173-3/+7
| | | | call-by-value extension)
* Merge remote-tracking branch 'wwalker/master'Sven Gothel2014-05-106-38/+161
|\
| * Fix build instructionsWade Walker2014-04-261-32/+23
| | | | | | | | | | | | Fixed the build instructions to reflect the changes that bring JOCL into line with the other JogAmp modules. Also fixed dead links and updated the version of OpenCL we point to.
| * Merge branch 'bug_1003_add_texture_interop_test'Wade Walker2014-04-134-5/+134
| |\
| | * Fix CL-GL interoperability tests on Mac.Wade Walker2014-04-062-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | Fixed detection of compatible interoperability platforms (was silently skipping platform because GL vendor was Nvidia, but CL vendor was Apple). Also fixed CL kernel syntax error about signed-unsigned comparison that ATI's driver on Windows didn't find, and fixed the CL memory object to be write-only instead of read-only (which ATI's Windows driver just ignored).
| | * Finish texture sharing test.Wade Walker2014-04-063-44/+88
| | | | | | | | | | | | | | | Make the test modify a GL texture with a CL kernel, then loop over the texture afterwards to check each texel has the right value. Also make the test loop over all platforms and devices that support sharing.
| | * Start adding texture interop test.Wade Walker2014-04-041-0/+83
| | | | | | | | | | | | | | | The test here is still not complete, just checking in so I can switch branches.
| | * Use gluegen's JUnit in EclipseWade Walker2014-04-041-1/+1
| | | | | | | | | | | | This fixes problems when Eclipse's default JUnit is too old for our code.
| * | Fix direct buffer usage in lowLevelVectorAddTestWade Walker2014-04-131-1/+4
| | | | | | | | | | | | | | | | | | | | | Increase buffer size and rewind before reuse in every possible place. This is to try to remove a couple of remaining failures on some platforms. The failure causes an abnormal JVM exit without a stack trace when System.gc() is called during teardown.
* | | Bug 978: Promote whether a test shall fail due to unavailable CL driver in ↵Sven Gothel2014-05-1010-84/+22
| | | | | | | | | | | | base UITest class.
* | | ignore all build* foldersSven Gothel2014-05-101-0/+1
| | |
* | | unit test: preserve hs_err_pid*.log files (move to results folder for archive)Sven Gothel2014-05-091-0/+3
|/ /
* / Fix transposed arguments in putCopyBufferRectWade Walker2014-04-071-1/+1
|/ | | | Fixes transposed arguments in CLCommandQueue:putCopyBufferRect.
* Fix crashes due to AMD driver bugs.Wade Walker2014-03-083-13/+30
| | | | | | | | | | | programBinariesTest() failure was due to AMD drivers crashing in clCreateKernelsInProgram() when the program is not built yet, instead of returning error code CL_INVALID_PROGRAM_EXECUTABLE as they should. lowLevelVectorAddTest() failure was apparently due to the AMD drivers writing past the end of a direct byte buffer in such a way that it made System.gc() crash when called during teardown (this crash didn't even dump stack). Making the buffer larger solved the problem.
* Remove Java lint warnings.Wade Walker2014-03-0710-8/+29
| | | | | | Remove all Java lint warnings, by fixing the code if possible, and if not possible then by inserting @SuppressWarnings. Some of these @SuppressWarnings can be replaced later with @SafeVarargs if we eventually drop support for Java 6.
* Remove warnings, turn on linting, fix Eclipse.Wade Walker2014-03-072-5/+12
| | | | | | | Removed warnings due to memoryMaximumSize being ignored when javac isn't forked. Turned on all linting. Changed the arguments of uncomment-function-params so it will run from within Eclipse properly (using basedir instead of user.dir, since only the former will be properly set both inside Eclipse and on the command line).
* Remove alignment warning in gluegen preprocessing.Wade Walker2014-03-051-2/+5
| | | | | | | | Turns off the warning about CL_ALIGNED not being defined for the current compiler, but only inside the gluegen preprocessor. If CL_ALIGNED isn't defined for the real C compiler on the platform, the warning will still show up during C compilation.
* Remove unnamed struct emission warnings.Wade Walker2014-03-051-1/+12
| | | | Uses the new augmentation of gluegen's Ignore keyword.
* Pass function pointers into clEnqueueMapImage.Wade Walker2014-03-022-9/+9
| | | | | | | These pointers were showing up as uninitialized variables; on inspection they just weren't being passed in from the Java side or assigned on the C side. There are currently no tests of this function, which is how we didn't notice this omission.
* Load jocl.properties if present.Wade Walker2014-03-021-2/+2
| | | | This lets us build with debug information turned on.
* Fix C build warnings.Wade Walker2014-03-022-4/+3
| | | | | | Fixes -fno-rtti and implicit cast warnings. After this commit, all C warnings are gone except for one due to gluegen emitting char pointers instead of unsigned char pointers.
* Merge remote-tracking branch 'jogamporg/master'Wade Walker2014-02-251-0/+2
|\
| * Fix new subBufferTest02FloatBuffer() test on Solaris.v2.1.5Wade Walker2014-02-251-0/+2
| | | | | | | | | | | | | | The new OpenCL isAvailable() didn't make it into this test due to a merge slipup. Change-Id: I049388908b8f2f2869cc018dbf6be86d1a8dcb9d
| * Merge remote-tracking branch 'personal/bug_978_fix_solaris_tests'Wade Walker2014-02-2511-15/+110
| |\
* | \ Merge pull request #5 from WadeWalker/bug_978_fix_solaris_testsWade Walker2014-02-2411-15/+110
|\ \ \ | |/ / |/| / | |/ Fix OpenCL test failures on Solaris for bug 978.
| * Fix OpenCL test failures on Solaris.Wade Walker2014-02-2311-15/+110
| | | | | | | | | | | | | | | | | | | | Since nobody currently makes an OpenCL driver for Solaris, all the tests used to fail, which told us nothing. This commit adds code to check whether OpenCL is unavailable and the OS is Solaris, in which case the test contents are skipped. If an OpenCL driver ever appears for Solaris, or if we start testing on another platform with no OpenCL driver, there's now one single place to add or remove checks that will allow for this.
* | Merge remote-tracking branch ↵Sven Gothel2014-02-222-15/+48
|\ \ | | | | | | | | | 'wwalker/fix_jocl_bug_981_out_of_direct_buffer_memory'
| * | Fix memory problems in High/LowLevelBindingTests.Wade Walker2014-02-222-15/+48
| | | | | | | | | | | | | | | | | | | | | | | | These tests now adaptively reduce the global work size until they successfully allocate memory for their DirectByteBuffers. This makes the tests work on JVMs where XX:MaxDirectMemorySize is smaller than the modern defaults. These tests were failing on OS X 10.6 for this reason.
* | | Minor editing: Remove static imports, using 'final' add some '@XXX' ↵Sven Gothel2014-02-214-203/+203
| | | | | | | | | | | | | | | | | | decorations to remove warnings. Note 'static import' is evil .. :)
* | | Bug 979: Add 'CL_DEVICE_MEM_BASE_ADDR_ALIGN' to CLDevice and overal maximum ↵Sven Gothel2014-02-216-36/+101
| | | | | | | | | | | | | | | | | | to CLContext - Split CLBufferTest and use alignment. See Bug 979 for remaining issues and discussion.
* | | Fix build.xml (regression): Re-activate 'generate.jdk6.autocloseable, ↵Sven Gothel2014-02-211-1/+1
| | | | | | | | | | | | | | | | | | generate.jdk7.autocloseable' in java.generate.impl Regression of commit 46cc6ebfb2f53daebceb9a36b553ff01af56999f
* | | build.xml: Don't re-generate source (gluegen) if CLAbstractImpl_JNI.c ↵Sven Gothel2014-02-172-4/+9
| | | | | | | | | | | | uptodate (use java.generate.skip); Put native code on gensrc/native/jocl
* | | Fix Bug 920 - JOCL does not work on windows with 32 bit vm (2/2)Sven Gothel2014-02-171-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | All gluegen generated native function wrappers, miss CL_API_CALL in the function declarations similar to commit 569726132f622e290bebc5d40c96f8115dbcb5da. Adding gluegen calling convention to cl-impl.cfg: LocalProcAddressCallingConvention __ALL__ CL_API_CALL All tests passed on windows 32bit now!
* | | Fix Bug 920 - JOCL does not work on windows with 32 bit vm (1/2)Sven Gothel2014-02-174-10/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The 'clGetExtensionFunctionAddress' function pointer declaration was faulty, i.e. using CL_API_ENTRY instead of CL_API_CALL. CL_API_CALL on windows is defined as '__stdcall' which impacts Window 32bit platforms. Fixed same issue w/: - clCreateContext - clBuildProgram Same issue occurs with _all_ gluegen generated native function wrappers, i.e. CL_API_CALL is missing in the function declarations! I will follow-up w/ this fix in a bit ..
* | | Fix windows test scripts (CP, D_ARGS, ..)Sven Gothel2014-02-172-3/+14
| | |
* | | Fix build.xml: Remove gluegen config dependency on ../build using build-tempSven Gothel2014-02-172-12/+14
| | | | | | | | | | | | | | | | | | | | | | | | Fix copy2temp target and issue it before gluegen of cl-if.cfg. Note: ${project.root}/build cannot be a hard-dependency since ${rootrel.build} is configurable hence ${project.root}/${rootrel.build}.
* | | Windows build scripts: Bump ant to 1.8.2Sven Gothel2014-02-172-2/+2
| | |