public class ReductionUtils extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ReductionUtils.Operation |
static interface |
ReductionUtils.Reductor<B> |
| Constructor and Description |
|---|
ReductionUtils() |
| Modifier and Type | Method and Description |
|---|---|
static <B> ReductionUtils.Reductor<B> |
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>> |
getReductionCodeAndMacros(ReductionUtils.Operation op,
OpenCLType valueType,
int channels) |
public ReductionUtils()
public static com.nativelibs4java.util.Pair<String,Map<String,Object>> getReductionCodeAndMacros(ReductionUtils.Operation op, OpenCLType valueType, int channels) throws IOException
IOExceptionpublic static <B> ReductionUtils.Reductor<B> createReductor(CLContext context, ReductionUtils.Operation op, OpenCLType valueType, int valueChannels) throws CLBuildException
CLBuildExceptionCopyright © 2009-2015. All Rights Reserved.