mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-19 02:25:42 +00:00
Merge branch 'upstream-lcl' into update_thirdparty_for_hip_support
* upstream-lcl: lcl 2020-10-28 (b7fe5404)
This commit is contained in:
commit
19216a3bd6
@ -13,7 +13,10 @@
|
|||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
#include <type_traits>
|
#include <type_traits>
|
||||||
|
|
||||||
#ifdef __CUDACC__
|
#if defined(__CUDACC__)
|
||||||
|
# define LCL_EXEC __device__ __host__
|
||||||
|
#elif defined(__HIP__)
|
||||||
|
#include "hip/hip_runtime.h" //required for __device__ __host__
|
||||||
# define LCL_EXEC __device__ __host__
|
# define LCL_EXEC __device__ __host__
|
||||||
#else
|
#else
|
||||||
# define LCL_EXEC
|
# define LCL_EXEC
|
||||||
|
Loading…
Reference in New Issue
Block a user