< Previous | Contents | Next >

Usage

nodename = DVIPComputeNode(req, "KernelSource", KernelSource, "NameParams", ParamBlock)


nodename

Is a reference to the compute node.

req

Is the Request object passed to the fuse’s Process() function.

KernelSource

Is a reference to the defined kernel source code string.

NameParams

Is the name of the parameter structure as used by the kernel source.

ParamBlock

Is a reference to the block of parameter values that will be passed to the kernel.


Example


local node = DVIPComputeNode(req, "GradientKernel", GradientSource, "GradientParams", GradientParams)