Home
last modified time | relevance | path

Searched refs:taskCountToWait (Results 1 – 25 of 28) sorted by relevance

12

/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/opencl/test/unit_test/helpers/
H A Dkmd_notify_tests.cpp97 uint32_t taskCountToWait = 5; member
105 cmdQ->waitUntilComplete(taskCountToWait, {}, flushStampToWait, false); in HWTEST_F()
115 cmdQ->waitUntilComplete(taskCountToWait, {}, flushStampToWait, false); in HWTEST_F()
120 *csr->getTagAddress() = taskCountToWait - 1; in HWTEST_F()
156 cmdQ->waitUntilComplete(taskCountToWait, {}, flushStampToWait, true); in HWTEST_F()
166 cmdQ->waitUntilComplete(taskCountToWait, {}, flushStampToWait, true); in HWTEST_F()
244 *csr->getTagAddress() = taskCountToWait; in HWTEST_F()
255 *csr->getTagAddress() = taskCountToWait + 5; in HWTEST_F()
299 uint32_t taskCountToWait = 10; in TEST_F() local
314 uint32_t taskCountToWait = 21; in TEST_F() local
[all …]
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/shared/source/helpers/
H A Dkmd_notify_properties.cpp19 uint32_t taskCountToWait, in obtainTimeoutParams() argument
37 …int64_t multiplier = (currentHwTag < taskCountToWait) ? static_cast<int64_t>(taskCountToWait - cur… in obtainTimeoutParams()
H A Dkmd_notify_properties.h45 uint32_t taskCountToWait,
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/opencl/test/unit_test/mem_obj/
H A Dmem_obj_destruction_tests.cpp32 …itForCompletionWithTimeout, bool(bool enableTimeout, int64_t timeoutMs, uint32_t taskCountToWait));
151 …meoutMock0 = [&mockCsr0](bool enableTimeout, int64_t timeoutMs, uint32_t taskCountToWait) -> bool { in HWTEST_P() argument
155 …meoutMock1 = [&mockCsr1](bool enableTimeout, int64_t timeoutMs, uint32_t taskCountToWait) -> bool { in HWTEST_P() argument
203 …ithTimeoutMock = [=](bool enableTimeout, int64_t timeoutMs, uint32_t taskCountToWait) -> bool { re… in HWTEST_P() argument
245 …ithTimeoutMock = [=](bool enableTimeout, int64_t timeoutMs, uint32_t taskCountToWait) -> bool { re… in HWTEST_P() argument
280 …ithTimeoutMock = [=](bool enableTimeout, int64_t timeoutMs, uint32_t taskCountToWait) -> bool { re… in HWTEST_P() argument
307 …ithTimeoutMock = [=](bool enableTimeout, int64_t timeoutMs, uint32_t taskCountToWait) -> bool { re… in HWTEST_P() argument
338 …ithTimeoutMock = [=](bool enableTimeout, int64_t timeoutMs, uint32_t taskCountToWait) -> bool { re… in HWTEST_P() argument
501 …ithTimeoutMock = [=](bool enableTimeout, int64_t timeoutMs, uint32_t taskCountToWait) -> bool { re… in HWTEST_F() argument
534 …ithTimeoutMock = [=](bool enableTimeout, int64_t timeoutMs, uint32_t taskCountToWait) -> bool { re… in HWTEST_F() argument
H A Dbuffer_bcs_tests.cpp38 … void waitForTaskCountWithKmdNotifyFallback(uint32_t taskCountToWait, FlushStamp flushStampToWait, in waitForTaskCountWithKmdNotifyFallback() argument
40 EXPECT_EQ(this->latestFlushedTaskCount, taskCountToWait); in waitForTaskCountWithKmdNotifyFallback()
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/shared/source/command_stream/
H A Dcommand_stream_receiver.cpp282 …rCompletionWithTimeout(bool enableTimeout, int64_t timeoutMicroseconds, uint32_t taskCountToWait) { in waitForCompletionWithTimeout() argument
284 if (latestSentTaskCount < taskCountToWait) { in waitForCompletionWithTimeout()
290 return baseWaitFunction(getTagAddress(), enableTimeout, timeoutMicroseconds, taskCountToWait); in waitForCompletionWithTimeout()
293 …uint32_t *pollAddress, bool enableTimeout, int64_t timeoutMicroseconds, uint32_t taskCountToWait) { in baseWaitFunction() argument
298 if (latestSentTaskCount < taskCountToWait) { in baseWaitFunction()
306 while (*partitionAddress < taskCountToWait && timeDiff <= timeoutMicroseconds) { in baseWaitFunction()
307 if (WaitUtils::waitFunction(partitionAddress, taskCountToWait)) { in baseWaitFunction()
320 return testTaskCountReady(pollAddress, taskCountToWait); in baseWaitFunction()
751 …mmandStreamReceiver::testTaskCountReady(volatile uint32_t *pollAddress, uint32_t taskCountToWait) { in testTaskCountReady() argument
753 if (*pollAddress < taskCountToWait) { in testTaskCountReady()
H A Dcommand_stream_receiver_with_aub_dump.inl74 …WithAUBDump<BaseCSR>::waitForTaskCountWithKmdNotifyFallback(uint32_t taskCountToWait, FlushStamp f… argument
77 …aubCSR->waitForTaskCountWithKmdNotifyFallback(taskCountToWait, flushStampToWait, useQuickKmdSleep,…
80 …BaseCSR::waitForTaskCountWithKmdNotifyFallback(taskCountToWait, flushStampToWait, useQuickKmdSleep…
H A Dtbx_command_stream_receiver_hw.h46 …void waitForTaskCountWithKmdNotifyFallback(uint32_t taskCountToWait, FlushStamp flushStampToWait, …
47 …ionWithTimeout(bool enableTimeout, int64_t timeoutMicroseconds, uint32_t taskCountToWait) override;
H A Dcommand_stream_receiver.h160 …virtual void waitForTaskCountWithKmdNotifyFallback(uint32_t taskCountToWait, FlushStamp flushStamp…
161 …orCompletionWithTimeout(bool enableTimeout, int64_t timeoutMicroseconds, uint32_t taskCountToWait);
162 … uint32_t *pollAddress, bool enableTimeout, int64_t timeoutMicroseconds, uint32_t taskCountToWait);
163 bool testTaskCountReady(volatile uint32_t *pollAddress, uint32_t taskCountToWait);
H A Dtbx_command_stream_receiver_hw.inl473 …mandStreamReceiverHw<GfxFamily>::flushSubmissionsAndDownloadAllocations(uint32_t taskCountToWait) { argument
476 if (this->latestFlushedTaskCount < taskCountToWait) {
495 …eceiverHw<GfxFamily>::waitForTaskCountWithKmdNotifyFallback(uint32_t taskCountToWait, FlushStamp f… argument
496 flushSubmissionsAndDownloadAllocations(taskCountToWait);
497 …BaseClass::waitForTaskCountWithKmdNotifyFallback(taskCountToWait, flushStampToWait, useQuickKmdSle…
501 …rCompletionWithTimeout(bool enableTimeout, int64_t timeoutMicroseconds, uint32_t taskCountToWait) { argument
502 flushSubmissionsAndDownloadAllocations(taskCountToWait);
503 …eturn BaseClass::waitForCompletionWithTimeout(enableTimeout, timeoutMicroseconds, taskCountToWait);
H A Dcommand_stream_receiver_with_aub_dump.h42 … void waitForTaskCountWithKmdNotifyFallback(uint32_t taskCountToWait, FlushStamp flushStampToWait,
H A Daub_command_stream_receiver_hw.h65 …void waitForTaskCountWithKmdNotifyFallback(uint32_t taskCountToWait, FlushStamp flushStampToWait, …
H A Dcommand_stream_receiver_hw.h79 …void waitForTaskCountWithKmdNotifyFallback(uint32_t taskCountToWait, FlushStamp flushStampToWait, …
H A Dcommand_stream_receiver_hw_base.inl854 …eceiverHw<GfxFamily>::waitForTaskCountWithKmdNotifyFallback(uint32_t taskCountToWait, FlushStamp f… argument
858 …obtainTimeoutParams(waitTimeout, useQuickKmdSleep, *getTagAddress(), taskCountToWait, flushStampTo…
863 taskCountToWait, getTagAddress(), *getTagAddress());
865 bool status = waitForCompletionWithTimeout(enableTimeout, waitTimeout, taskCountToWait);
869 status = waitForCompletionWithTimeout(false, 0, taskCountToWait);
871 UNRECOVERABLE_IF(*getTagAddress() < taskCountToWait);
H A Daub_command_stream_receiver_hw_base.inl609 …eceiverHw<GfxFamily>::waitForTaskCountWithKmdNotifyFallback(uint32_t taskCountToWait, FlushStamp f… argument
610 …eceiverSimulatedHw<GfxFamily>::waitForTaskCountWithKmdNotifyFallback(taskCountToWait, flushStampTo…
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/shared/source/direct_submission/linux/
H A Ddrm_direct_submission.h37 MOCKABLE_VIRTUAL void wait(uint32_t taskCountToWait);
H A Ddrm_direct_submission.inl182 void DrmDirectSubmission<GfxFamily, Dispatcher>::wait(uint32_t taskCountToWait) { argument
185 while (!WaitUtils::waitFunction(pollAddress, taskCountToWait)) {
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/shared/test/common/libult/
H A Dult_command_stream_receiver.h168 …onWithTimeout(bool enableTimeout, int64_t timeoutMicroseconds, uint32_t taskCountToWait) override { in waitForCompletionWithTimeout() argument
169 latestWaitForCompletionWithTimeoutTaskCount.store(taskCountToWait); in waitForCompletionWithTimeout()
172 …eturn BaseClass::waitForCompletionWithTimeout(enableTimeout, timeoutMicroseconds, taskCountToWait); in waitForCompletionWithTimeout()
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/shared/test/common/mocks/
H A Dmock_command_stream_receiver.h53 …onWithTimeout(bool enableTimeout, int64_t timeoutMicroseconds, uint32_t taskCountToWait) override { in waitForCompletionWithTimeout() argument
89 …void waitForTaskCountWithKmdNotifyFallback(uint32_t taskCountToWait, FlushStamp flushStampToWait, … in waitForTaskCountWithKmdNotifyFallback() argument
H A Dmock_aub_csr.h125 …onWithTimeout(bool enableTimeout, int64_t timeoutMicroseconds, uint32_t taskCountToWait) override { in waitForCompletionWithTimeout()
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/level_zero/core/source/cmdqueue/
H A Dcmdqueue.cpp111 auto taskCountToWait = getTaskCount(); in synchronizeByPollingForTaskCount() local
119 …ool ready = csr->waitForCompletionWithTimeout(enableTimeout, timeoutMicroseconds, taskCountToWait); in synchronizeByPollingForTaskCount()
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/level_zero/core/test/unit_tests/sources/cmdqueue/
H A Dtest_cmdqueue_2.cpp144 …orCompletionWithTimeout(bool enableTimeout, int64_t timeoutMs, uint32_t taskCountToWait) override { in waitForCompletionWithTimeout()
151 …void waitForTaskCountWithKmdNotifyFallback(uint32_t taskCountToWait, FlushStamp flushStampToWait, … in waitForTaskCountWithKmdNotifyFallback()
153 …mandStreamReceiver<GfxFamily>::waitForTaskCountWithKmdNotifyFallback(taskCountToWait, flushStampTo… in waitForTaskCountWithKmdNotifyFallback()
349 …itForCompletionWithTimeout, bool(bool enableTimeout, int64_t timeoutMs, uint32_t taskCountToWait));
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/opencl/test/unit_test/command_stream/
H A Dcommand_stream_receiver_flush_task_4_tests.cpp714 uint32_t taskCountToWait = 2u; in HWTEST_F() local
719 CpuIntrinsicsTests::pauseValue = taskCountToWait; in HWTEST_F()
721 bool ret = mockCsr->waitForCompletionWithTimeout(false, 1, taskCountToWait); in HWTEST_F()
H A Dcommand_stream_receiver_hw_2_tests.cpp613 … void waitForTaskCountWithKmdNotifyFallback(uint32_t taskCountToWait, FlushStamp flushStampToWait, in HWTEST_F() argument
616 taskCountToWaitPassed = taskCountToWait; in HWTEST_F()
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/opencl/test/unit_test/os_interface/linux/
H A Ddrm_command_stream_tests_1.cpp788 void wait(uint32_t taskCountToWait) override { in wait()

12