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); }