Table of Contents

Enum KernelBackends

Namespace
DotCompute.Abstractions.RingKernels
Assembly
DotCompute.Abstractions.dll

Defines the target backends for kernel compilation. Multiple backends can be specified using bitwise OR flags.

[Flags]
public enum KernelBackends

Fields

All = CPU | CUDA | OpenCL | Metal | ROCm

All available backends.

CPU = 1

CPU backend with SIMD vectorization.

CUDA = 2

NVIDIA CUDA backend for NVIDIA GPUs.

Metal = 8

Apple Metal backend for macOS/iOS GPUs.

None = 0

No backends specified.

OpenCL = 4

OpenCL backend for cross-platform GPU/accelerator support.

ROCm = 16

AMD ROCm backend for AMD GPUs (future support).