================
@@ -181,8 +285,16 @@ bool Offload::Init() {
--Refs;
return false;
}
- VReport(1, "%s: device reporting on %zu GPU(s)\n", SanitizerToolName,
- DeviceList.size());
+ CheckHsa(Api.hsa_system_get_info(HSA_AMD_SYSTEM_INFO_EXT_VERSION_MINOR,
+ &AmdExtMinor));
+ VReport(1, "%s: device reporting on %zu GPU(s), AMD extension 1.%u%s\n",
+ SanitizerToolName, DeviceList.size(), AmdExtMinor,
+ CanLoadAtAddress() ? ", code objects can be placed" : "");
+ if (!CreateCommands()) {
----------------
jhuber6 wrote:
It's supposed to be an optional dependency, maybe I forgot to configure that
properly, but figured keeping the check common is fine.
https://github.com/llvm/llvm-project/pull/242445
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits