From 198b7b412d733c02468d35ca8d6120e662d5a4bc Mon Sep 17 00:00:00 2001 From: Jaydeep Patel Date: Tue, 5 Sep 2023 17:32:28 +0000 Subject: [PATCH] SWDEV-417317 - Bypass agent init for HIP. Change-Id: I3396cf7c1feced03d29f5e5ff3c77474f4f7e1ec --- rocclr/platform/runtime.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rocclr/platform/runtime.cpp b/rocclr/platform/runtime.cpp index 7b475293a0..7f80919c46 100644 --- a/rocclr/platform/runtime.cpp +++ b/rocclr/platform/runtime.cpp @@ -74,7 +74,7 @@ bool Runtime::init() { if (!Flag::init() || !option::init() || !Device::init() // Agent initializes last - || !Agent::init()) { + || (!amd::IS_HIP && !Agent::init())) { ClPrint(LOG_ERROR, LOG_INIT, "Runtime initialization failed"); return false; }