[Openmp-commits] [clang] [compiler-rt] [openmp] [Clang] Do not emit `__oclc_abi_version` edge for non-OpenCL (PR #221235)

Matt Arsenault via Openmp-commits openmp-commits at lists.llvm.org
Sat Sep 5 07:30:52 PDT 2026


arsenm wrote:

> > This shouldn't be language dependent, this was never an OpenCL specific thing. And it does work?
> 
> It's language dependent because the only user is the ROCm DLs, which is OpenCL and also the ones that defines it.

It is not language dependent, it is rocm device libs dependent. The fact it's written in OpenCL doesn't factor in. All the toolchains consume those 

> Might be worthwhile to just think up something completely new and deprecate this shared global.

The correct way to have implemented this would have split the relevant functions into a separate ABI library that had a v4 and v5 build 

https://github.com/llvm/llvm-project/pull/221235


More information about the Openmp-commits mailing list