menu

ComputeErrorKind

import { ComputeErrorKind } from "destack:compute";

Compute failure category.

language/library/src/compute/error.ds:5:20
1export enum ComputeErrorKind {2    DeviceUnavailable = 1,3    Unsupported = 2,4    CompileFailed = 3,5    KernelNotFound = 4,6    InvalidArgument = 5,7    OutOfMemory = 6,8    Backend = 7,9}

Variants

DeviceUnavailable = 1

The requested device is unavailable.

Unsupported = 2

The requested backend feature is unsupported.

CompileFailed = 3

Program compilation failed.

KernelNotFound = 4

The requested kernel entry point does not exist.

InvalidArgument = 5

Kernel arguments do not match the entry point signature.

OutOfMemory = 6

Device memory allocation failed.

Backend = 7

The backend reported an implementation-specific failure.