Skip to content

Commit

Permalink
Fix 16.04 builds
Browse files Browse the repository at this point in the history
  • Loading branch information
ronlieb committed Nov 26, 2019
1 parent 9580c0d commit 9bfadf1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#define _AMDGCN_INTERFACE_H_

#include <stdint.h>
#include <stddef.h>

#define EXTERN extern "C" __attribute__((device))
typedef uint64_t __kmpc_impl_lanemask_t;
Expand Down
1 change: 1 addition & 0 deletions openmp/libomptarget/deviceRTLs/amdgcn/src/libcall.cu
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
#include "omptarget-nvptx.h"
#include "target_impl.h"
#include "device_environment.h"
#include <ctime>

// Timer precision is 1ns
#define TIMER_PRECISION ((double)1E-9)
Expand Down

0 comments on commit 9bfadf1

Please sign in to comment.