SWDEV-245381: Updated guarantee error messages to print based on BUILD_TYPE
Change-Id: Ifafbc075d6b9860da040c72859127c4e638a786f
[ROCm/hip commit: 387d0aa829]
This commit is contained in:
committed by
Anusha Godavarthy Surya
parent
c82aa3f29b
commit
add7f87881
@@ -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