I was playing around some with the device API again today (still 2.2 on this machine), and after I added some new stuff to a program, I started getting back invalid device pointers from cuMemAlloc(). I’ve got a 512MB Geforce 8800 GT here, and the driver is (sometimes, but not always) returning a pointer of 536940544 (or 69632 bytes past the device’s memory).
Does that have something to do with Vista virtualizing the device memory? Or is it a bug in the driver?
EDIT: I was actually constructing a little program of my own for device<->host bandwidth testing, and I’m only allocating 64kb when this occurs.