Skip to content

Commit 5b818f3

Browse files
committed
add missing inline
1 parent 25d098b commit 5b818f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libcudacxx/include/cuda/__cmath/sincos.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ struct _CCCL_TYPE_VISIBILITY_DEFAULT sincos_result
6565
//! @return The \c cuda::sincos_result with the results of sin and cos operations.
6666
_CCCL_TEMPLATE(class _Tp)
6767
_CCCL_REQUIRES(::cuda::std::__is_fp_v<_Tp>)
68-
[[nodiscard]] _CCCL_API sincos_result<_Tp> sincos(_Tp __v) noexcept
68+
[[nodiscard]] _CCCL_API inline sincos_result<_Tp> sincos(_Tp __v) noexcept
6969
{
7070
sincos_result<_Tp> __ret{};
7171
#if defined(_CCCL_BUILTIN_SINCOSF)
@@ -116,7 +116,7 @@ _CCCL_REQUIRES(::cuda::std::__is_fp_v<_Tp>)
116116
//! @return The \c cuda::sincos_result with the results of sin and cos operations.
117117
_CCCL_TEMPLATE(class _Tp)
118118
_CCCL_REQUIRES(::cuda::std::is_integral_v<_Tp>)
119-
[[nodiscard]] _CCCL_API sincos_result<double> sincos(_Tp __v) noexcept
119+
[[nodiscard]] _CCCL_API inline sincos_result<double> sincos(_Tp __v) noexcept
120120
{
121121
return ::cuda::sincos(static_cast<double>(__v));
122122
}

0 commit comments

Comments
 (0)