We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 29f9bb0 commit 20e78e1Copy full SHA for 20e78e1
c/parallel/test/test_reduce.cpp
@@ -77,7 +77,7 @@ TEST_CASE("Reduce works with custom types", "[reduce]")
77
operation_t op = make_operation(
78
"op",
79
"struct pair { short a; size_t b; };\n"
80
- "extern \"C\" __device__ op(pair* lhs, pair* rhs, pair* out) {\n"
+ "extern \"C\" __device__ void op(pair* lhs, pair* rhs, pair* out) {\n"
81
" *out = pair{ lhs->a + rhs->a, lhs->b + rhs->b };\n"
82
"}");
83
const std::vector<short> a = generate<short>(num_items);
0 commit comments