public class LinearAlgebraUtils extends Object
| Constructor and Description |
|---|
LinearAlgebraUtils(boolean doubleCapable) |
LinearAlgebraUtils(CLQueue queue) |
| Modifier and Type | Method and Description |
|---|---|
CLContext |
getContext() |
CLQueue |
getQueue() |
<T> CLEvent |
multiply(CLBuffer<T> a,
int aRows,
int aColumns,
CLBuffer<T> b,
int bRows,
int bColumns,
CLBuffer<T> out,
CLEvent... eventsToWaitFor) |
CLEvent |
multiplyDoubles(CLBuffer<Double> a,
int aRows,
int aColumns,
CLBuffer<Double> b,
int bRows,
int bColumns,
CLBuffer<Double> out,
CLEvent... eventsToWaitFor) |
CLEvent |
multiplyFloats(CLBuffer<Float> a,
long aRows,
long aColumns,
CLBuffer<Float> b,
long bRows,
long bColumns,
CLBuffer<Float> out,
CLEvent... eventsToWaitFor) |
<T> CLEvent |
transpose(CLBuffer<T> a,
int aRows,
int aColumns,
CLBuffer<T> out,
CLEvent... eventsToWaitFor) |
CLEvent |
transposeDouble(CLBuffer<Double> a,
int aRows,
int aColumns,
CLBuffer<Double> out,
CLEvent... eventsToWaitFor) |
CLEvent |
transposeDoubles(CLBuffer<Double> a,
int aRows,
int aColumns,
CLBuffer<Double> out,
CLEvent... eventsToWaitFor) |
CLEvent |
transposeFloats(CLBuffer<Float> a,
int aRows,
int aColumns,
CLBuffer<Float> out,
CLEvent... eventsToWaitFor) |
public LinearAlgebraUtils(boolean doubleCapable) throws IOException, CLBuildException
IOExceptionCLBuildExceptionpublic LinearAlgebraUtils(CLQueue queue) throws IOException, CLBuildException
IOExceptionCLBuildExceptionpublic CLContext getContext()
public <T> CLEvent multiply(CLBuffer<T> a, int aRows, int aColumns, CLBuffer<T> b, int bRows, int bColumns, CLBuffer<T> out, CLEvent... eventsToWaitFor) throws CLBuildException
CLBuildExceptionpublic CLEvent multiplyDoubles(CLBuffer<Double> a, int aRows, int aColumns, CLBuffer<Double> b, int bRows, int bColumns, CLBuffer<Double> out, CLEvent... eventsToWaitFor) throws CLBuildException
CLBuildExceptionpublic CLEvent multiplyFloats(CLBuffer<Float> a, long aRows, long aColumns, CLBuffer<Float> b, long bRows, long bColumns, CLBuffer<Float> out, CLEvent... eventsToWaitFor) throws CLBuildException
CLBuildExceptionpublic CLEvent transposeDouble(CLBuffer<Double> a, int aRows, int aColumns, CLBuffer<Double> out, CLEvent... eventsToWaitFor) throws CLBuildException
CLBuildExceptionpublic <T> CLEvent transpose(CLBuffer<T> a, int aRows, int aColumns, CLBuffer<T> out, CLEvent... eventsToWaitFor) throws CLBuildException
CLBuildExceptionpublic CLEvent transposeFloats(CLBuffer<Float> a, int aRows, int aColumns, CLBuffer<Float> out, CLEvent... eventsToWaitFor) throws CLBuildException
CLBuildExceptionpublic CLEvent transposeDoubles(CLBuffer<Double> a, int aRows, int aColumns, CLBuffer<Double> out, CLEvent... eventsToWaitFor) throws CLBuildException
CLBuildExceptionCopyright © 2009-2015. All Rights Reserved.