FUNCTION REFERENCE

gpuDevice

Query the current GPU device.

Query the current GPU device.

Syntax

gpuDevice

MatRust raises "No supported GPU device was found." with identifier parallel:gpu:device:NoDevicesAvailable.

Example

try; gpuDevice; catch err; id = err.identifier; end;

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.