| Package | Description |
|---|---|
| com.nativelibs4java.opencl.util |
Utilitary classes (parallel random, parallel reduction, parallel math, linear algebra...)
|
| Modifier and Type | Method and Description |
|---|---|
static ReductionUtils.Operation |
ReductionUtils.Operation.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReductionUtils.Operation[] |
ReductionUtils.Operation.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static <B> ReductionUtils.Reductor<B> |
ReductionUtils.createReductor(CLContext context,
ReductionUtils.Operation op,
OpenCLType valueType,
int valueChannels)
Create a reductor for the provided operation and primitive type (on the provided number of independent channels).
|
static com.nativelibs4java.util.Pair<String,Map<String,Object>> |
ReductionUtils.getReductionCodeAndMacros(ReductionUtils.Operation op,
OpenCLType valueType,
int channels) |
Copyright © 2009-2015. All Rights Reserved.