Skip to content

Commit

Permalink
Add missing host/acc macro to decayCopy
Browse files Browse the repository at this point in the history
  • Loading branch information
bernhardmgruber committed Jan 16, 2024
1 parent cba2148 commit 6338563
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/llama/RecordRef.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<typename T>
auto decayCopy(T&& valueOrRef) -> typename internal::ValueOf<T>::type
LLAMA_FN_HOST_ACC_INLINE auto decayCopy(T&& valueOrRef) -> typename internal::ValueOf<T>::type
{
return std::forward<T>(valueOrRef);
}
Expand Down

0 comments on commit 6338563

Please sign in to comment.