Invasive warning while compiling

Hello all,

I’m getting tons of the following warning :

Cannot tell what pointer points to, assuming global memory space

while compiling my OptiX code.

By googling my problem, I found out that I should not worry about it. However, I really get tons of this warning and am thus unable to see other warnings that could have more sense.
Is there any way to prevent nvcc from producing this warning ?

Thanks.

These warnings should not appear if you’re able to compile to a target GPU architecture with SM 2.0 (Fermi) or newer during your development. Try adding -arch=sm_20 to your nvcc options then.

This solved my problem. Thanks for your help.