aboutsummaryrefslogtreecommitdiffstats
path: root/test/com/jogamp/opencl/LowLevelBindingTest.java
Commit message (Collapse)AuthorAgeFilesLines
* Remove creation and all references to CL*Binding interfacesWade Walker2015-11-081-31/+26
| | | | This completes the removal of all CL*Binding interfaces; all tests pass at this point.
* Add ability to access newer CLImpl versions for devicesWade Walker2015-11-081-1/+12
| | | | | | Added a CLPlatform method to return a CLImpl version specific to a device. This lets the user get a CLImpl12 or CLImpl20 instance which they could then cast to the right type and use to access newer CL functions than those in the default CLImpl11 object.
* Code Clean-Up based on our Recommended Settings (jogamp-scripting ↵Sven Gothel2014-07-031-71/+76
| | | | | | | | | | | | | 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
* Merge remote-tracking branch 'wwalker/master'Sven Gothel2014-05-101-1/+4
|\
| * 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-101-6/+0
|/ | | | base UITest class.
* Fix crashes due to AMD driver bugs.Wade Walker2014-03-081-1/+4
| | | | | | | | | | | 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.
* Merge pull request #5 from WadeWalker/bug_978_fix_solaris_testsWade Walker2014-02-241-0/+7
|\ | | | | Fix OpenCL test failures on Solaris for bug 978.
| * Fix OpenCL test failures on Solaris.Wade Walker2014-02-231-0/+7
| | | | | | | | | | | | | | | | | | | | 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.
* | Fix memory problems in High/LowLevelBindingTests.Wade Walker2014-02-221-8/+25
|/ | | | | | | | 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.
* Rename TestUtils -> MiscUtils (not a test), remove 'main' .. oopsSven Gothel2014-01-261-1/+1
|
* Adapt all unit tests to use UITestCase and enforce named unit test order. ↵Sven Gothel2014-01-261-7/+17
| | | | Added main entry and listed in tests.sh for manual test.
* Fix copyright/author tagsedgeSven Gothel2011-06-281-2/+2
|
* Fix merge w/ latest mbien/edgeSven Gothel2011-06-281-14/+14
|\
| * Synced w/ mbien's JOCL branch - Making it compatible w/ GlueGen againSven Gothel2011-05-181-14/+14
| |
* | LLB refactoring.Michael Bien2011-05-271-1/+4
|/ | | | | | - split up CL into multiple sub interfaces - seperation is now feature wise - introdused llb package for low level classes
* switched from PointerBuffer to NativeSizeBuffer.Michael Bien2011-04-231-13/+13
|
* fixed compiler redundant-casts warnings due to language level changes in ↵Michael Bien2011-02-131-4/+4
| | | | gluegen-rt.
* using lower wgs in LLB test.Michael Bien2011-01-221-3/+8
| | | 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-261-0/+28
|
* adjusted remaining work group sizes in tests.Michael Bien2010-09-181-1/+1
|
* enabled create-context and build-program callbacks using CL_CALLBACK calling ↵Michael Bien2010-07-061-1/+0
| | | | convention.
* changes due to gluegen size_t fix. Switched back to PointerBuffer. 32bit ↵Michael Bien2010-05-311-15/+6
| | | | systems are now supported again.
* improved concurrent load test (disabled by default) and confirmed that cl ↵Michael Bien2010-05-301-27/+76
| | | | | | programs can't be built concurrently. CLProgram uses ReentrantLock to put synchronous and asynchronous calls to clBuildProgram(...) in a squence.
* disabled callbacks temporary to be able to build on windows.Michael Bien2010-05-121-0/+1
| | | | fixed a few compiler warnings.
* CLBuildListener functionality for high level bindings.Michael Bien2010-05-021-0/+1
| | | | | - uses low level BuildProgramCallback internally - updated tests, testing async builds
* continued with callbacks.Michael Bien2010-04-261-1/+1
| | | | | - started with context error callback - finished build program callback
* implemented low level BuildProgramCallbacks.Michael Bien2010-04-251-5/+22
| | | | | - removed userdata arguments from createContext* and buildProgram bindings - updated LowLevelBindingTest
* clGetExtensionFunctionAddress returns now a long.Michael Bien2010-04-241-2/+2
|
* enabled LowLevelBindingTest again.Michael Bien2010-04-131-99/+110
|
* renamed package com.mbien.* in com.jogamp.* JOCL is now officially a JogAmp ↵Michael Bien2010-04-121-0/+364
team player ;).