From fa169b129b51dbabe5a8e499992936be239e8f62 Mon Sep 17 00:00:00 2001 From: Vladislav Sytchenko Date: Fri, 19 Feb 2021 11:31:52 -0500 Subject: [PATCH] SWDEV-255979 - Fix Windows build Change-Id: I1f1375911d90ded9043a4716e7d09a3ca6a33c23 --- rocclr/hip_platform.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rocclr/hip_platform.cpp b/rocclr/hip_platform.cpp index 04eb1f18e7..e11985f3a7 100755 --- a/rocclr/hip_platform.cpp +++ b/rocclr/hip_platform.cpp @@ -159,7 +159,7 @@ extern "C" void __hipRegisterManagedVar(void *hipModule, // Pointer to hip mod ClPrint(amd::LOG_ERROR, amd::LOG_API, "Host Queue is NULL"); } } else { - guarantee("Error during allocation of managed memory!"); + guarantee(false, "Error during allocation of managed memory!"); } hip::Var* var_ptr = new hip::Var(std::string(name), hip::Var::DeviceVarKind::DVK_Managed, pointer, size, align, reinterpret_cast(hipModule));