aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAlexander Monakov <amonakov@ispras.ru>2016-01-11 15:55:31 +0300
committerAlexander Monakov <amonakov@gcc.gnu.org>2016-01-11 15:55:31 +0300
commit0d58938ed798882063737dedfe897a9b484295ad (patch)
tree9e5efed6bfd5c03b33fb3b973ab51fdeae168032 /gcc
parentb34b1c343600f7587213dafee5e305a8e4000132 (diff)
downloadgcc-0d58938ed798882063737dedfe897a9b484295ad.zip
gcc-0d58938ed798882063737dedfe897a9b484295ad.tar.gz
gcc-0d58938ed798882063737dedfe897a9b484295ad.tar.bz2
nvptx plugin: do not force JIT target SM version
When link_ptx runs, a CUDA device is already bound to current thread, so the driver library knows the target architecture. There isn't any benefit from forcing a specific target here; on the contrary, hardcoding sm_30 breaks offloading on later (Maxwell, sm_5x) devices. * plugin/plugin-nvptx.c (link_ptx): Do not set CU_JIT_TARGET. From-SVN: r232227
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions