arsenm wrote: > Do you mean moving the file to libclc/opencl/lib/generic folder? I didn't see there is generic file defining these 3 functions opencl/lib/generic/mem_fence/fence.cl https://github.com/llvm/llvm-project/pull/185207