public class ConvolutionKernel
extends com.aparapi.Kernel
com.aparapi.Kernel.Constant, com.aparapi.Kernel.Entry, com.aparapi.Kernel.EXECUTION_MODE, com.aparapi.Kernel.KernelState, com.aparapi.Kernel.Local, com.aparapi.Kernel.NoCL, com.aparapi.Kernel.OpenCLDelegate, com.aparapi.Kernel.OpenCLMapping, com.aparapi.Kernel.PrivateMemorySpace
Constructor and Description |
---|
ConvolutionKernel() |
ConvolutionKernel(double[][] kern,
double[] input,
double[] output,
int width,
int height) |
Modifier and Type | Method and Description |
---|---|
int |
getH()
Retrieves the height of the dat
|
double[] |
getIdata()
Retrieves the input data array
|
double[][] |
getKnl()
Retrieves the convolution kernel
|
double[] |
getOdata()
Retrieves the output data array
|
int |
getW()
Retrieves the width of the data
|
void |
run() |
void |
setH(int h) |
void |
setIdata(double[] idata) |
void |
setKnl(double[][] knl) |
void |
setOdata(double[] odata) |
void |
setW(int w) |
abs, abs, abs, abs, acos, acos, acospi, acospi, addExecutionModes, asin, asin, asinpi, asinpi, atan, atan, atan2, atan2, atan2pi, atan2pi, atanpi, atanpi, atomicAdd, cancelMultiPass, cbrt, cbrt, ceil, ceil, cleanUpArrays, clone, cos, cos, cosh, cosh, cospi, cospi, createRange, dispose, execute, execute, execute, execute, execute, execute, executeFallbackAlgorithm, exp, exp, exp10, exp10, exp2, exp2, expm1, expm1, floor, floor, fma, fma, get, get, get, get, get, get, get, get, get, get, get, get, get, get, get, get, get, get, get, get, get, getAccumulatedExecutionTime, getCancelState, getConversionTime, getCurrentPass, getExecutionMode, getExecutionTime, getGlobalId, getGlobalId, getGlobalSize, getGlobalSize, getGroupId, getGroupId, getKernelState, getLocalId, getLocalId, getLocalSize, getLocalSize, getMappedMethodName, getNumGroups, getNumGroups, getPassId, getProfileInfo, getTargetDevice, globalBarrier, hasFallbackAlgorithm, hasNextExecutionMode, hypot, hypot, IEEEremainder, IEEEremainder, invalidateCaches, isAllowDevice, isAutoCleanUpArrays, isExecuting, isExplicit, isMappedMethod, isOpenCLDelegateMethod, isRunningCL, localBarrier, log, log, log10, log10, log1p, log1p, log2, log2, mad, mad, max, max, max, max, min, min, min, min, nextAfter, nextAfter, pow, pow, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, rint, rint, round, round, rsqrt, rsqrt, setAutoCleanUpArrays, setExecutionMode, setExecutionModeWithoutFallback, setExplicit, setFallbackExecutionMode, sin, sin, sinh, sinh, sinpi, sinpi, sqrt, sqrt, tan, tan, tanh, tanh, tanpi, tanpi, toDegrees, toDegrees, toRadians, toRadians, toString, tryNextExecutionMode, usesAtomic32, usesAtomic64
public ConvolutionKernel(double[][] kern, double[] input, double[] output, int width, int height)
public ConvolutionKernel()
public void run()
run
in class com.aparapi.Kernel
public double[] getIdata()
public double[] getOdata()
public double[][] getKnl()
public int getW()
public int getH()
public void setIdata(double[] idata)
public void setOdata(double[] odata)
public void setKnl(double[][] knl)
public void setW(int w)
public void setH(int h)