FUNCTION REFERENCE

gpuDeviceCount

Count GPU devices available to MatRust.

Count GPU devices available to MatRust.

Syntax

n = gpuDeviceCount

Syntax

n = gpuDeviceCount("available")

Returns zero. MatRust computes on the CPU.

Example

n = gpuDeviceCount("available")   % 0

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