gpuDeviceCount
Number of compatible GPU devices.
📝Syntax
n = gpuDeviceCount()
📤Output Arguments
Parameter Description
n double: the number of compatible GPU devices detected (0 when none).
📄Description

n = gpuDeviceCount() returns the number of compatible GPU devices available on the system. A value of 0 means no supported device was found.

💡Examples
gpuDeviceCount()
🔗See Also
gpuDevicecanUseGPU
🕔Version History
Version Description
2.0.0 initial version
Edit this page on GitHub