|
| static final void | fillBuffer (final ByteBuffer buffer, final int seed) |
| |
| static final int | roundUp (final int groupSize, final int globalSize) |
| |
| static final void | checkIfEqual (final ByteBuffer a, final ByteBuffer b, final int elements) |
| |
| static final boolean | isKnownOSWithoutCLImpl () |
| |
- Author
- Michael Bien, et.al
Definition at line 44 of file MiscUtils.java.
◆ checkIfEqual()
| static final void com.jogamp.opencl.test.util.MiscUtils.checkIfEqual |
( |
final ByteBuffer |
a, |
|
|
final ByteBuffer |
b, |
|
|
final int |
elements |
|
) |
| |
|
static |
◆ fillBuffer()
| static final void com.jogamp.opencl.test.util.MiscUtils.fillBuffer |
( |
final ByteBuffer |
buffer, |
|
|
final int |
seed |
|
) |
| |
|
static |
◆ isKnownOSWithoutCLImpl()
| static final boolean com.jogamp.opencl.test.util.MiscUtils.isKnownOSWithoutCLImpl |
( |
| ) |
|
|
static |
- Returns
- true if OpenCL is not available for this operating system, CPU architecture, et cetera. This is meant to be a check that there can't possibly be a driver installed because nobody makes one, not just a check that we didn't see one.
To check whether an OpenCL implementation/library has actually been loaded, use CLImpl#isAvailable().
Definition at line 100 of file MiscUtils.java.
◆ roundUp()
| static final int com.jogamp.opencl.test.util.MiscUtils.roundUp |
( |
final int |
groupSize, |
|
|
final int |
globalSize |
|
) |
| |
|
static |
◆ NUM_ELEMENTS
| final int com.jogamp.opencl.test.util.MiscUtils.NUM_ELEMENTS = 10000000 |
|
static |
◆ ONE_MB
| final int com.jogamp.opencl.test.util.MiscUtils.ONE_MB = 1048576 |
|
static |
The documentation for this class was generated from the following file: