SWDEV-245381: Updated guarantee error messages to print based on BUILD_TYPE
Change-Id: Ifafbc075d6b9860da040c72859127c4e638a786f
This commit is contained in:
committed by
Anusha Godavarthy Surya
parent
7822bf7e42
commit
387d0aa829
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user