We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f192834 commit 9e0d6f5Copy full SHA for 9e0d6f5
src/MeshField_Scan.hpp
@@ -8,7 +8,7 @@ template <typename ExecutionSpace, typename KernelType, typename resultant>
8
void parallel_scan(ExecutionSpace, std::string tag, int64_t start_index,
9
int64_t end_index, KernelType &scanKernel,
10
resultant &result) {
11
- static_assert(std::is_pod<resultant>::value);
+ static_assert(std::is_standard_layout<resultant>::value && std::is_trivial<resultant>::value);
12
Kokkos::RangePolicy<ExecutionSpace, Kokkos::IndexType<int64_t>> p(start_index,
13
end_index);
14
Kokkos::parallel_scan(tag, p, scanKernel, result);
0 commit comments