From 862b545fd5a971e7b8a500b904507767d258a5c2 Mon Sep 17 00:00:00 2001 From: Nicolas Morales Date: Mon, 17 Jul 2023 13:05:39 -0700 Subject: [PATCH] fix missing __device__ in refcount exception test --- core/unit_test/TestViewAPI.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/unit_test/TestViewAPI.hpp b/core/unit_test/TestViewAPI.hpp index ad14e01a54a..a67cf82fac1 100644 --- a/core/unit_test/TestViewAPI.hpp +++ b/core/unit_test/TestViewAPI.hpp @@ -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; };