Skip to content

Commit

Permalink
ci compilation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yshekel committed May 23, 2024
1 parent d677bc5 commit 7ec703d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 0 additions & 1 deletion icicle_fe/include/icicle/fields/host_math.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
#define HOST_MATH_H

#include <cstdint>
#include <cuda_runtime.h>
#include "utils/modifiers.h"
namespace host_math {

Expand Down
3 changes: 3 additions & 0 deletions icicle_fe/include/icicle/utils/modifiers.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#pragma once

#ifdef __CUDACC__
#include <cuda_runtime.h>
#if defined(DEVMODE) || defined(DEBUG)
#define INLINE_MACRO
#define UNROLL
Expand All @@ -20,4 +21,6 @@
#define HOST_INLINE
#define DEVICE_INLINE
#define HOST_DEVICE_INLINE
#define __host__
#define __device__
#endif
3 changes: 2 additions & 1 deletion icicle_fe/tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,5 @@ target_link_libraries(test_field_api PRIVATE -Wl,--whole-archive icicle_cpu_devi
target_link_libraries(test_field_api PRIVATE -Wl,--whole-archive icicle_cuda_device icicle_cuda_field -Wl,--no-whole-archive)

enable_testing()
gtest_discover_tests(test_device_api)
gtest_discover_tests(test_device_api)
gtest_discover_tests(test_field_api)

0 comments on commit 7ec703d

Please sign in to comment.