public class LinearAlgebraKernels extends CLAbstractUserProgram
| Constructor and Description |
|---|
LinearAlgebraKernels(CLContext context) |
LinearAlgebraKernels(CLProgram program) |
| Modifier and Type | Method and Description |
|---|---|
CLEvent |
mulMatDouble(CLQueue commandQueue,
CLBuffer<Double> a,
int aColumns,
CLBuffer<Double> b,
int bColumns,
CLBuffer<Double> c,
int[] globalWorkSizes,
int[] localWorkSizes,
CLEvent... eventsToWaitFor) |
CLEvent |
mulMatFloat(CLQueue commandQueue,
CLBuffer<Float> a,
int aColumns,
CLBuffer<Float> b,
int bColumns,
CLBuffer<Float> c,
int[] globalWorkSizes,
int[] localWorkSizes,
CLEvent... eventsToWaitFor) |
CLEvent |
mulVecDouble(CLQueue commandQueue,
CLBuffer<Double> a,
int aColumns,
CLBuffer<Double> b,
int bSize,
CLBuffer<Double> c,
int[] globalWorkSizes,
int[] localWorkSizes,
CLEvent... eventsToWaitFor) |
CLEvent |
mulVecFloat(CLQueue commandQueue,
CLBuffer<Float> a,
int aColumns,
CLBuffer<Float> b,
int bSize,
CLBuffer<Float> c,
int[] globalWorkSizes,
int[] localWorkSizes,
CLEvent... eventsToWaitFor) |
CLEvent |
transposeDouble(CLQueue commandQueue,
CLBuffer<Double> a,
int aRows,
int aColumns,
CLBuffer<Double> out,
int[] globalWorkSizes,
int[] localWorkSizes,
CLEvent... eventsToWaitFor) |
CLEvent |
transposeFloat(CLQueue commandQueue,
CLBuffer<Float> a,
int aRows,
int aColumns,
CLBuffer<Float> out,
int[] globalWorkSizes,
int[] localWorkSizes,
CLEvent... eventsToWaitFor) |
getProgrampublic LinearAlgebraKernels(CLContext context) throws IOException
IOExceptionpublic LinearAlgebraKernels(CLProgram program) throws IOException
IOExceptionpublic CLEvent mulMatDouble(CLQueue commandQueue, CLBuffer<Double> a, int aColumns, CLBuffer<Double> b, int bColumns, CLBuffer<Double> c, int[] globalWorkSizes, int[] localWorkSizes, CLEvent... eventsToWaitFor) throws CLBuildException
CLBuildExceptionpublic CLEvent mulVecDouble(CLQueue commandQueue, CLBuffer<Double> a, int aColumns, CLBuffer<Double> b, int bSize, CLBuffer<Double> c, int[] globalWorkSizes, int[] localWorkSizes, CLEvent... eventsToWaitFor) throws CLBuildException
CLBuildExceptionpublic CLEvent transposeDouble(CLQueue commandQueue, CLBuffer<Double> a, int aRows, int aColumns, CLBuffer<Double> out, int[] globalWorkSizes, int[] localWorkSizes, CLEvent... eventsToWaitFor) throws CLBuildException
CLBuildExceptionpublic CLEvent mulMatFloat(CLQueue commandQueue, CLBuffer<Float> a, int aColumns, CLBuffer<Float> b, int bColumns, CLBuffer<Float> c, int[] globalWorkSizes, int[] localWorkSizes, CLEvent... eventsToWaitFor) throws CLBuildException
CLBuildExceptionpublic CLEvent mulVecFloat(CLQueue commandQueue, CLBuffer<Float> a, int aColumns, CLBuffer<Float> b, int bSize, CLBuffer<Float> c, int[] globalWorkSizes, int[] localWorkSizes, CLEvent... eventsToWaitFor) throws CLBuildException
CLBuildExceptionpublic CLEvent transposeFloat(CLQueue commandQueue, CLBuffer<Float> a, int aRows, int aColumns, CLBuffer<Float> out, int[] globalWorkSizes, int[] localWorkSizes, CLEvent... eventsToWaitFor) throws CLBuildException
CLBuildExceptionCopyright © 2009-2015. All Rights Reserved.