mirror of
https://github.com/zebrajr/opencv.git
synced 2025-12-06 12:19:50 +01:00
Merge pull request #7377 from alalek:fix_cuda_fp16
This commit is contained in:
commit
16b4ccb846
|
|
@ -307,7 +307,8 @@ enum CpuFeatures {
|
|||
#define CV_2PI 6.283185307179586476925286766559
|
||||
#define CV_LOG2 0.69314718055994530941723212145818
|
||||
|
||||
#if defined (__ARM_FP16_FORMAT_IEEE)
|
||||
#if defined __ARM_FP16_FORMAT_IEEE \
|
||||
&& !defined __CUDACC__
|
||||
# define CV_FP16_TYPE 1
|
||||
#else
|
||||
# define CV_FP16_TYPE 0
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user