Skip to content

Commit f9b4916

Browse files
jgu222igcbot
authored andcommitted
[NFC] add -gmd_render into igcstandalone cmd dump
From MTL, GTIP (gmd release and gmd rev id) is used to select WA table. Adding -gmd_render to provide this info to igcstandalone for OCL.
1 parent 33971ae commit f9b4916

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

IGC/AdaptorOCL/dllInterfaceCompute.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1230,6 +1230,8 @@ bool TranslateBuildSPMD(
12301230
<< " -device 0x" << IGCPlatform.GetProductFamily()
12311231
<< ".0x" << IGCPlatform.GetDeviceId()
12321232
<< ".0x" << IGCPlatform.GetRevId()
1233+
<< " -gmd_render 0x" << GFX_GET_GMD_RELEASE_VERSION_RENDER(IGCPlatform.getPlatformInfo())
1234+
<< ".0x" << GFX_GET_GMD_REV_ID_RENDER(IGCPlatform.getPlatformInfo())
12331235
<< std::dec
12341236
<< " -inputcs " << getBaseFilename(inputf);
12351237
if (isbc)

0 commit comments

Comments
 (0)