@@ -785,7 +785,7 @@ HWTEST_F(DeviceTest, whenPassingSchedulingHintExpStructToGetPropertiesThenProper
785785
786786 EXPECT_NE (ZE_SCHEDULING_HINT_EXP_FLAG_FORCE_UINT32, schedulingHintProperties.schedulingHintFlags );
787787 auto supportedThreadArbitrationPolicies = NEO::PreambleHelper<FamilyType>::getSupportedThreadArbitrationPolicies ();
788- for (uint32_t &p : supportedThreadArbitrationPolicies) {
788+ for (auto &p : supportedThreadArbitrationPolicies) {
789789 switch (p) {
790790 case ThreadArbitrationPolicy::AgeBased:
791791 EXPECT_NE (0u , (schedulingHintProperties.schedulingHintFlags &
@@ -807,10 +807,10 @@ HWTEST_F(DeviceTest, whenPassingSchedulingHintExpStructToGetPropertiesThenProper
807807
808808HWTEST2_F (DeviceTest, givenAllThreadArbitrationPoliciesWhenPassingSchedulingHintExpStructToGetPropertiesThenPropertiesWithAllFlagsAreReturned, MatchAny) {
809809 struct MockHwInfoConfig : NEO::HwInfoConfigHw<productFamily> {
810- std::vector<uint32_t > getKernelSupportedThreadArbitrationPolicies () override {
810+ std::vector<int32_t > getKernelSupportedThreadArbitrationPolicies () override {
811811 return threadArbPolicies;
812812 }
813- std::vector<uint32_t > threadArbPolicies;
813+ std::vector<int32_t > threadArbPolicies;
814814 };
815815
816816 const uint32_t rootDeviceIndex = 0u ;
@@ -847,10 +847,10 @@ HWTEST2_F(DeviceTest, givenAllThreadArbitrationPoliciesWhenPassingSchedulingHint
847847
848848HWTEST2_F (DeviceTest, givenIncorrectThreadArbitrationPolicyWhenPassingSchedulingHintExpStructToGetPropertiesThenNoneIsReturned, MatchAny) {
849849 struct MockHwInfoConfig : NEO::HwInfoConfigHw<productFamily> {
850- std::vector<uint32_t > getKernelSupportedThreadArbitrationPolicies () override {
850+ std::vector<int32_t > getKernelSupportedThreadArbitrationPolicies () override {
851851 return threadArbPolicies;
852852 }
853- std::vector<uint32_t > threadArbPolicies;
853+ std::vector<int32_t > threadArbPolicies;
854854 };
855855
856856 const uint32_t rootDeviceIndex = 0u ;
0 commit comments