How to correctly set environment variable?


I set environment variable there to control available GPUS,however it seems that this environment variable does not play a role, my program still run on cpu not gpus. Can anyone give me some advice?
thank you.

@Andrey_Trachenko can you respond?

@user143522, thank you for bringing this up. Which version of Nsight Systems are you using? We’ll check on our end that this scenario works as expected.