summaryrefslogtreecommitdiffstats
path: root/test/com/jogamp/opencl/HighLevelBindingTest.java
Commit message (Collapse)AuthorAgeFilesLines
* Remove creation and all references to CL*Binding interfacesWade Walker2015-11-081-2/+1
| | | | This completes the removal of all CL*Binding interfaces; all tests pass at this point.
* Code Clean-Up based on our Recommended Settings (jogamp-scripting ↵Sven Gothel2014-07-031-43/+46
| | | | | | | | | | | | | 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
* Bug 978: Promote whether a test shall fail due to unavailable CL driver in ↵Sven Gothel2014-05-101-10/+0
| | | | base UITest class.
* Remove Java lint warnings.Wade Walker2014-03-071-0/+2
| | | | | | 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.
* Merge pull request #5 from WadeWalker/bug_978_fix_solaris_testsWade Walker2014-02-241-0/+10
|\ | | | | Fix OpenCL test failures on Solaris for bug 978.
| * Fix OpenCL test failures on Solaris.Wade Walker2014-02-231-0/+10
| | | | | | | | | | | | | | | | | | | | 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-221-7/+23
|\ \ | | | | | | | | | 'wwalker/fix_jocl_bug_981_out_of_direct_buffer_memory'
| * | Fix memory problems in High/LowLevelBindingTests.Wade Walker2014-02-221-7/+23
| |/ | | | | | | | | | | | | | | 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-211-0/+1
|/ | | | | | to CLContext - Split CLBufferTest and use alignment. See Bug 979 for remaining issues and discussion.
* 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-9/+19
| | | | Added main entry and listed in tests.sh for manual test.
* LLB refactoring.Michael Bien2011-05-271-0/+1
| | | | | | - split up CL into multiple sub interfaces - seperation is now feature wise - introdused llb package for low level classes
* fixed compiler redundant-casts warnings due to language level changes in ↵Michael Bien2011-02-131-1/+3
| | | | gluegen-rt.
* paper work: license and file headers.Michael Bien2010-11-261-0/+28
|
* initial import of utility API for filtering platforms.Michael Bien2010-09-211-0/+18
|
* adjusted remaining work group sizes in tests.Michael Bien2010-09-181-2/+3
|
* removed CLContext factory methods with CLPlatform + CLDevice list combinations.Michael Bien2010-09-151-17/+8
| | | | | | | | | | | | justification: - information is now no longer needed since every CLDevice knows its CLPlatform - OpenCL device IDs are not portable between CLPlatforms changes: - Context factories will throw CLInvalidPlatformException if the platform of all CLDevices does not match related changes: - [persistance] CLProgramBuilder stores now the ICD suffix to be later able to map binaries back to the platform + device
* added a few CLImage junit tests.Michael Bien2010-08-071-30/+0
|
* misc OpenCL 1.1 HLB updates. ImageFormats, getters, javadoc.Michael Bien2010-07-041-0/+1
|
* added CLContext.getSupportedImageFormats() methods and unit test.Michael Bien2010-06-251-0/+29
|
* added CLVersion utility class and corresponding API.Michael Bien2010-06-241-1/+2
| | | | | version checks in unit tests. GLProfile.initSingleton() workaround in CLGLTest.
* moved calls to program.createCLKernels() into seperate test method.Michael Bien2010-06-161-9/+1
| | | | NV CL 1.1 devdriver has some issues in this area.
* CLContext should not throw NPE in create(...) if a device or device type is ↵Michael Bien2010-04-221-0/+27
| | | | null.
* renamed package com.mbien.* in com.jogamp.* JOCL is now officially a JogAmp ↵Michael Bien2010-04-121-0/+305
team player ;).