Created
October 21, 2015 04:40
-
-
Save invisiblearts/63849b8c69aeae32d54b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--------------------------------- | |
*** Error in OpenCL compiler *** | |
--------------------------------- | |
# Build Options | |
-cl-single-precision-constant -cl-denorms-are-zero -cl-fast-relaxed-math -Werror -D H_BLOCK_X=32 -D H_BLOCK_Y=4 -D V_BLOCK_X=32 -D V_BLOCK_Y=4 -D NLMK_TCLIP=73 -D NLMK_S=4 -D NLMK_WMODE=1 -D NLMK_D=1 -D NLMK_H2_INV_NORM=185.828175 -D NLMK_BIT_SHIFT=0 | |
# Build Log | |
<program source>:101:47: error: double precision constant requires cl_khr_fp64, casting to single precision | |
const float val = native_recip(1.0f + sum * NLMK_H2_INV_NORM); | |
^ | |
<built-in>:5:26: note: expanded from macro 'NLMK_H2_INV_NORM' | |
#define NLMK_H2_INV_NORM 185.828175 | |
^ | |
<program source>:104:40: error: double precision constant requires cl_khr_fp64, casting to single precision | |
const float val = native_exp(- sum * NLMK_H2_INV_NORM); | |
^ | |
<built-in>:5:26: note: expanded from macro 'NLMK_H2_INV_NORM' | |
#define NLMK_H2_INV_NORM 185.828175 | |
^ | |
<program source>:107:43: error: double precision constant requires cl_khr_fp64, casting to single precision | |
const float val = pown(fdim(1.0f, sum * NLMK_H2_INV_NORM), 2); | |
^ | |
<built-in>:5:26: note: expanded from macro 'NLMK_H2_INV_NORM' | |
#define NLMK_H2_INV_NORM 185.828175 | |
^ | |
/System/Library/Frameworks/OpenCL.framework/Versions/A/lib/clang/3.2/include/cl_kernel.h:4530:43: note: expanded from macro 'fdim' | |
#define fdim(__x, __y) __cl_fdim(__x, __y) | |
^ | |
/System/Library/Frameworks/OpenCL.framework/Versions/A/lib/clang/3.2/include/cl_kernel.h:4668:38: note: expanded from macro 'pown' | |
#define pown(__x, __y) __cl_pown(__x, __y) | |
^ | |
<program source>:302:47: error: double precision constant requires cl_khr_fp64, casting to single precision | |
const float val = native_recip(1.0f + sum * NLMK_H2_INV_NORM); | |
^ | |
<built-in>:5:26: note: expanded from macro 'NLMK_H2_INV_NORM' | |
#define NLMK_H2_INV_NORM 185.828175 | |
^ | |
<program source>:305:40: error: double precision constant requires cl_khr_fp64, casting to single precision | |
const float val = native_exp(- sum * NLMK_H2_INV_NORM); | |
^ | |
<built-in>:5:26: note: expanded from macro 'NLMK_H2_INV_NORM' | |
#define NLMK_H2_INV_NORM 185.828175 | |
^ | |
<program source>:308:43: error: double precision constant requires cl_khr_fp64, casting to single precision | |
const float val = pown(fdim(1.0f, sum * NLMK_H2_INV_NORM), 2); | |
^ | |
<built-in>:5:26: note: expanded from macro 'NLMK_H2_INV_NORM' | |
#define NLMK_H2_INV_NORM 185.828175 | |
^ | |
/System/Library/Frameworks/OpenCL.framework/Versions/A/lib/clang/3.2/include/cl_kernel.h:4530:43: note: expanded from macro 'fdim' | |
#define fdim(__x, __y) __cl_fdim(__x, __y) | |
^ | |
/System/Library/Frameworks/OpenCL.framework/Versions/A/lib/clang/3.2/include/cl_kernel.h:4668:38: note: expanded from macro 'pown' | |
#define pown(__x, __y) __cl_pown(__x, __y) | |
^ | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment