whosGPU
Anyone who has worked with gpuArray objects through Matlab's Parallel Computing Toolbox may have found it frustrating that the whos command does not reveal as much information about data size and type for gpuArrays as for normal Matlab variables. The whosGPU function provided in this submission is intended as a remedy for this.
This utility will provide WHOS-like output for gpuArray variables in the current workspace, but with essentially the same information as if the variables were not in gpuArray form. The syntax for the command is highly analogous to Matlab's native whos(). Note, however, that any non-gpuArray variables queried with the command will be ignored.
See the Examples tab for illustrations of usage.
Zitieren als
Matt J (2025). whosGPU (https://de.mathworks.com/matlabcentral/fileexchange/88024-whosgpu), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
| Version | Veröffentlicht | Versionshinweise | |
|---|---|---|---|
| 1.0.3 | Bug fix for the case when no gpuArrays are present. |
||
| 1.0.2 | Minor |
||
| 1.0.01 | Minor |
||
| 1.0.0 |
