Function registerCUDAKernel

Registers a CUDA kernel constructor for a given operation type.

void registerCUDAKernel (
  string opName,
  CUDAKernel delegate(Operation) kernelCtr
);

Parameters

NameDescription
opName The type of operation this kernel constructor caters to.
kernelCtr The constructor that should be associated with operations with the type opType.