SWDEV-301667 - Improve logging
Change-Id: I3fa06791b7ac73d84b8a9586e6b3435fa8858d25
Tá an tiomantas seo le fáil i:
1 tuismitheoir
12a39fbf22
tiomantas
8c84a20b01
4 comhad athraithe
+25
-21
Níor tháinig aon chomhaid le do chuardach
@@ -132,6 +132,9 @@ int getDeviceID(amd::Context& ctx) {
|
||||
// ================================================================================================
|
||||
hip::Stream* getNullStream(bool wait ) {
|
||||
Device* device = getCurrentDevice();
|
||||
if (device == nullptr) {
|
||||
LogError("Invalid device");
|
||||
}
|
||||
return device ? device->NullStream(wait) : nullptr;
|
||||
}
|
||||
|
||||
|
||||
Tagairt in Eagrán Nua
Cuir bac ar úsáideoir