Package | Description |
---|---|
com.aparapi |
Modifier and Type | Method and Description |
---|---|
protected double |
Kernel.abs(double _d)
Delegates to either
Math.abs(double) (Java) or fabs(double) (OpenCL). |
protected float |
Kernel.abs(float _f)
Delegates to either
Math.abs(float) (Java) or fabs(float) (OpenCL). |
protected int |
Kernel.abs(int n)
Delegates to either
Math.abs(int) (Java) or abs(int) (OpenCL). |
protected long |
Kernel.abs(long n)
Delegates to either
Math.abs(long) (Java) or abs(long) (OpenCL). |
protected double |
Kernel.acos(double a)
Delegates to either
Math.acos(double) (Java) or acos(double) (OpenCL). |
protected float |
Kernel.acos(float a)
Delegates to either
Math.acos(double) (Java) or acos(float) (OpenCL). |
protected double |
Kernel.acospi(double a) |
protected float |
Kernel.acospi(float a) |
protected double |
Kernel.asin(double _d)
Delegates to either
Math.asin(double) (Java) or asin(double) (OpenCL). |
protected float |
Kernel.asin(float _f)
Delegates to either
Math.asin(double) (Java) or asin(float) (OpenCL). |
protected double |
Kernel.asinpi(double a) |
protected float |
Kernel.asinpi(float a) |
protected double |
Kernel.atan(double _d)
Delegates to either
Math.atan(double) (Java) or atan(double) (OpenCL). |
protected float |
Kernel.atan(float _f)
Delegates to either
Math.atan(double) (Java) or atan(float) (OpenCL). |
protected double |
Kernel.atan2(double _d1,
double _d2)
Delegates to either
Math.atan2(double, double) (Java) or atan2(double, double) (OpenCL). |
protected float |
Kernel.atan2(float _f1,
float _f2)
Delegates to either
Math.atan2(double, double) (Java) or atan2(float, float) (OpenCL). |
protected double |
Kernel.atan2pi(double y,
double x) |
protected float |
Kernel.atan2pi(float y,
double x) |
protected double |
Kernel.atanpi(double a) |
protected float |
Kernel.atanpi(float a) |
protected int |
Kernel.atomicAdd(java.util.concurrent.atomic.AtomicInteger p,
int val) |
protected int |
Kernel.atomicAdd(int[] _arr,
int _index,
int _delta)
Atomically adds
_delta value to _index element of array _arr (Java) or delegates to atomic_add(volatile int*, int) (OpenCL). |
protected int |
Kernel.atomicAnd(java.util.concurrent.atomic.AtomicInteger p,
int val) |
protected int |
Kernel.atomicCmpXchg(java.util.concurrent.atomic.AtomicInteger p,
int expectedVal,
int newVal) |
protected int |
Kernel.atomicDec(java.util.concurrent.atomic.AtomicInteger p) |
protected int |
Kernel.atomicGet(java.util.concurrent.atomic.AtomicInteger p) |
protected int |
Kernel.atomicInc(java.util.concurrent.atomic.AtomicInteger p) |
protected int |
Kernel.atomicMax(java.util.concurrent.atomic.AtomicInteger p,
int val) |
protected int |
Kernel.atomicMin(java.util.concurrent.atomic.AtomicInteger p,
int val) |
protected int |
Kernel.atomicOr(java.util.concurrent.atomic.AtomicInteger p,
int val) |
protected void |
Kernel.atomicSet(java.util.concurrent.atomic.AtomicInteger p,
int val) |
protected int |
Kernel.atomicSub(java.util.concurrent.atomic.AtomicInteger p,
int val) |
protected int |
Kernel.atomicXchg(java.util.concurrent.atomic.AtomicInteger p,
int newVal) |
protected int |
Kernel.atomicXor(java.util.concurrent.atomic.AtomicInteger p,
int val) |
protected double |
Kernel.cbrt(double a) |
protected float |
Kernel.cbrt(float a) |
protected double |
Kernel.ceil(double _d)
Delegates to either
Math.ceil(double) (Java) or ceil(double) (OpenCL). |
protected float |
Kernel.ceil(float _f)
Delegates to either
Math.ceil(double) (Java) or ceil(float) (OpenCL). |
protected int |
Kernel.clz(int _i)
Delegates to either
Integer.numberOfLeadingZeros(int) (Java) or clz(int) (OpenCL). |
protected long |
Kernel.clz(long _l)
Delegates to either
Long.numberOfLeadingZeros(long) (Java) or clz(long) (OpenCL). |
protected double |
Kernel.cos(double _d)
Delegates to either
Math.cos(double) (Java) or cos(double) (OpenCL). |
protected float |
Kernel.cos(float _f)
Delegates to either
Math.cos(double) (Java) or cos(float) (OpenCL). |
protected double |
Kernel.cosh(double x) |
protected float |
Kernel.cosh(float x) |
protected double |
Kernel.cospi(double a) |
protected float |
Kernel.cospi(float a) |
protected double |
Kernel.exp(double _d)
Delegates to either
Math.exp(double) (Java) or exp(double) (OpenCL). |
protected float |
Kernel.exp(float _f)
Delegates to either
Math.exp(double) (Java) or exp(float) (OpenCL). |
protected double |
Kernel.exp10(double a) |
protected float |
Kernel.exp10(float a) |
protected double |
Kernel.exp2(double a) |
protected float |
Kernel.exp2(float a) |
protected double |
Kernel.expm1(double x) |
protected float |
Kernel.expm1(float x) |
protected double |
Kernel.floor(double _d)
Delegates to either
Math.floor(double) (Java) or floor(double) (OpenCL). |
protected float |
Kernel.floor(float _f)
Delegates to either
Math.floor(double) (Java) or floor(float) (OpenCL). |
protected double |
Kernel.fma(double a,
double b,
double c)
Delegates to either {code}a*b+c{code} (Java) or
fma(double, double, double) (OpenCL). |
protected float |
Kernel.fma(float a,
float b,
float c)
Delegates to either {code}a*b+c{code} (Java) or
fma(float, float, float) (OpenCL). |
protected double |
Kernel.hypot(double a,
double b) |
protected float |
Kernel.hypot(float a,
float b) |
protected double |
Kernel.IEEEremainder(double _d1,
double _d2)
Delegates to either
Math.IEEEremainder(double, double) (Java) or remainder(double, double) (OpenCL). |
protected float |
Kernel.IEEEremainder(float _f1,
float _f2)
Delegates to either
Math.IEEEremainder(double, double) (Java) or remainder(float, float) (OpenCL). |
protected double |
Kernel.log(double _d)
Delegates to either
Math.log(double) (Java) or log(double) (OpenCL). |
protected float |
Kernel.log(float _f)
Delegates to either
Math.log(double) (Java) or log(float) (OpenCL). |
protected double |
Kernel.log10(double a) |
protected float |
Kernel.log10(float a) |
protected double |
Kernel.log1p(double x) |
protected float |
Kernel.log1p(float x) |
protected double |
Kernel.log2(double a) |
protected float |
Kernel.log2(float a) |
protected double |
Kernel.mad(double a,
double b,
double c) |
protected float |
Kernel.mad(float a,
float b,
float c) |
protected double |
Kernel.max(double _d1,
double _d2)
Delegates to either
Math.max(double, double) (Java) or fmax(double, double) (OpenCL). |
protected float |
Kernel.max(float _f1,
float _f2)
Delegates to either
Math.max(float, float) (Java) or fmax(float, float) (OpenCL). |
protected int |
Kernel.max(int n1,
int n2)
Delegates to either
Math.max(int, int) (Java) or max(int, int) (OpenCL). |
protected long |
Kernel.max(long n1,
long n2)
Delegates to either
Math.max(long, long) (Java) or max(long, long) (OpenCL). |
protected double |
Kernel.min(double _d1,
double _d2)
Delegates to either
Math.min(double, double) (Java) or fmin(double, double) (OpenCL). |
protected float |
Kernel.min(float _f1,
float _f2)
Delegates to either
Math.min(float, float) (Java) or fmin(float, float) (OpenCL). |
protected int |
Kernel.min(int n1,
int n2)
Delegates to either
Math.min(int, int) (Java) or min(int, int) (OpenCL). |
protected long |
Kernel.min(long n1,
long n2)
Delegates to either
Math.min(long, long) (Java) or min(long, long) (OpenCL). |
private float |
Kernel.native_rsqrt(float _f) |
private float |
Kernel.native_sqrt(float _f) |
protected double |
Kernel.nextAfter(double start,
double direction) |
protected float |
Kernel.nextAfter(float start,
float direction) |
protected int |
Kernel.popcount(int _i)
Delegates to either
Integer.bitCount(int) (Java) or popcount(int) (OpenCL). |
protected long |
Kernel.popcount(long _i)
Delegates to either
Long.bitCount(long) (Java) or popcount(long) (OpenCL). |
protected double |
Kernel.pow(double _d1,
double _d2)
Delegates to either
Math.pow(double, double) (Java) or pow(double, double) (OpenCL). |
protected float |
Kernel.pow(float _f1,
float _f2)
Delegates to either
Math.pow(double, double) (Java) or pow(float, float) (OpenCL). |
protected double |
Kernel.rint(double _d)
Delegates to either
Math.rint(double) (Java) or rint(double) (OpenCL). |
protected float |
Kernel.rint(float _f)
Delegates to either
Math.rint(double) (Java) or rint(float) (OpenCL). |
protected long |
Kernel.round(double _d)
Delegates to either
Math.round(double) (Java) or round(double) (OpenCL). |
protected int |
Kernel.round(float _f)
Delegates to either
Math.round(float) (Java) or round(float) (OpenCL). |
protected double |
Kernel.rsqrt(double _d)
Computes inverse square root using
Math.sqrt(double) (Java) or delegates to rsqrt(double) (OpenCL). |
protected float |
Kernel.rsqrt(float _f)
Computes inverse square root using
Math.sqrt(double) (Java) or delegates to rsqrt(double) (OpenCL). |
protected double |
Kernel.sin(double _d)
Delegates to either
Math.sin(double) (Java) or sin(double) (OpenCL). |
protected float |
Kernel.sin(float _f)
Delegates to either
Math.sin(double) (Java) or sin(float) (OpenCL). |
protected double |
Kernel.sinh(double x)
Delegates to either
Math.sinh(double) (Java) or sinh(double) (OpenCL). |
protected float |
Kernel.sinh(float x)
Delegates to either
Math.sinh(double) (Java) or sinh(float) (OpenCL). |
protected double |
Kernel.sinpi(double a)
Backed by either
Math.sin(double) (Java) or sinpi(double) (OpenCL). |
protected float |
Kernel.sinpi(float a)
Backed by either
Math.sin(double) (Java) or sinpi(float) (OpenCL). |
protected double |
Kernel.sqrt(double _d)
Delegates to either
Math.sqrt(double) (Java) or sqrt(double) (OpenCL). |
protected float |
Kernel.sqrt(float _f)
Delegates to either
Math.sqrt(double) (Java) or sqrt(float) (OpenCL). |
protected double |
Kernel.tan(double _d)
Delegates to either
Math.tan(double) (Java) or tan(double) (OpenCL). |
protected float |
Kernel.tan(float _f)
Delegates to either
Math.tan(double) (Java) or tan(float) (OpenCL). |
protected double |
Kernel.tanh(double x)
Delegates to either
Math.tanh(double) (Java) or tanh(double) (OpenCL). |
protected float |
Kernel.tanh(float x)
Delegates to either
java.lang.Math#tanh(float) (Java) or tanh(float) (OpenCL). |
protected double |
Kernel.tanpi(double a)
Backed by either
Math.tan(double) (Java) or tanpi(double) (OpenCL). |
protected float |
Kernel.tanpi(float a)
Backed by either
Math.tan(double) (Java) or tanpi(float) (OpenCL). |
protected double |
Kernel.toDegrees(double _d)
Delegates to either
Math.toDegrees(double) (Java) or degrees(double) (OpenCL). |
protected float |
Kernel.toDegrees(float _f)
Delegates to either
Math.toDegrees(double) (Java) or degrees(float) (OpenCL). |
protected double |
Kernel.toRadians(double _d)
Delegates to either
Math.toRadians(double) (Java) or radians(double) (OpenCL). |
protected float |
Kernel.toRadians(float _f)
Delegates to either
Math.toRadians(double) (Java) or radians(float) (OpenCL). |