commit | 26ffef5199abcec625651562eb319e983037297d | [log] [tgz] |
---|---|---|
author | Manish7093 <86975538+Manish7093@users.noreply.github.com> | Mon Dec 26 11:01:51 2022 +0530 |
committer | GitHub <noreply@github.com> | Mon Dec 26 11:01:51 2022 +0530 |
tree | a16d630614c8cb6c22077a9765648a979266f728 | |
parent | c2dbdedeb71de19c70435d507f71b83540afbf13 [diff] |
Initialize FileDescriptor
diff --git a/Source/GmmLib/ULT/GmmCommonULT.cpp b/Source/GmmLib/ULT/GmmCommonULT.cpp index 1f9d6ab..dd21d77 100644 --- a/Source/GmmLib/ULT/GmmCommonULT.cpp +++ b/Source/GmmLib/ULT/GmmCommonULT.cpp
@@ -78,6 +78,8 @@ InArgs.Platform = GfxPlatform; #ifdef _WIN32 InArgs.stAdapterBDF = {0, 2, 0, 0}; +#else + InArgs.FileDescriptor = 512; // Initializing BDF to {0,2,0,0} which corresponds to decimal 512 for AdapterBDF.Data #endif hGmmLib = dlopen(GMM_UMD_DLL, RTLD_LAZY);