dopt.core.cpu

This module enables operation graphs to be evaluated using CPU kernels.

Modules

basic
module dopt.core.cpu.basic
Undocumented in source.
math
module dopt.core.cpu.math
Undocumented in source.

Members

Classes

CPUKernelDelegate
class CPUKernelDelegate

Convenience class that allows one to wrap a delegate and implement CPUKernel.

Functions

deregisterCPUKernel
void deregisterCPUKernel(string opName)

Deregisters the kernel associated with the specified operation.

evaluateCPU
Buffer[] evaluateCPU(Operation[] ops, Buffer[Operation] args)

Evaluates an several nodes from the operation graph using the CPU.

initialize
void initialize()
Undocumented in source. Be warned that the author may not have intended to support it.
listAllCPUOperations
string[] listAllCPUOperations()

Provides a list of operations for which a CPUKernel has been registered.

registerCPUKernel
void registerCPUKernel(string opName, CPUKernel kernel)

Registers a kernel for the specified operation.

Interfaces

CPUKernel
interface CPUKernel

Common interface for all CPU kernels.

Meta

Authors

Henry Gouk