ANTAREX API

Clava API

LARA API

LARA Common Language API

(.js)
laraImport("clava.opencl.KernelReplacer");

(.lara)
import clava.opencl.KernelReplacer;

Buffer

Buffer

Buffer

------------------------- PRIVATE CLASSES ------------------------

Parameters

kind: any
paramName: any
baseType: any
index: any
size: any
argName: any
bufferName: any

KernelReplacer

Constructor

KernelReplacer

new KernelReplacer($call, kernelName, kernelCodePath, bufferSizes, localSize, numIters)

Parameters

$call: any
kernelName: any
kernelCodePath: any
bufferSizes: any
localSize: any
numIters: any

Instance Members

replaceCall

replaceCall()

setOutput

setOutput(paramName)

------------------------- PUBLIC METHODS -------------------------

Parameters

paramName: any

Global Functions

ArgBind

ArgBind(index, arg)

Parameters

index: any
arg: any

BufferCopyIn

BufferCopyIn(bufferName, bufferSize, argName)

Parameters

bufferName: any
bufferSize: any
argName: any

BufferCopyOut

BufferCopyOut(bufferName, bufferSize, argName)

Parameters

bufferName: any
bufferSize: any
argName: any

BufferDecl

BufferDecl(bufferName, bufferKind, bufferSize)

Parameters

bufferName: any
bufferKind: any
bufferSize: any

EnqueueKernel

EnqueueKernel()

ExceptionCode

ExceptionCode()

KernelCreation

KernelCreation(sourceString, kernelName)

Parameters

sourceString: any
kernelName: any

SetupCode

SetupCode(deviceType, errorHandling)

---------------------------- CODEDEFS ----------------------------

Parameters

deviceType: any
errorHandling: any

SizesDecl

SizesDecl(localsize, globalsizeCode)

Parameters

localsize: any
globalsizeCode: any