Skip to content
This repository was archived by the owner on Mar 21, 2024. It is now read-only.

Commit 89f0390

Browse files
authored
Fix missing kernel for ARM builds. (#1876)
1 parent 6f64b4a commit 89f0390

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testing/cuda/reduce.cu

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
#include <thrust/iterator/constant_iterator.h>
55

66

7-
#ifdef THRUST_TEST_DEVICE_SIDE
87
template<typename ExecutionPolicy, typename Iterator, typename T, typename Iterator2>
98
__global__
109
void reduce_kernel(ExecutionPolicy exec, Iterator first, Iterator last, T init, Iterator2 result)
@@ -13,6 +12,7 @@ void reduce_kernel(ExecutionPolicy exec, Iterator first, Iterator last, T init,
1312
}
1413

1514

15+
#ifdef THRUST_TEST_DEVICE_SIDE
1616
template<typename T, typename ExecutionPolicy>
1717
void TestReduceDevice(ExecutionPolicy exec, const size_t n)
1818
{

0 commit comments

Comments
 (0)