I’m working under Windows XP32, using CUDA 2.0, GPU for experiments is 8500 GT, it is secondary graphics card (monitor is not connected to it as well as the desktop is not extended onto it) with 256 MB RAM on board.
At the startup of the app cuMemGetInfo informs me that 200531200 bytes are free (about 60 !!! megabytes are gone for unknown reason - but OK, let’s think that it is a frame buffer than can’t be disabled because of drivers e t c).
Then, right after I cudaMalloc an array of 5000 floats (20000 bytes) and bind simple 1d texture to it, cuMemGetInfo returns only 168553216 free bytes! More than 30 megabytes are simply wasted due to completely unknown reason.
After it, all memory allocations are precise and correct.
It looks like a real drawback … instead of 256 MBytes only about 160 are available. Where are the rest 100 megabytes ? Is it a “feature” or a bug ?
Thanks in advance.