void HoldersTest::SetUp() {
std::tie(targetDevice, order) = this->GetParam();
deathTestStyle = ::testing::GTEST_FLAG(death_test_style);
- if ((deathTestStyle == "fast" && targetDevice == CommonTestUtils::DEVICE_MYRIAD) ||
- targetDevice == CommonTestUtils::DEVICE_GPU) {
- // Default death test mode "fast" must be used in single-threaded context only.
- // "MyriadBehaviorTests" links "XLink" library that statically initializes "libusb".
- // Which in turn creates a thread.
+ if (deathTestStyle == "fast") {
::testing::GTEST_FLAG(death_test_style) = "threadsafe";
}
function = ngraph::builder::subgraph::makeConvPoolRelu();