<div dir="ltr">Hello everyone,<div><br></div><div>I am trying to use clang for a group of OpenCL codes to transform all of them into bytecode. I am using the following command:</div><div><br></div><div>clang -x cl -cl-std=CL2.0 -emit-llvm -target spir64 -Xclang -finclude-default-header -cl-single-precision-constant INPUT.cl -o INPUT.bc<br></div><div><br></div><div>I have tried to use the flag "-cl-ext=+
cl_khr_fp64
" instead of the flag "-cl-std
=CL2.0
" to add the OpenCL extension cl_khr_fp64, but it does not work.</div><div><br></div><div>Any suggestion about the problem?<br><br></div><div>Thanks in advance.</div></div>