Skip to content

Commit 5b316d1

Browse files
Delete drm requirement tests.
- Those requirements are no longer valid. Change-Id: I8885c2591fccf8825d812128ead6a637e353009f
1 parent e66920a commit 5b316d1

File tree

3 files changed

+2
-224
lines changed

3 files changed

+2
-224
lines changed

runtime/command_queue/command_queue.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,8 @@ CommandQueue::~CommandQueue() {
9292
if (device) {
9393
auto storageForAllocation = device->getCommandStreamReceiver().getInternalAllocationStorage();
9494

95-
if (commandStream && commandStream->getGraphicsAllocation()) {
95+
if (commandStream) {
9696
storageForAllocation->storeAllocation(std::unique_ptr<GraphicsAllocation>(commandStream->getGraphicsAllocation()), REUSABLE_ALLOCATION);
97-
commandStream->replaceGraphicsAllocation(nullptr);
9897
}
9998
delete commandStream;
10099

@@ -585,4 +584,4 @@ void CommandQueue::obtainNewTimestampPacketNodes(size_t numberOfNodes, Timestamp
585584
timestampPacketContainer->add(allocator->getTag());
586585
}
587586
}
588-
} // namespace OCLRT
587+
} // namespace OCLRT

unit_tests/command_queue/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ set(IGDRCL_SRCS_tests_command_queue
1212
${CMAKE_CURRENT_SOURCE_DIR}/command_queue_hw_tests.cpp
1313
${CMAKE_CURRENT_SOURCE_DIR}/command_queue_tests.cpp
1414
${CMAKE_CURRENT_SOURCE_DIR}/dispatch_walker_tests.cpp
15-
${CMAKE_CURRENT_SOURCE_DIR}/drm_requirements_tests.cpp
1615
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_api_tests_mt_with_asyncGPU.cpp
1716
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_barrier_tests.cpp
1817
${CMAKE_CURRENT_SOURCE_DIR}/enqueue_copy_buffer_event_tests.cpp

unit_tests/command_queue/drm_requirements_tests.cpp

Lines changed: 0 additions & 220 deletions
This file was deleted.

0 commit comments

Comments
 (0)