Skip to content

Commit 26ffef5

Browse files
authored
Initialize FileDescriptor
1 parent c2dbded commit 26ffef5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Source/GmmLib/ULT/GmmCommonULT.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ void CommonULT::SetUpTestCase()
7878
InArgs.Platform = GfxPlatform;
7979
#ifdef _WIN32
8080
InArgs.stAdapterBDF = {0, 2, 0, 0};
81+
#else
82+
InArgs.FileDescriptor = 512; // Initializing BDF to {0,2,0,0} which corresponds to decimal 512 for AdapterBDF.Data
8183
#endif
8284

8385
hGmmLib = dlopen(GMM_UMD_DLL, RTLD_LAZY);

0 commit comments

Comments
 (0)