mirror of git://gcc.gnu.org/git/gcc.git
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
|
||
|---|---|---|
| .. | ||
| Makefrag.am | ||
| configfrag.ac | ||
| plugin-nvptx.c | ||