Table of Contents

Enum Runtime.BackendType

Namespace
LMKit.Global
Assembly
LM-Kit.NET.dll

Specifies the type of computational backend to use.

public enum Runtime.BackendType

Fields

Undefined = -1

The backend type is undefined.

CPU = 0

Use the CPU backend.

Cuda12 = 1

Use the CUDA 12 backend for NVIDIA GPUs.

Metal = 2

Use the Metal backend for Apple devices.

Vulkan = 3

Use the Vulkan backend.

Sycl = 4

Use the SYCL backend for heterogeneous computing.

Avx = 5

Use the AVX backend for CPUs supporting AVX instructions.

Avx2 = 6

Use the AVX2 backend for CPUs supporting AVX2 instructions.