MATLAB PARALLEL COMPUTING TOOLBOX - S User's Guide Page 477

  • Download
  • Add to my manuals
  • Print
  • Page
    / 656
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 476
gpuDeviceCount
11-133
gpuDeviceCount
Number of GPU devices present
Syntax
n = gpuDeviceCount
Description
n = gpuDeviceCount returns the number of GPU devices present in your computer.
Examples
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
See Also
arrayfun | feval | gpuDevice | parallel.gpu.CUDAKernel
Page view 476
1 2 ... 472 473 474 475 476 477 478 479 480 481 482 ... 655 656

Comments to this Manuals

No comments