SWDEV-470698 - fix formatting, add format check workflow (#657)
Bu işleme şunda yer alıyor:
1 ebeveyn
5840940caa
işleme
f7338717ae
1574 files changed
+162903
-199277
No files matched your search
@@ -124,7 +124,7 @@ void setCurrentDevice(unsigned int index) {
|
||||
}
|
||||
|
||||
hip::Stream* getStream(hipStream_t stream, bool wait) {
|
||||
if (stream == nullptr || stream == hipStreamLegacy) {
|
||||
if (stream == nullptr || stream == hipStreamLegacy) {
|
||||
return getNullStream(wait);
|
||||
} else {
|
||||
hip::Stream* hip_stream = reinterpret_cast<hip::Stream*>(stream);
|
||||
@@ -163,7 +163,7 @@ int getDeviceID(amd::Context& ctx) {
|
||||
}
|
||||
|
||||
// ================================================================================================
|
||||
hip::Stream* getNullStream(bool wait ) {
|
||||
hip::Stream* getNullStream(bool wait) {
|
||||
Device* device = getCurrentDevice();
|
||||
if (device == nullptr) {
|
||||
LogError("Invalid device");
|
||||
|
||||
Reference in new issue
Bir kullanıcı engelle