diff options
author | Jakub Jelinek <jakub@redhat.com> | 2019-05-24 10:59:37 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2019-05-24 10:59:37 +0200 |
commit | b5c26449f365b603b3cf4c0f9b576ab7c12c2f40 (patch) | |
tree | ecc1b0ff600342ae9503fbb59891bd549951a4d6 /libgomp/oacc-cuda.c | |
parent | d2e8b6ae3760c72d1d30e0d2b2652c98edb8bc87 (diff) | |
download | gcc-b5c26449f365b603b3cf4c0f9b576ab7c12c2f40.zip gcc-b5c26449f365b603b3cf4c0f9b576ab7c12c2f40.tar.gz gcc-b5c26449f365b603b3cf4c0f9b576ab7c12c2f40.tar.bz2 |
re PR libgomp/90585 (libgomp hsa plugin ftbfs in the x32 multilib variant)
PR libgomp/90585
* plugin/plugin-hsa.c: Include gstdint.h. Include inttypes.h only if
HAVE_INTTYPES_H is defined.
(print_uint64_t): New typedef.
(PRIu64): Define if HAVE_INTTYPES_H is not defined.
(print_kernel_dispatch, run_kernel): Use PRIu64 macro instead of
"lu", cast uint64_t HSA_DEBUG and fprintf arguments to print_uint64_t.
(release_kernel_dispatch): Likewise. Cast shadow->debug to uintptr_t
before casting to void *.
* plugin/plugin-nvptx.c: Include gstdint.h instead of stdint.h.
* oacc-mem.c: Don't include config.h nor stdint.h.
* target.c: Don't include config.h.
* oacc-cuda.c: Likewise.
* oacc-host.c: Don't include stdint.h.
From-SVN: r271597
Diffstat (limited to 'libgomp/oacc-cuda.c')
-rw-r--r-- | libgomp/oacc-cuda.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libgomp/oacc-cuda.c b/libgomp/oacc-cuda.c index 07951df..7a42085 100644 --- a/libgomp/oacc-cuda.c +++ b/libgomp/oacc-cuda.c @@ -27,7 +27,6 @@ <http://www.gnu.org/licenses/>. */ #include "openacc.h" -#include "config.h" #include "libgomp.h" #include "oacc-int.h" #include <assert.h> |