Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Bug 978: Promote whether a test shall fail due to unavailable CL driver in ↵ | Sven Gothel | 2014-05-10 | 10 | -84/+22 |
| | | | | base UITest class. | ||||
* | Fix crashes due to AMD driver bugs. | Wade Walker | 2014-03-08 | 2 | -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 Walker | 2014-03-07 | 4 | -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.5 | Wade Walker | 2014-02-25 | 1 | -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 Walker | 2014-02-25 | 9 | -2/+95 |
|\ | |||||
| * | Fix OpenCL test failures on Solaris. | Wade Walker | 2014-02-23 | 9 | -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 Gothel | 2014-02-22 | 2 | -15/+48 |
|\ \ | | | | | | | | | | 'wwalker/fix_jocl_bug_981_out_of_direct_buffer_memory' | ||||
| * | | Fix memory problems in High/LowLevelBindingTests. | Wade Walker | 2014-02-22 | 2 | -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 Gothel | 2014-02-21 | 2 | -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 Walker | 2014-02-08 | 1 | -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 Gothel | 2014-01-26 | 1 | -2/+2 |
| | | | | package location (sorry) | ||||
* | Rename TestUtils -> MiscUtils (not a test), remove 'main' .. oops | Sven Gothel | 2014-01-26 | 5 | -18/+6 |
| | |||||
* | Adapt all unit tests to use UITestCase and enforce named unit test order. ↵ | Sven Gothel | 2014-01-26 | 10 | -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 Gothel | 2014-01-26 | 2 | -0/+209 |
| | | | | tests ; Fix setenv-jocl.sh: Add jocl-test.jar | ||||
* | Bug 884: Add standard JogAmp build files. | Wade Walker | 2013-12-15 | 2 | -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 Gothel | 2013-10-12 | 1 | -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-rc12 | Sven Gothel | 2013-06-25 | 1 | -2/+5 |
| | |||||
* | Adapt to GlueGen ARM Build Changes 422d7a5eb53fca6642ebf4e8910d8b0311bb2597 ↵ | Sven Gothel | 2012-08-18 | 1 | -9/+1 |
| | | | | ; Remove JOGL GLProfile.initSingleton(boolean) call in CLGL test | ||||
* | Fix copyright/author tagsedge | Sven Gothel | 2011-06-28 | 1 | -2/+2 |
| | |||||
* | Fix merge w/ latest mbien/edge | Sven Gothel | 2011-06-28 | 1 | -14/+14 |
|\ | |||||
| * | Fix last merge of mbien/master | Sven Gothel | 2011-06-28 | 1 | -10/+9 |
| |\ | |||||
| * | | Synced w/ mbien's JOCL branch - Making it compatible w/ GlueGen again | Sven Gothel | 2011-05-18 | 1 | -14/+14 |
| | | | |||||
* | | | CLKernel short setters, setArgs(Object... values) for convenient initialization. | Michael Bien | 2011-06-19 | 1 | -2/+5 |
| | | | |||||
* | | | LLB refactoring. | Michael Bien | 2011-05-27 | 4 | -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 Bien | 2011-05-25 | 1 | -10/+9 |
|/ | |||||
* | CLKernel code review. | Michael Bien | 2011-05-15 | 1 | -1/+18 |
| | | | | | - optimized create from name path - putArg should not increment the index if setting the argument fails - added putArg() test | ||||
* | added submitAll() utility method | Michael Bien | 2011-05-09 | 1 | -16/+18 |
| | | | | junit test now covering queue contexts switching improved javadoc. | ||||
* | concurrent utils bugfixes and improvements. | Michael Bien | 2011-05-09 | 1 | -10/+97 |
| | | | | | | - more utility methods - generics fixes - basic junit test for CLCommandQueuePool - javadoc and argument validation | ||||
* | added context switching functionality. | Michael Bien | 2011-05-08 | 1 | -7/+5 |
| | |||||
* | introduced CLQueueContext and its factory - WIP. | Michael Bien | 2011-05-07 | 1 | -2/+33 |
| | |||||
* | initial import of CLCommandQueuePool and CLTask. | Michael Bien | 2011-05-04 | 1 | -1/+4 |
| | |||||
* | initial import of CLMultiContext utility and test. | Michael Bien | 2011-05-03 | 1 | -0/+51 |
| | |||||
* | using CL_CGL sharegroup for context creation on mac + enabled CLGLTest on mac | Michael Bien | 2011-04-26 | 1 | -7/+1 |
| | |||||
* | - CLGLBuffer size must now be specified when the buffer is created | Michael Bien | 2011-04-26 | 1 | -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 Bien | 2011-04-23 | 1 | -13/+13 |
| | |||||
* | added createBufferTest | Michael Bien | 2011-04-21 | 1 | -20/+76 |
| | |||||
* | fixed race condition in eventsTest() | Michael Bien | 2011-04-20 | 1 | -3/+7 |
| | |||||
* | added mapped CLMemory argument to putUnmapMemory for more flexibility. | Michael Bien | 2011-04-20 | 1 | -4/+4 |
| | |||||
* | fixed a bug which used a wrong eventlist offset under certain conditions and ↵ | Michael Bien | 2011-04-04 | 2 | -9/+85 |
| | | | | added a regression test. | ||||
* | fixed compiler redundant-casts warnings due to language level changes in ↵ | Michael Bien | 2011-02-13 | 2 | -5/+7 |
| | | | | gluegen-rt. | ||||
* | minimal wgs requirement for kernelTest. | Michael Bien | 2011-02-13 | 1 | -15/+7 |
| | |||||
* | using lower wgs in LLB test. | Michael Bien | 2011-01-22 | 2 | -4/+9 |
| | | | increased timeout in CLGLTest. | ||||
* | missing buffer rewind in source upload code (bug id: #458). | Michael Bien | 2011-01-21 | 1 | -1/+1 |
| | |||||
* | paper work: license and file headers. | Michael Bien | 2010-11-26 | 9 | -0/+251 |
| | |||||
* | missing return | Michael Bien | 2010-11-23 | 1 | -0/+1 |
| | |||||
* | fixed customEventsTest (was: segfault with CL 1.0, now: disabled on CL 1.0) | Michael Bien | 2010-11-22 | 1 | -11/+4 |
| | |||||
* | CLGLContext.create() no longer makes the glcontext current. | Michael Bien | 2010-11-21 | 1 | -13/+9 |
| | |||||
* | changes due to mofifications in jogl + propper jogl release() + ↵ | Michael Bien | 2010-11-18 | 1 | -6/+7 |
| | | | | destroy(true) -> destroy(). | ||||
* | JOGL: getNativeWindow -> getNativeSurface; modified CLGLTest to only use ↵ | Michael Bien | 2010-10-15 | 1 | -8/+9 |
| | | | | JOGL in one thread. | ||||
* | temporary disable CLGLTest on mac to prevent deadlock. | Michael Bien | 2010-09-26 | 1 | -4/+10 |
| |