Jogamp
Fix memory problems in High/LowLevelBindingTests.
authorWade Walker <wwalker3@austin.rr.com>
Sat, 22 Feb 2014 20:28:40 +0000 (14:28 -0600)
committerWade Walker <wwalker3@austin.rr.com>
Sat, 22 Feb 2014 20:28:40 +0000 (14:28 -0600)
commit52a618fa844fa19dce19e18c527991ef422b1c43
tree8041fdb1356b09ec50c16d245f412fc382d2dc2b
parent0874fa955c0401dba9f54816a9654bb4380abed8
Fix memory problems in High/LowLevelBindingTests.

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.
test/com/jogamp/opencl/HighLevelBindingTest.java
test/com/jogamp/opencl/LowLevelBindingTest.java
http://JogAmp.org git info: FAQ, tutorial and man pages.