SWDEV-252542 - Fixing Win Compilation on SWDEV-241902.
Change-Id: I0ef196231acd8e778018bade684a10ec977261a5
[ROCm/clr commit: fdb4d45a3f]
Этот коммит содержится в:
коммит произвёл
Karthik Jayaprakash
родитель
60cdaf20b0
Коммит
ea1b3eb062
@@ -12,7 +12,7 @@ FatBinaryDeviceInfo::~FatBinaryDeviceInfo() {
|
||||
}
|
||||
|
||||
FatBinaryInfo::FatBinaryInfo(const char* fname, const void* image)
|
||||
: fdesc_(-1), fsize_(0), image_(image), uri_(std::string()) {
|
||||
: fdesc_(amd::Os::FDescInit()), fsize_(0), image_(image), uri_(std::string()) {
|
||||
guarantee(fname || image);
|
||||
|
||||
if (fname != nullptr) {
|
||||
@@ -41,7 +41,7 @@ FatBinaryInfo::~FatBinaryInfo() {
|
||||
}
|
||||
|
||||
fname_ = std::string();
|
||||
fdesc_ = -1;
|
||||
fdesc_ = amd::Os::FDescInit();
|
||||
fsize_ = 0;
|
||||
image_ = nullptr;
|
||||
uri_ = std::string();
|
||||
|
||||
Ссылка в новой задаче
Block a user