ILGPU  0.9.0
ILGPU.Runtime.CPU Namespace Reference

Classes

class  CPUAccelerator
 Represents a general CPU-based runtime for kernels. More...
 
class  CPUAcceleratorId
 Represents a single CPU accelerator reference. More...
 
class  CPUAcceleratorTask
 Represents a single CPU-accelerator task. More...
 
class  CPUKernel
 Represents a single CPU kernel. More...
 
class  CPUMemoryBuffer
 Represents a managed array that was pinned for unmanaged memory accesses. More...
 
class  CPURuntimeGroupContext
 Represents a runtime context for thread groups. More...
 
class  CPURuntimeThreadContext
 Represents a runtime context for single threads.
 
class  CPUStream
 Represents a CPU stream. More...
 

Functions

delegate void CPUKernelExecutionHandler (CPUAcceleratorTask task, CPURuntimeGroupContext groupContext, int runtimeThreadOffset, int groupSize, int chunkSize, int chunkOffset, int targetDimension)
 Execution delegate for CPU kernels inside the runtime system. More...
 

Function Documentation

delegate void ILGPU.Runtime.CPU.CPUKernelExecutionHandler ( CPUAcceleratorTask  task,
CPURuntimeGroupContext  groupContext,
int  runtimeThreadOffset,
int  groupSize,
int  chunkSize,
int  chunkOffset,
int  targetDimension 
)

Execution delegate for CPU kernels inside the runtime system.

Parameters
taskThe referenced task.
groupContextThe current group context.
runtimeThreadOffsetThe thread offset within the current group (WarpId * WarpSize + WarpThreadIdx).
groupSizeThe group size in the scope of the runtime system.
chunkSizeThe size of a grid-index chunk to process.
chunkOffsetThe offset of the current processing chunk.
targetDimensionThe target kernel dimension.