Does anyone know how to switch between GPUs in Nsight in Visual Studio while debugging, I am programming 2 quadro cards. Code is in cuda C.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can enumrate your cards in your CUDA program, and explicitly choose one of them. Or you can set an enviroment variable before launching your Nsight Monitor, “CUDA_VISIBLE_DEVICES=0” choose the card with ordinal 0.
You can refer to the deviceQueryDrv sample in CUDA SDK, for listing ordinals of you GPUs. You can also refer for how to enumrate your GPUs.