On Wed, Apr 06, 2022 at 11:20:47AM +0200, Thomas Schwinge wrote: > However, the libgomp GCN plugin is unconditionally built against the > GCC-shipped 'include/hsa*.h' header files, and at run time does > 'dlopen("libhsa-runtime64.so.1")', so there is no system-provided HSA Runtime > library "used for builing". It thus doesn't make sense to amend > 'LD_LIBRARY_PATH' for system-provided HSA Runtime library.
But perhaps having some other hsa_runtime_lib path in LD_LIBRARY_PATH allows that dlopen to succeed if libhsa-runtime64.so.1 isn't installed in the standard searched directories? Jakub