SWDEV-301667 - Improve logging
Change-Id: I3fa06791b7ac73d84b8a9586e6b3435fa8858d25
Этот коммит содержится в:
1 родитель
12a39fbf22
Коммит
8c84a20b01
4 files changed
+25
-21
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user