Skip to content

Commit

Permalink
Initialize FileDescriptor
Browse files Browse the repository at this point in the history
  • Loading branch information
Manish7093 authored Dec 26, 2022
1 parent c2dbded commit 26ffef5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Source/GmmLib/ULT/GmmCommonULT.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ void CommonULT::SetUpTestCase()
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);
Expand Down

0 comments on commit 26ffef5

Please sign in to comment.