Function registerCPUKernel

Registers a kernel for the specified operation.

void registerCPUKernel (
  string opName,
  CPUKernel kernel
);

Parameters

NameDescription
opName The name of the operation.
kernel A kernel that can execute operations of the type specified by opName.

Throws

If there is already a kernel registered for the operation.