2
0

SWDEV-378006 - Adding a new guarantee macro to support printing args.

Change-Id: I2083ddaf8058759bdace7d3bb1e8e3670cbeddd2


[ROCm/clr commit: 7f41a96ffb]
Este cometimento está contido em:
kjayapra-amd
2023-04-12 16:55:40 -04:00
cometido por Karthik Jayaprakash
ascendente 23af1d59d3
cometimento 69406243e2
5 ficheiros modificados com 32 adições e 37 eliminações
+2 -3
Ver ficheiro
@@ -104,9 +104,8 @@ public:
}
// Device ID Check to check if module is launched in the same device it was loaded.
inline void CheckDeviceIdMatch() const {
if (device_id_ != ihipGetDevice()) {
guarantee(false, "Device mismatch from where this module is loaded");
}
guarantee(device_id_ == ihipGetDevice(), "Device mismatch from where this module is loaded,"
"device_id: %d ihipGetDevice:%d \n", device_id_, ihipGetDevice());
}
private: