I was looking at Interval example that come with CUDA SDK and I’m not figuring out how and where the CUDA_ARCH macro is defined. The use of this macro occurs in the cuda_interval.h line 345.
As far as I see, in the Makefile, the use of
GENCODE_ARCH := -gencode=arch=compute_20,code=sm_20
should define this macro. Is that correct?