Adding Compiler Flag in Visual Studio 2010

I’m new to CUDA and I have been trying to write a code to use atomicCAS and atomicAdd for floating points.
But it does not compile. So I need to include -arch sm_11 (sm_20) when compiling.
Can anyone tell me how to do it INSIDE visual studio?
I tried to change it in Project->Property-> CUDA C/C++ ->HOST->Additional Compiler Options
Still didnt work for me.

Did you try the Project → Property → CUDA C/C++ → Device → Code Generation field?

e.g. compute_20,sm_20

Thanks that works!