private:
static Register<BitMap> reg;
- typedef struct {
+ typedef struct BmpHeaderType {
unsigned short type = 0u; /* Magic identifier */
unsigned int size = 0u; /* File size in bytes */
unsigned int reserved = 0u;
unsigned int offset = 0u; /* Offset to image data, bytes */
} BmpHeader;
- typedef struct {
+ typedef struct BmpInfoHeaderType {
unsigned int size = 0u; /* Header size in bytes */
int width = 0, height = 0; /* Width and height of image */
unsigned short planes = 0u; /* Number of colour planes */
}
}
-// #-29320
-TEST_P(IEClassNetworkTestP_VPU, DISABLED_smoke_ExportUsingFileNameImportFromStreamNoThrowWithDeviceName) {
+TEST_P(IEClassNetworkTestP_VPU, smoke_ExportUsingFileNameImportFromStreamNoThrowWithDeviceName) {
SKIP_IF_CURRENT_TEST_IS_DISABLED();
Core ie;
ExecutableNetwork executableNetwork;
// On linux we should use custom path to firmware due to another searching mechanism for library
strcpy(firmwareDir, "./lib/");
#else
- firmwareDir[0] = "./";
+ strcpy(firmwareDir, "./");
#endif
}
ASSERT_NO_ERROR(ncSetDeviceConnectTimeout(0));
ASSERT_ERROR(ncDeviceOpen(&deviceHandle, deviceDesc, m_ncDeviceOpenParams));
- std::this_thread::sleep_for(3_sec);
+ std::this_thread::sleep_for(5_sec);
ASSERT_NO_ERROR(ncDeviceResetAll());
ASSERT_NO_ERROR(ncSetDeviceConnectTimeout(30));
case element::Type_t::undefined: return 0;
case element::Type_t::dynamic: return 0;
}
+
+ throw ngraph_error("compiler_byte_size: Unsupported value of element::Type_t: " +
+ std::to_string(static_cast<int>(et)));
}
namespace ngraph