nvptx mkoffload: Don't hard-code GOMP_DEVICE_NVIDIA_PTX.
commitab0e6fbc36cacaa619dfacec41e17a681a28562a
authortschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 11 Feb 2015 14:15:28 +0000 (11 14:15 +0000)
committertschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 11 Feb 2015 14:15:28 +0000 (11 14:15 +0000)
tree1329d7440ca9772834be13889cf6a80df3a4b184
parent4dba1042d0997d881357e6dd2c8aa73490d7bc2f
nvptx mkoffload: Don't hard-code GOMP_DEVICE_NVIDIA_PTX.

gcc/
* config/nvptx/mkoffload.c: Include "gomp-constants.h".
(process): Use its GOMP_DEVICE_NVIDIA_PTX instead of (wrongly)
hard-coding PTX_ID.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@220619 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/nvptx/mkoffload.c