mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-27 07:44:16 +08:00
Allow blocked command stream programming for commands without Kernel
Change-Id: I691a029bd5511c8f710ef1bff8cc5a9feca644f3 Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com> Related-To: NEO-3433
This commit is contained in:
committed by
sys_ocldev
parent
55a1ddab39
commit
38556cec29
@@ -745,8 +745,10 @@ HWTEST_F(DispatchWalkerTest, givenBlockedEnqueueWhenObtainingCommandStreamThenAl
|
||||
auto expectedSizeCS = MemoryConstants::pageSize64k - CSRequirements::csOverfetchSize;
|
||||
|
||||
CsrDependencies csrDependencies;
|
||||
EventsRequest eventsRequest(0, nullptr, nullptr);
|
||||
auto cmdStream = mockCmdQ.template obtainCommandStream<CL_COMMAND_NDRANGE_KERNEL>(csrDependencies, false, false, false, true,
|
||||
multiDispatchInfo, blockedKernelData, nullptr, 0u);
|
||||
multiDispatchInfo, eventsRequest, blockedKernelData,
|
||||
nullptr, 0u);
|
||||
|
||||
EXPECT_EQ(expectedSizeCS, cmdStream->getMaxAvailableSpace());
|
||||
EXPECT_EQ(expectedSizeCSAllocation, cmdStream->getGraphicsAllocation()->getUnderlyingBufferSize());
|
||||
|
||||
Reference in New Issue
Block a user