I have run into some issues trying to get CUDA running reliably on this setup.
I keep getting out of memory error trying to run the examples after my computer is running for a little while.
It appears that OSX grabs up all available video memory for it’s own use. Is there any way to force OSX to give some memory back or limit the amount of memory the OS uses on the video card?
Or any other solutions anyone has found.
For instance when I first start my computer I can run the bandwidthTest with no issue.
However after some time I get the following error:
CUDA error at bandwidthTest.cu:719 code=2(cudaErrorMemoryAllocation) “cudaEventCreate(&start)”
I confirmed via my own test that is an out of memory error.
Also an interesting thing I have found is that when I print the “available memory” when I have memory I get a sensical number like 112435200 but when I am getting the out of memory error I get something huge like 140735467355095.
Any help is appreciated.
Thanks,
Mike