================ @@ -19,4 +19,10 @@ #include "clc/math/gentype.inc" +#ifdef cl_khr_fp16 ---------------- wenju-he wrote: add `#pragma OPENCL EXTENSION cl_khr_fp16 : enable` since this is generic file? https://github.com/llvm/llvm-project/pull/187457