cheatah
Struct

space::irbem::gpu::UnknownKernel

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

A kernel name that no entry point in irbem.slang implements.

Thrown by kernel_info, and therefore by every launcher, before any device is touched. This is the guard that stops a renamed or misspelled kernel from becoming a silent no-op.

Functions

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

Construct with a message naming the offending kernel.

Parameters
what

the message, which must name the kernel that was asked for.

Complexity

O(len(what)).

Allocation

one string copy, inside std::runtime_error.