From 0cd93d6d7d3061900463f7d02fa5789f385e77f3 Mon Sep 17 00:00:00 2001 From: "Mrozek, Michal" Date: Thu, 5 Sep 2019 07:38:02 +0200 Subject: [PATCH] Disable 64 bit integer atomics on icllp. Change-Id: If24c40414d10a2bb9ec6e0d5fa3296a873a0a062 Signed-off-by: Mrozek, Michal --- runtime/gen11/hw_info_icllp.inl | 2 +- unit_tests/gen11/icllp/test_device_caps_icllp.cpp | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/runtime/gen11/hw_info_icllp.inl b/runtime/gen11/hw_info_icllp.inl index 341ab04bdd..4955b45822 100644 --- a/runtime/gen11/hw_info_icllp.inl +++ b/runtime/gen11/hw_info_icllp.inl @@ -50,7 +50,7 @@ const RuntimeCapabilityTable ICLLP::capabilityTable{ 1, // extraQuantityThreadsPerEU 64, // slmSize false, // blitterOperationsSupported - true, // ftrSupportsInteger64BitAtomics + false, // ftrSupportsInteger64BitAtomics false, // ftrSupportsFP64 false, // ftrSupports64BitMath true, // ftrSvm diff --git a/unit_tests/gen11/icllp/test_device_caps_icllp.cpp b/unit_tests/gen11/icllp/test_device_caps_icllp.cpp index 3c92cee819..d2e772d04e 100644 --- a/unit_tests/gen11/icllp/test_device_caps_icllp.cpp +++ b/unit_tests/gen11/icllp/test_device_caps_icllp.cpp @@ -15,3 +15,7 @@ using IcllpTest = Test; ICLLPTEST_F(IcllpTest, givenIcllpWhenSlmSizeIsRequiredThenReturnCorrectValue) { EXPECT_EQ(64u, pDevice->getHardwareInfo().capabilityTable.slmSize); } + +ICLLPTEST_F(IcllpTest, givenIclLpWhenCheckFtrSupportsInteger64BitAtomicsThenReturnFalse) { + EXPECT_FALSE(pDevice->getHardwareInfo().capabilityTable.ftrSupportsInteger64BitAtomics); +}