SWDEV-255979 - Fix Windows build

Change-Id: I1f1375911d90ded9043a4716e7d09a3ca6a33c23
This commit is contained in:
Vladislav Sytchenko
2021-02-19 11:31:52 -05:00
parent 760aaf86e7
commit fa169b129b
+1 -1
View File
@@ -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<hip::FatBinaryInfo**>(hipModule));