GPU computing with 'Quadro 600'

조회 수: 2 (최근 30일)
Kamuran
Kamuran 2013년 4월 8일
Hi,
I am new to GPU computing. I will be doing CFD calculation in 3D which will requires working with really big 3D matrices like (500,550,300). I used a workstation which has 'Quadro 600' GPU which has 1GB ram but when I start a calculation more than 200,250,150 size matrices it say out-memory. You requested 85mb memory only available 37mb. I did not understand this error. I thought Matlab will be using 1gb ram as its memory. Am I wrong?
Thank you
  댓글 수: 2
Walter Roberson
Walter Roberson 2013년 4월 8일
On the line just before you do that, please show the output of
memory
(Note: only works in MS Windows)
James Lebak
James Lebak 2013년 4월 9일
Even better, since the matrices are on the GPU, issue the gpuDevice() command and look at the value of the 'FreeMemory' field. This works on all platforms. It's possible that other matrices have used all the free memory, or that memory fragmentation caused by repeated allocations and de-allocations has reduced the size of the largest available piece of memory. Either way, clearing GPU variables can help.

댓글을 달려면 로그인하십시오.

채택된 답변

Jason Ross
Jason Ross 2013년 4월 9일
The Quadro 600 has 1 GB of RAM, but it's also a display card, so if you have a monitor hooked up to it, some of the RAM is being used for the display.
Clearing variables (as James suggested) can help, but if you are using the same card for both compute and display, the resources available for display are going to compete with the resources for compute, and you aren't going to be able to use all the memory on the card for compute alone. You might want to look at the GeForce cards if you are going to be using more RAM and cost is a concern, as your eventual problem size is 11x larger (1 GB). They also have more CUDA cores than the Quadro 600.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 GPU Computing에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by