mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-30 09:58:55 +08:00
Multiply wait timeout by task count difference
- Linux specific - Use only for non-quickSleep requests Change-Id: I245546f83672d128377e51d92b6c7708a7448f05
This commit is contained in:
committed by
sys_ocldev
parent
f4af035ab7
commit
8505658cab
@@ -56,8 +56,8 @@
|
||||
|
||||
using namespace OCLRT;
|
||||
|
||||
using ::testing::Invoke;
|
||||
using ::testing::_;
|
||||
using ::testing::Invoke;
|
||||
|
||||
struct UltCommandStreamReceiverTest
|
||||
: public DeviceFixture,
|
||||
@@ -1500,6 +1500,12 @@ HWTEST_F(CommandStreamReceiverFlushTaskTests, givenDefaultCommandStreamReceiverT
|
||||
EXPECT_EQ(PreambleHelper<FamilyType>::getDefaultThreadArbitrationPolicy(), commandStreamReceiver.peekThreadArbitrationPolicy());
|
||||
}
|
||||
|
||||
HWTEST_F(CommandStreamReceiverFlushTaskTests, givenDefaultCommandStreamReceiverWhenAskedForTimeoutMultiplierThenAlwaysReturnOne) {
|
||||
UltCommandStreamReceiver<FamilyType> commandStreamReceiver(*platformDevices[0]);
|
||||
EXPECT_EQ(1u, commandStreamReceiver.computeTimeoutMultiplier(false, 5));
|
||||
EXPECT_EQ(1u, commandStreamReceiver.computeTimeoutMultiplier(true, 5));
|
||||
}
|
||||
|
||||
HWTEST_F(CommandStreamReceiverFlushTaskTests, GivenKernelWithSlmWhenPreviousSLML3WasSentThenDontProgramL3) {
|
||||
typedef typename FamilyType::MI_LOAD_REGISTER_IMM MI_LOAD_REGISTER_IMM;
|
||||
size_t GWS = 1;
|
||||
|
||||
Reference in New Issue
Block a user