What CUDA_ARCH to use with DrivePX2 ?

Hi. I want to know what’s the right CUDA_ARCH to use to compile a CUDA program on DrivePX2?
I’ve been using this, but I know only one is needed.
CUDA_ARCH := -gencode arch=compute_50,code=sm_50
-gencode arch=compute_52,code=sm_52
-gencode arch=compute_61,code=sm_61
-gencode arch=compute_62,code=sm_62

Thanks for the help.

Hi jiaweih,
DrivePX2 has an integrated GPU and discrete GPU.
If you want to generate the code only for integrated GPU use -gencode arch=compute_62,code=sm_62.
If you want to generate the code only for discrete GPU use -gencode arch=compute_61,code=sm_61.

Thanks a lot, Siva!