Skip to content

Commit

Permalink
Merge pull request #7377 from alalek:fix_cuda_fp16
Browse files Browse the repository at this point in the history
  • Loading branch information
alalek committed Oct 1, 2016
2 parents 6328076 + 12e0082 commit 16b4ccb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/core/include/opencv2/core/cvdef.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 16b4ccb

Please sign in to comment.