Re: rocm-opencl-icd
On Mon, Jul 01, 2024 at 05:37:22PM +0300, Kari Pahula wrote:
> I'm having a look, though unfortunately it wasn't quite as simple as
> that. Just enabling the build flag and populating the rocm-opencl-icd
> package makes clinfo fail with
>
> : CommandLine Error: Option 'sanitizer-early-opt-ep' registered more than once!
> LLVM ERROR: inconsistency in registered CommandLine options
> Aborted
Apparently this happens if both mesa-opencl-icd and rocm-opencl-icd
are installed at the same time. The same with pocl-opencl-icd and
rocm-opencl-icd. I tested too that mesa-opencl-icd and
pocl-opencl-icd are fine together.
Unless anyone objects I'll make an upload with a Conflicts:
mesa-opencl-icd, pocl-opencl-icd. It's not ideal of course but I have
a feeling that trying to find a proper fix would take quite a bit
effort.
I also tried this with an OpenCL hello world program and not just
clinfo.
Reply to: