Skip to content

Commit

Permalink
Add missing decorators
Browse files Browse the repository at this point in the history
  • Loading branch information
aprokop committed May 7, 2024
1 parent aac5b78 commit c5b1890
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions core/unit_test/TestRealloc.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ void testRealloc() {
{
struct NoDefaultConstructor {
int value;
KOKKOS_FUNCTION
NoDefaultConstructor(int x) : value(x) {}
};
using view_type = Kokkos::View<NoDefaultConstructor*, DeviceType>;
Expand Down
1 change: 1 addition & 0 deletions core/unit_test/TestResize.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,7 @@ void testResize() {
{
struct NoDefaultConstructor {
int value;
KOKKOS_FUNCTION
NoDefaultConstructor(int x) : value(x) {}
};
using view_type = Kokkos::View<NoDefaultConstructor*, DeviceType>;
Expand Down

0 comments on commit c5b1890

Please sign in to comment.