Oclgrind does not seem to support LLVM 16 yet. The first showstopper is that clang has changed the name of the include directory that contains opencl-c.h. From the release notes:
Clang’s resource directory path previously included the full clang version. It now includes only the major version. The new resource directory is $prefix/lib/clang/$CLANG_MAJOR_VERSION and can be queried using clang -print-resource-dir, just like before.
Oclgrind does not seem to support LLVM 16 yet. The first showstopper is that clang has changed the name of the include directory that contains
opencl-c.h. From the release notes: