summaryrefslogtreecommitdiffstats
path: root/test/com/jogamp
Commit message (Collapse)AuthorAgeFilesLines
* Bug 978: Promote whether a test shall fail due to unavailable CL driver in ↵Sven Gothel2014-05-1010-84/+22
| | | | base UITest class.
* Fix crashes due to AMD driver bugs.Wade Walker2014-03-082-13/+24
| | | | | | | | | | | 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-074-0/+10
| | | | | | 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.
* 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-259-2/+95
|\
| * Fix OpenCL test failures on Solaris.Wade Walker2014-02-239-2/+95
| | | | | | | | | | | | | | | | | | | | 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.
* | | Bug 979: Add 'CL_DEVICE_MEM_BASE_ADDR_ALIGN' to CLDevice and overal maximum ↵Sven Gothel2014-02-212-32/+63
|/ / | | | | | | | | | | to CLContext - Split CLBufferTest and use alignment. See Bug 979 for remaining issues and discussion.
* / Fix unit test bugs on Mac OS X 64-bit.Wade Walker2014-02-081-2/+4
|/ | | | | | | | This commit fixes bugs 959 (local work size set incorrectly), 960 (concurrencyTest() throws ConcurrentModificationException) 963 (programBinariesTest() causes SIGSEGV) and 964 (builderTest() cases CL_INVALID_VALUE). After this commit, all JOCL tests should pass on 64-bit Mac OS X.
* MiscUtils: Forgot to change access of package-private to public due to new ↵Sven Gothel2014-01-261-2/+2
| | | | package location (sorry)
* Rename TestUtils -> MiscUtils (not a test), remove 'main' .. oopsSven Gothel2014-01-265-18/+6
|
* Adapt all unit tests to use UITestCase and enforce named unit test order. ↵Sven Gothel2014-01-2610-112/+226
| | | | Added main entry and listed in tests.sh for manual test.
* Add unit test TestJoclVersion and UITestCase base class for singleton unit ↵Sven Gothel2014-01-262-0/+209
| | | | tests ; Fix setenv-jocl.sh: Add jocl-test.jar
* Bug 884: Add standard JogAmp build files.Wade Walker2013-12-152-5/+2
| | | | | | | | | The new make/build.xml successfully builds and tests the project. The original NetBeans build files are still present, but won't work anymore since the resources directory is now inside the make directory. The new build files are based on those of JOAL. The new build is not yet minimized and cleaned up, because this commit is meant to be the minimum way to get things functional.
* Refine 7b21b5abb6373637eeeb270de05bb7472f70b853: Add ↵Sven Gothel2013-10-121-10/+2
| | | | | | CLGL.CL_CONTEXT_PROPERTY_USE_CGL_SHAREGROUP_APPLE and comment it's usage; Remove 'import static' Note: JOCL impl. shall remove all 'import static' to remove hardhsip on ClassLoader ..
* CLCommandQueueTest: Remove warning ..v2.0.2-rc12v2.0-rc12Sven Gothel2013-06-251-2/+5
|
* Adapt to GlueGen ARM Build Changes 422d7a5eb53fca6642ebf4e8910d8b0311bb2597 ↵Sven Gothel2012-08-181-9/+1
| | | | ; Remove JOGL GLProfile.initSingleton(boolean) call in CLGL test
* Fix copyright/author tagsedgeSven Gothel2011-06-281-2/+2
|
* Fix merge w/ latest mbien/edgeSven Gothel2011-06-281-14/+14
|\
| * Fix last merge of mbien/masterSven Gothel2011-06-281-10/+9
| |\
| * | Synced w/ mbien's JOCL branch - Making it compatible w/ GlueGen againSven Gothel2011-05-181-14/+14
| | |
* | | CLKernel short setters, setArgs(Object... values) for convenient initialization.Michael Bien2011-06-191-2/+5
| | |
* | | LLB refactoring.Michael Bien2011-05-274-1/+8
| |/ |/| | | | | | | | | - split up CL into multiple sub interfaces - seperation is now feature wise - introdused llb package for low level classes
* | fixed event-condition test which failed sporadically with out-of-order queues.Michael Bien2011-05-251-10/+9
|/
* CLKernel code review.Michael Bien2011-05-151-1/+18
| | | | | - optimized create from name path - putArg should not increment the index if setting the argument fails - added putArg() test
* added submitAll() utility methodMichael Bien2011-05-091-16/+18
| | | | junit test now covering queue contexts switching improved javadoc.
* concurrent utils bugfixes and improvements.Michael Bien2011-05-091-10/+97
| | | | | | - more utility methods - generics fixes - basic junit test for CLCommandQueuePool - javadoc and argument validation
* added context switching functionality.Michael Bien2011-05-081-7/+5
|
* introduced CLQueueContext and its factory - WIP.Michael Bien2011-05-071-2/+33
|
* initial import of CLCommandQueuePool and CLTask.Michael Bien2011-05-041-1/+4
|
* initial import of CLMultiContext utility and test.Michael Bien2011-05-031-0/+51
|
* using CL_CGL sharegroup for context creation on mac + enabled CLGLTest on macMichael Bien2011-04-261-7/+1
|
* - CLGLBuffer size must now be specified when the buffer is createdMichael Bien2011-04-261-19/+118
| | | | | - but can be updated later if required (gl lock is mandatory) - added VBO CLGL test - javadoc updates
* switched from PointerBuffer to NativeSizeBuffer.Michael Bien2011-04-231-13/+13
|
* added createBufferTestMichael Bien2011-04-211-20/+76
|
* fixed race condition in eventsTest()Michael Bien2011-04-201-3/+7
|
* added mapped CLMemory argument to putUnmapMemory for more flexibility.Michael Bien2011-04-201-4/+4
|
* fixed a bug which used a wrong eventlist offset under certain conditions and ↵Michael Bien2011-04-042-9/+85
| | | | added a regression test.
* fixed compiler redundant-casts warnings due to language level changes in ↵Michael Bien2011-02-132-5/+7
| | | | gluegen-rt.
* minimal wgs requirement for kernelTest.Michael Bien2011-02-131-15/+7
|
* using lower wgs in LLB test.Michael Bien2011-01-222-4/+9
| | | increased timeout in CLGLTest.
* missing buffer rewind in source upload code (bug id: #458).Michael Bien2011-01-211-1/+1
|
* paper work: license and file headers.Michael Bien2010-11-269-0/+251
|
* missing returnMichael Bien2010-11-231-0/+1
|
* fixed customEventsTest (was: segfault with CL 1.0, now: disabled on CL 1.0)Michael Bien2010-11-221-11/+4
|
* CLGLContext.create() no longer makes the glcontext current.Michael Bien2010-11-211-13/+9
|
* changes due to mofifications in jogl + propper jogl release() + ↵Michael Bien2010-11-181-6/+7
| | | | destroy(true) -> destroy().
* JOGL: getNativeWindow -> getNativeSurface; modified CLGLTest to only use ↵Michael Bien2010-10-151-8/+9
| | | | JOGL in one thread.
* temporary disable CLGLTest on mac to prevent deadlock.Michael Bien2010-09-261-4/+10
|