We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d677bc5 commit 9948d2fCopy full SHA for 9948d2f
icicle_fe/include/icicle/fields/host_math.h
@@ -3,7 +3,6 @@
3
#define HOST_MATH_H
4
5
#include <cstdint>
6
-#include <cuda_runtime.h>
7
#include "utils/modifiers.h"
8
namespace host_math {
9
icicle_fe/include/icicle/utils/modifiers.h
@@ -3,6 +3,7 @@
#pragma once
#ifdef __CUDACC__
+#include <cuda_runtime.h>
#if defined(DEVMODE) || defined(DEBUG)
#define INLINE_MACRO
#define UNROLL
@@ -20,4 +21,6 @@
20
21
#define HOST_INLINE
22
#define DEVICE_INLINE
23
#define HOST_DEVICE_INLINE
24
+#define __host__
25
+#define __device__
26
#endif
0 commit comments