gcc/libgomp/plugin
Alexander Monakov 0d58938ed7 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
2016-01-11 15:55:31 +03:00
..
configfrag.ac Update copyright years. 2016-01-04 15:30:50 +01:00
Makefrag.am Update copyright years. 2016-01-04 15:30:50 +01:00
plugin-nvptx.c nvptx plugin: do not force JIT target SM version 2016-01-11 15:55:31 +03:00