diff options
Diffstat (limited to 'meta-oe/recipes-support/opencv/opencv/0001-Revert-cuda-fix-fp16-compilation.patch')
-rw-r--r-- | meta-oe/recipes-support/opencv/opencv/0001-Revert-cuda-fix-fp16-compilation.patch | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/meta-oe/recipes-support/opencv/opencv/0001-Revert-cuda-fix-fp16-compilation.patch b/meta-oe/recipes-support/opencv/opencv/0001-Revert-cuda-fix-fp16-compilation.patch deleted file mode 100644 index 507d7968a..000000000 --- a/meta-oe/recipes-support/opencv/opencv/0001-Revert-cuda-fix-fp16-compilation.patch +++ /dev/null | |||
@@ -1,27 +0,0 @@ | |||
1 | From 69f9707678190f6a0948a547dce948251f972676 Mon Sep 17 00:00:00 2001 | ||
2 | From: Randy MacLeod <Randy.MacLeod@windriver.com> | ||
3 | Date: Wed, 26 Apr 2017 14:57:30 -0400 | ||
4 | Subject: [PATCH 1/2] Revert "cuda: fix fp16 compilation" | ||
5 | |||
6 | This reverts commit 12e00827be40576b686ea4438a6e6ef85208743d. | ||
7 | --- | ||
8 | modules/core/include/opencv2/core/cvdef.h | 3 +-- | ||
9 | 1 file changed, 1 insertion(+), 2 deletions(-) | ||
10 | |||
11 | diff --git a/modules/core/include/opencv2/core/cvdef.h b/modules/core/include/opencv2/core/cvdef.h | ||
12 | index 699b166..efc24ca 100644 | ||
13 | --- a/modules/core/include/opencv2/core/cvdef.h | ||
14 | +++ b/modules/core/include/opencv2/core/cvdef.h | ||
15 | @@ -303,8 +303,7 @@ enum CpuFeatures { | ||
16 | #define CV_2PI 6.283185307179586476925286766559 | ||
17 | #define CV_LOG2 0.69314718055994530941723212145818 | ||
18 | |||
19 | -#if defined __ARM_FP16_FORMAT_IEEE \ | ||
20 | - && !defined __CUDACC__ | ||
21 | +#if defined (__ARM_FP16_FORMAT_IEEE) | ||
22 | # define CV_FP16_TYPE 1 | ||
23 | #else | ||
24 | # define CV_FP16_TYPE 0 | ||
25 | -- | ||
26 | 2.9.3 | ||
27 | |||