Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 515208 Details for
Bug 643846
media-libs/opencv-3.3.0-r4: error in configure stage
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Rejects from fix_nvcc.patch
saturate_cast.hpp.rej (text/x-reject), 964 bytes, created by
Samuel Bernardo
on 2018-01-18 00:48:49 UTC
(
hide
)
Description:
Rejects from fix_nvcc.patch
Filename:
MIME Type:
Creator:
Samuel Bernardo
Created:
2018-01-18 00:48:49 UTC
Size:
964 bytes
patch
obsolete
>--- modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp >+++ modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp >@@ -47,7 +47,9 @@ > #define OPENCV_CUDEV_UTIL_SATURATE_CAST_HPP > > #include "../common.hpp" >-#include "opencv2/core/private.cuda.hpp" >+#if __CUDACC_VER_MAJOR__ >= 9 >+#include <cuda_fp16.h> >+#endif > > namespace cv { namespace cudev { > >@@ -275,7 +277,7 @@ template <typename T, typename D> __device__ __forceinline__ D cast_fp16(T v); > > template <> __device__ __forceinline__ float cast_fp16<short, float>(short v) > { >-#if __CUDACC_VER_MAJOR__ >= 9 >+#if __CUDACC_VER_MAJOR__ >= 9 > return float(*(__half*)&v); > #else > return __half2float(v); >@@ -284,7 +286,7 @@ template <> __device__ __forceinline__ float cast_fp16<short, float>(short v) > > template <> __device__ __forceinline__ short cast_fp16<float, short>(float v) > { >-#if __CUDACC_VER_MAJOR__ >= 9 >+#if __CUDACC_VER_MAJOR__ >= 9 > __half h(v); > return *(short*)&v; > #else
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 643846
:
513734
|
513736
|
514866
|
514868
| 515208