This project is read-only.

Memory

Aug 29, 2013 at 2:12 PM
Hi!

I am getting some wierd figures on a computer where i have installed a Quadro K5000 card on

Its a windows server 2008 R2, with an integrated matrox g200 running as vga, and the K5000 running as a TCC board (runs fantastic, and easily setup)

When i run GetProperties on the K5000, all data looks proper(ClockRate,MaxThreadsPerMultiProcessor etc...), except these two:

TotalMemory: 18446744073709355008
TotalGlobalMem: -196608

Also, when running GASS.CUDA.CUDADriver.cuMemGetInfo I get:

Total gpu mem: -536870912 Free gpu mem: -573964288. The card has 4gb memory.

Does it have anything to do with SizeT.ToString() or is it because Im building for x86?

Or is it something completely different?
Aug 29, 2013 at 5:49 PM
I may be wrong, but since you can't fit 4Gb in a signed int, it's only natural that you'd get an overflow when compiling in x86 given that cuMemGetInfo's return type depends on the target architecture.
Sep 2, 2013 at 3:04 PM
Yes, of course!

Thats it... The memory SizeT fields will be 32bit since Im compiling to x86

Thanks!