wenju-he wrote: It might be worthy to build a new variant of clspirv that disables __opencl_c_int64 for device that don't support int64. The default clspv build can enable __opencl_c_int64. https://github.com/llvm/llvm-project/pull/188056