Allow -fopenmp in NVPTX mkoffload
PR target/67822 * config/nvptx/mkoffload.c (main): Allow -fopenmp. From-SVN: r242842
This commit is contained in:
parent
94331892c3
commit
e210b51b58
@ -1,3 +1,8 @@
|
||||
2016-11-24 Alexander Monakov <amonakov@ispras.ru>
|
||||
|
||||
PR target/67822
|
||||
* config/nvptx/mkoffload.c (main): Allow -fopenmp.
|
||||
|
||||
2016-11-24 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
* common/config/sparc/sparc-common.c (sparc_option_optimization_table):
|
||||
|
@ -524,8 +524,8 @@ main (int argc, char **argv)
|
||||
fatal_error (input_location, "cannot open '%s'", ptx_cfile_name);
|
||||
|
||||
/* PR libgomp/65099: Currently, we only support offloading in 64-bit
|
||||
configurations. PR target/67822: OpenMP offloading to nvptx fails. */
|
||||
if (offload_abi == OFFLOAD_ABI_LP64 && !fopenmp)
|
||||
configurations. */
|
||||
if (offload_abi == OFFLOAD_ABI_LP64)
|
||||
{
|
||||
ptx_name = make_temp_file (".mkoffload");
|
||||
obstack_ptr_grow (&argv_obstack, "-o");
|
||||
|
Loading…
x
Reference in New Issue
Block a user