SWDEV-245381: Updated guarantee error messages to print based on BUILD_TYPE

Change-Id: Ifafbc075d6b9860da040c72859127c4e638a786f
This commit is contained in:
agodavar
2021-01-05 05:08:50 -05:00
committed by Anusha Godavarthy Surya
parent 7822bf7e42
commit 387d0aa829
6 changed files with 24 additions and 25 deletions
+1 -1
View File
@@ -95,7 +95,7 @@ public:
// Device ID Check to check if module is launched in the same device it was loaded.
inline void CheckDeviceIdMatch() {
if (device_id_ != ihipGetDevice()) {
guarantee(false && "Device mismatch from where this module is loaded");
guarantee(false, "Device mismatch from where this module is loaded");
}
}