(.js)
laraImport("clava.opencl.KernelReplacer");
(.lara)
import clava.opencl.KernelReplacer;
Classes:
Global Functions:
Buffer
------------------------- PRIVATE CLASSES ------------------------
new KernelReplacer($call, kernelName, kernelCodePath, bufferSizes, localSize, numIters)
replaceCall()
setOutput(paramName)
------------------------- PUBLIC METHODS -------------------------
ArgBind(index, arg)
BufferCopyIn(bufferName, bufferSize, argName)
BufferCopyOut(bufferName, bufferSize, argName)
BufferDecl(bufferName, bufferKind, bufferSize)
EnqueueKernel()
ExceptionCode()
KernelCreation(sourceString, kernelName)
SetupCode(deviceType, errorHandling)
---------------------------- CODEDEFS ----------------------------
SizesDecl(localsize, globalsizeCode)