Skip to content
fn

storage_is_gpu

→bool
bool storage_is_gpu(const int & s)

Predicate: is s a GpuStorage?

Parameters

sStorage
Variant to inspect.

Returns

bool

true iff the variant currently holds the GpuStorage alternative (index 1).