After persistently getting error : identifier "atomicAdd" is undefined
, I've found the solution to be to compile with -arch sm_20
flag. But how to pass this compiler flag in VS 2010? I have tried like so under Project > Properties
:
But this apparently has had no effect and the error persists - what am I doing wrong?
Many thanks.