warp vote functions __any() __all()

Hi all,

I am trying to run different flavors of reduction operations on a GTX-280 (Comp Capability 1.3). Now, I want to use the Warp vote functions __any() and __all() but I got this error when I compile my file External Image :

[codebox]./atom_all_kernel.cu(18): error: identifier “__all” is undefined

1 error detected in the compilation of “/tmp/tmpxft_00004366_00000000-4_atom_all.cpp1.ii”.

make: *** [obj/release/atom_all.cu_sm_11_o] Error 255


Do I have to setup a special flag or option in the Makefile?


Yes. -arch sm_13