Skip to content

Commit

Permalink
Merge pull request ROCm#54 from ROCm-Developer-Tools/fix-16.04-builds
Browse files Browse the repository at this point in the history
Fix 16.04 builds
  • Loading branch information
ronlieb authored Nov 26, 2019
2 parents a0ffc65 + f28235b commit d5f92b6
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 <time.h>

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

0 comments on commit d5f92b6

Please sign in to comment.