I have a GeForce 470 GTX and have no problem compiling and running the simpleAtomicIntrinsics example using Visual Studio 2008 in 32-bit Windows XP. I tried then using the addAtomic function in another project I was working on and got the following error:
Error 2 error: identifier “atomicAdd” is undefined
I could not find any difference in the project settings and no obvious #include statements were missing as well. I then tried adding a call to addAtomic into the pre-canned cppIntegration project and got the exact same error so its apparently not just my project.
Has anyone else seen this or know how to fix it? Thanks
Not explicitly no, but I don’t see where they are doing that in the canned simpleAtomicIntrinsics demo either. Where is the Visual Studio project properties would one add that? Thanks