cheatah
Struct

space::irbem::gpu::GpuUnavailable

cheatah-space v0.1.0-alpha — Biome Standard 0.6.5-alpha

A device launch on a build or a machine that has no device.

Carries unavailable_reason, so a caller reports why rather than inventing a reason.

Functions

fn GpuUnavailable(const std::string &what) #

Construct with a message carrying the bring-up failure reason.

Parameters
what

the message, which must carry unavailable_reason.

Complexity

O(len(what)).

Allocation

one string copy, inside std::runtime_error.