SWDEV-378006 - Adding a new guarantee macro to support printing args.
Change-Id: I2083ddaf8058759bdace7d3bb1e8e3670cbeddd2
[ROCm/clr commit: 7f41a96ffb]
Este cometimento está contido em:
cometido por
Karthik Jayaprakash
ascendente
23af1d59d3
cometimento
69406243e2
@@ -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:
|
||||
|
||||
Criar uma nova questão referindo esta
Bloquear um utilizador