SWDEV-255979 - Fix Windows build

Change-Id: I1f1375911d90ded9043a4716e7d09a3ca6a33c23


[ROCm/hip commit: fa169b129b]
Цей коміт міститься в:
Vladislav Sytchenko
2021-02-19 11:31:52 -05:00
джерело 85ead22dca
коміт a90d0a40f6
+1 -1
Переглянути файл
@@ -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));