I am running some example code from a book on cuda. It is as follows:
The program works fine on my 32bit laptop (just clicking the exe from dropbox, which was compiled on this 64 bit machine), but comes up with this on my 64bit win7 machine:
(the error messages are from this custom function i have been using instead of the HANDLE_ERROR function from example code:
void DealWithResult(cudaError_t result)
if(result == 0)
printf(“Error: %d \n”, result);
I deliberately installed everything as 32bit ( the sdk, the toolkit and the MSVC++ ide), its only the OS that is 64bit. Is it possible to get this to work if i download a 64bit toolkit or sdk? I heard that you have problems because you cant get the 64bit express MSVC++ you have to pay for it which I cant afford. If worst comes to worst i will just have to swap the OS’s between the machines so i can develop with dedicated cards.