gpuArray size limit is much less than the GPU maximum memory
72 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
z223641s
el 29 de Oct. de 2024 a las 0:30
Comentada: z223641s
el 30 de Oct. de 2024 a las 15:51
When I work on using gpuArray to speed up my computation, I vectorized all my parallel element-wise operations and then obtained 2 big matrices as gpuArrays, to perform some basic multiplications/summations, etc. I thought this might be the better way to go compared to use the arrayFun. It did work well, and, to further speed up, I want to maximize the memory usage of the GPU. This means, instead of performing matrices operations several times, it will be better to perform bigger matrix operations only one time. Then I found matlab has some limit on the array size as intmax('int32'). However, this number is much less than the maximum GPU memory of my device. So I wonder if there is a way to overcome this.
1 comentario
Walter Roberson
el 29 de Oct. de 2024 a las 1:15
As far as I know, indexing on NVIDIA is restricted to int32.
Respuestas (1)
Ver también
Categorías
Más información sobre GPU Computing en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!