File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
libcudacxx/include/cuda/__cmath Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments