[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: rocm-opencl-icd



Hi Kari,

Maybe this will be helpful. I remember this error message from [1] [2]. It was fixed with [3].

[1] https://projects.blender.org/blender/blender/issues/102018
[2] https://github.com/ROCm/ROCm-CompilerSupport/issues/52
[3] https://github.com/ROCm/ROCm-CompilerSupport/commit/2d05f9e480cbc591a6b888dfd49d9f7ef1bef25f

Best regards,
Jakub Jaszewski

On 01-07-2024 16:37, Kari Pahula wrote:
On Wed, Jun 26, 2024 at 11:11:30PM +0200, Cordell Bloor wrote:
Thanks for migrating hipify and rocdbgapi.
Add rocfft and hipfft to the pile.  hipfft has a new package for the
tests and needs to go through NEW.

I just recalled that the ROCm OpenCL functionality would be very
easy to enable. The library and utilities successfully build when
the rocm-hipamd switch is enabled [1]. We just need to define binary
packages for the resulting artifacts.
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

Meaning that LLVM gets called twice, or something.  I'll try to figure
this one out.

[1]: https://salsa.debian.org/rocm-team/rocm-hipamd/-/blob/debian/5.7.1-3/debian/rules?ref_type=tags#L33


Reply to: