Retrieve the size of matrix stored in GPU memory.
[rows cols]=gpuSize(gA)
Pointer on the matrix stored in GPU memory.
rows : the numbers of rows of the GPU matrix.
cols : the numbers of cols of the GPU matrix.
[rows cols]=gpuSize(gA)
allow users to retrieve the size of matrix
stored in GPU memory.
//--Scilab script-- A=ones(2,19); gA=gpuSetData(A) [rows cols] = gpuSize(gA) gA=gpuFree(gA); clear gA; clear A; | ![]() | ![]() |