Skip to content

Commit

Permalink
No inline variable for you sir
Browse files Browse the repository at this point in the history
  • Loading branch information
miscco committed Feb 5, 2025
1 parent b941c7a commit dd0e968
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cub/cub/util_type.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -1098,7 +1098,7 @@ using is_primitive = ::cuda::std::bool_constant<is_one_of<

# ifndef _CCCL_NO_VARIABLE_TEMPLATES
template <typename T>
inline constexpr bool is_primitive_v = is_primitive<T>::value;
_CCCL_INLINE_VAR constexpr bool is_primitive_v = is_primitive<T>::value;
# endif // !_CCCL_NO_VARIABLE_TEMPLATES
} // namespace detail

Expand Down

0 comments on commit dd0e968

Please sign in to comment.