Shared Memory Compilation Error

I would to use atomic operations in shared memory on a device with compute capability 1.3, but I have this error:

----shared space reduction operations require SM 1.2 or Higher—

What Can I do?

Try compiling for 1.3 compute capability by passing the “-arch sm_13” option to nvcc.

Thank you! it works.