Table of Contents

Enum AcceleratorType

Namespace
Orleans.GpuBridge.Abstractions.Enums
Assembly
Orleans.GpuBridge.Abstractions.dll

Accelerator type enumeration for device selection across all backend providers.

public enum AcceleratorType

Fields

Auto = 0

Automatically select the best available device based on capabilities and performance. The backend provider will choose the most appropriate accelerator type.

CPU = 1

Use CPU for computation. This provides maximum compatibility but may have lower performance compared to GPU accelerators.

CUDA = 2

Use NVIDIA CUDA-capable GPU. Requires NVIDIA GPU hardware and CUDA runtime. Provides high performance for parallel compute workloads.

DirectCompute = 5

Use DirectCompute (DirectX Compute Shader) on Windows. Provides GPU acceleration on Windows platforms with DirectX 11+ capable hardware.

Metal = 4

Use Apple Metal on macOS/iOS. Provides optimized GPU acceleration on Apple platforms with Metal-capable hardware.

OpenCL = 3

Use OpenCL-capable device. Supports multiple vendors (NVIDIA, AMD, Intel) and provides cross-platform GPU acceleration.

Vulkan = 6

Use Vulkan compute. Provides cross-platform GPU acceleration on devices with Vulkan support, offering low-level control and high performance.

Remarks

This enum represents the supported compute accelerator types that can be used with Orleans.GpuBridge. Backend providers may support a subset of these types based on platform and hardware availability.