Is the compiler aware of the GPU I have?

Is the code generated by pgcc dependent on my GPU?

If I have 2 machines with different GPUs, will the output be different?

Thanks

Is the code generated by pgcc dependent on my GPU?

No. The current default is to target multiple NVIDIA devices based on the Compute Capability. At runtime, the correct CC version is used. You can limit the CC version used via the “-ta=nvidia,ccXX” flag. (See “pgcc -help -ta” for the actual “ccXX” available with your compiler version).

  • Mat