r232227 - in /trunk/libgomp: ChangeLog plugin/p...
amonakov@gcc.gnu.org
amonakov@gcc.gnu.org
Mon Jan 11 12:55:00 GMT 2016
Author: amonakov
Date: Mon Jan 11 12:55:31 2016
New Revision: 232227
URL: https://gcc.gnu.org/viewcvs?rev=232227&root=gcc&view=rev
Log:
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.
Modified:
trunk/libgomp/ChangeLog
trunk/libgomp/plugin/plugin-nvptx.c
More information about the Gcc-cvs
mailing list