nvptx mkoffload: Don't hard-code GOMP_DEVICE_NVIDIA_PTX.
authorThomas Schwinge <thomas@codesourcery.com>
Wed, 11 Feb 2015 14:15:28 +0000 (15:15 +0100)
committerThomas Schwinge <tschwinge@gcc.gnu.org>
Wed, 11 Feb 2015 14:15:28 +0000 (15:15 +0100)
commite6f229ca44a659713b015ea0b653b5e7f9354a48
tree1329d7440ca9772834be13889cf6a80df3a4b184
parenta8d790dfc0f78bce8259e792c2c3502712d866dc
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.

From-SVN: r220619
gcc/ChangeLog
gcc/config/nvptx/mkoffload.c