mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-16 17:22:55 +00:00
lcl 2020-10-28 (b7fe5404)
Code extracted from: https://gitlab.kitware.com/vtk/lcl.git at commit b7fe5404f330425e44116f3e9ead66f3a30f83a7 (master).
This commit is contained in:
parent
e7cf79a933
commit
5f0d04ad37
@ -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