Skip to content

Commit

Permalink
fix missing __device__ in refcount exception test
Browse files Browse the repository at this point in the history
  • Loading branch information
nmm0 committed Jan 24, 2024
1 parent 34bd3da commit 862b545
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/unit_test/TestViewAPI.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1349,7 +1349,7 @@ class TestViewAPI {
throw std::bad_alloc();
}

void operator()(int i) const { view(i) = i; }
KOKKOS_INLINE_FUNCTION void operator()(int i) const { view(i) = i; }

view_type view;
};
Expand Down

0 comments on commit 862b545

Please sign in to comment.