================================================================================================
| 298 | |
| 299 | // ================================================================================================ |
| 300 | bool Device::StreamCaptureBlocking() { |
| 301 | std::shared_lock lock(streamSetLock); |
| 302 | for (auto& it : streamSet) { |
| 303 | if (it->GetCaptureStatus() == hipStreamCaptureStatusActive && |
| 304 | it->Flags() != hipStreamNonBlocking) { |
| 305 | return true; |
| 306 | } |
| 307 | } |
| 308 | return false; |
| 309 | } |
| 310 | |
| 311 | // ================================================================================================ |
| 312 | bool Device::existsActiveStreamForDevice() { |
no test coverage detected