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); dA=gpuSetData(A) [rows cols] = gpuSize(dA) sizes = gpuSize(dA) gpuFree(dA); clear dA; clear A; | ![]() | ![]() |