Number of GPU devices present
n = gpuDeviceCount
n = gpuDeviceCount
returns the number of
GPU devices present in your computer.
Determine how many GPU devices you have available in your computer and examine the properties of each.
n = gpuDeviceCount; for ii = 1:n gpuDevice(ii) end