/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/opencl/test/unit_test/helpers/ |
H A D | kmd_notify_tests.cpp | 97 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 D | kmd_notify_properties.cpp | 19 uint32_t taskCountToWait, in obtainTimeoutParams() argument 37 …int64_t multiplier = (currentHwTag < taskCountToWait) ? static_cast<int64_t>(taskCountToWait - cur… in obtainTimeoutParams()
|
H A D | kmd_notify_properties.h | 45 uint32_t taskCountToWait,
|
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/opencl/test/unit_test/mem_obj/ |
H A D | mem_obj_destruction_tests.cpp | 32 …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 D | buffer_bcs_tests.cpp | 38 … 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 D | command_stream_receiver.cpp | 282 …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 D | command_stream_receiver_with_aub_dump.inl | 74 …WithAUBDump<BaseCSR>::waitForTaskCountWithKmdNotifyFallback(uint32_t taskCountToWait, FlushStamp f… argument 77 …aubCSR->waitForTaskCountWithKmdNotifyFallback(taskCountToWait, flushStampToWait, useQuickKmdSleep,… 80 …BaseCSR::waitForTaskCountWithKmdNotifyFallback(taskCountToWait, flushStampToWait, useQuickKmdSleep…
|
H A D | tbx_command_stream_receiver_hw.h | 46 …void waitForTaskCountWithKmdNotifyFallback(uint32_t taskCountToWait, FlushStamp flushStampToWait, … 47 …ionWithTimeout(bool enableTimeout, int64_t timeoutMicroseconds, uint32_t taskCountToWait) override;
|
H A D | command_stream_receiver.h | 160 …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 D | tbx_command_stream_receiver_hw.inl | 473 …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 D | command_stream_receiver_with_aub_dump.h | 42 … void waitForTaskCountWithKmdNotifyFallback(uint32_t taskCountToWait, FlushStamp flushStampToWait,
|
H A D | aub_command_stream_receiver_hw.h | 65 …void waitForTaskCountWithKmdNotifyFallback(uint32_t taskCountToWait, FlushStamp flushStampToWait, …
|
H A D | command_stream_receiver_hw.h | 79 …void waitForTaskCountWithKmdNotifyFallback(uint32_t taskCountToWait, FlushStamp flushStampToWait, …
|
H A D | command_stream_receiver_hw_base.inl | 854 …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 D | aub_command_stream_receiver_hw_base.inl | 609 …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 D | drm_direct_submission.h | 37 MOCKABLE_VIRTUAL void wait(uint32_t taskCountToWait);
|
H A D | drm_direct_submission.inl | 182 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 D | ult_command_stream_receiver.h | 168 …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 D | mock_command_stream_receiver.h | 53 …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 D | mock_aub_csr.h | 125 …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 D | cmdqueue.cpp | 111 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 D | test_cmdqueue_2.cpp | 144 …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 D | command_stream_receiver_flush_task_4_tests.cpp | 714 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 D | command_stream_receiver_hw_2_tests.cpp | 613 … 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 D | drm_command_stream_tests_1.cpp | 788 void wait(uint32_t taskCountToWait) override { in wait()
|