Skip to content

Commit 9425783

Browse files
DianaChenigcbot
authored andcommitted
vISA: Fixed SWSB encoding mode for ARL
ARL uses ThreeDistPipeDPMath encoding mode with DP instructions go into math pipe.
1 parent c0767b0 commit 9425783

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

visa/BinaryEncodingIGA.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,8 @@ BinaryEncodingIGA::BinaryEncodingIGA(vISA::G4_Kernel &k, const std::string& fnam
392392

393393
SWSB_ENCODE_MODE BinaryEncodingIGA::getIGASWSBEncodeMode() const {
394394

395-
if (platform == TARGET_PLATFORM::Xe_MTL)
395+
if (platform == TARGET_PLATFORM::Xe_MTL ||
396+
platform == TARGET_PLATFORM::Xe_ARL)
396397
return SWSB_ENCODE_MODE::ThreeDistPipeDPMath;
397398

398399
return platformModel->getSWSBEncodeMode();

0 commit comments

Comments
 (0)