From 63385639470551425f89ce894d35e2c011e99afe Mon Sep 17 00:00:00 2001 From: Bernhard Manfred Gruber Date: Tue, 16 Jan 2024 21:26:52 +0100 Subject: [PATCH] Add missing host/acc macro to decayCopy --- include/llama/RecordRef.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llama/RecordRef.hpp b/include/llama/RecordRef.hpp index 77bf346601..326f7de48e 100644 --- a/include/llama/RecordRef.hpp +++ b/include/llama/RecordRef.hpp @@ -874,7 +874,7 @@ namespace llama /// Pulls a copy of the given value or reference. Proxy references are resolved to their value types. LLAMA_EXPORT template - auto decayCopy(T&& valueOrRef) -> typename internal::ValueOf::type + LLAMA_FN_HOST_ACC_INLINE auto decayCopy(T&& valueOrRef) -> typename internal::ValueOf::type { return std::forward(valueOrRef); }