mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-29 17:13:29 +08:00
Pass copy engines to waitUntilComplete in OpenCL command queue
Related-To: NEO-6057 Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
9bb1ef45dd
commit
c04f8e5e5b
@@ -1275,7 +1275,8 @@ HWTEST_TEMPLATED_F(BlitEnqueueTaskCountTests, whenWaitUntilCompletionCalledThenW
|
||||
uint32_t gpgpuTaskCount = 123;
|
||||
uint32_t bcsTaskCount = 123;
|
||||
|
||||
commandQueue->waitUntilComplete(gpgpuTaskCount, bcsTaskCount, 0, false);
|
||||
CopyEngineState bcsState{bcsCsr->getOsContext().getEngineType(), bcsTaskCount};
|
||||
commandQueue->waitUntilComplete(gpgpuTaskCount, Range{&bcsState}, 0, false);
|
||||
|
||||
EXPECT_EQ(gpgpuTaskCount, static_cast<UltCommandStreamReceiver<FamilyType> *>(gpgpuCsr)->latestWaitForCompletionWithTimeoutTaskCount.load());
|
||||
EXPECT_EQ(bcsTaskCount, static_cast<UltCommandStreamReceiver<FamilyType> *>(bcsCsr)->latestWaitForCompletionWithTimeoutTaskCount.load());
|
||||
|
||||
Reference in New Issue
Block a user