Skip to content

Commit 9948d2f

Browse files
committed
ci compilation fix
1 parent d677bc5 commit 9948d2f

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

icicle_fe/include/icicle/fields/host_math.h

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
#define HOST_MATH_H
44

55
#include <cstdint>
6-
#include <cuda_runtime.h>
76
#include "utils/modifiers.h"
87
namespace host_math {
98

icicle_fe/include/icicle/utils/modifiers.h

+3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
#pragma once
44

55
#ifdef __CUDACC__
6+
#include <cuda_runtime.h>
67
#if defined(DEVMODE) || defined(DEBUG)
78
#define INLINE_MACRO
89
#define UNROLL
@@ -20,4 +21,6 @@
2021
#define HOST_INLINE
2122
#define DEVICE_INLINE
2223
#define HOST_DEVICE_INLINE
24+
#define __host__
25+
#define __device__
2326
#endif

0 commit comments

Comments
 (0)