How to check the Bytes of gpuArray?
Show older comments
Hi,
I am confusing in checking the Bytes of gpuArrays. It seems every varaible's Bytes is 4. Could I do something more to set it well? Or it is a windows or Geforce problem that I could not check it correctly?
x= 1:5;
xg = gpuArray(x);
xg32 = gpuArray(int32(x));
whos xg
% Name Size Bytes Class Attributes
% xg 1x5 4 gpuArray
whos xg32
% Name Size Bytes Class Attributes
% xg32 1x5 4 gpuArray
Accepted Answer
More Answers (1)
Matt J
on 1 Mar 2021
0 votes
Categories
Find more on Matrix Indexing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!