Remove not used method

Change-Id: I6109d4f1521de157f449cad92ecfbab3d133f815
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:
Dunajski, Bartosz
2020-01-21 09:51:13 +01:00
committed by sys_ocldev
parent ca84ebfe4c
commit 054f2b503a
6 changed files with 4 additions and 33 deletions

View File

@@ -27,9 +27,7 @@ struct BlitAuxTranslationTests : public ::testing::Test {
bcsCsr->setupContext(*bcsOsContext);
bcsCsr->initializeTagAllocation();
}
CommandStreamReceiver *getCommandStreamReceiverForBlitOperation(MemObj &memObj) const override {
return bcsCsr.get();
}
BlitOperationResult blitMemoryToAllocation(MemObj &memObj, GraphicsAllocation *memory, void *hostPtr, size_t size) const override {
auto blitProperties = BlitProperties::constructPropertiesForReadWriteBuffer(BlitterConstants::BlitDirection::HostPtrToBuffer,
*bcsCsr, memory, nullptr,

View File

@@ -1,12 +1,11 @@
#
# Copyright (C) 2017-2019 Intel Corporation
# Copyright (C) 2017-2020 Intel Corporation
#
# SPDX-License-Identifier: MIT
#
set(IGDRCL_SRCS_tests_context
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
${CMAKE_CURRENT_SOURCE_DIR}${BRANCH_DIR_SUFFIX}/context_extra_properties_tests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/context_get_info_tests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/context_multi_device_tests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/context_negative_tests.cpp

View File

@@ -1,19 +0,0 @@
/*
* Copyright (C) 2019 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "test.h"
#include "unit_tests/mocks/mock_buffer.h"
#include "unit_tests/mocks/mock_context.h"
using namespace NEO;
TEST(ContextExtraPropertiesTests, givenAnyBufferWhenGettingCsrForBlitOperationThenNullIsReturned) {
MockContext context;
MockBuffer buffer;
auto csr = context.getCommandStreamReceiverForBlitOperation(buffer);
EXPECT_EQ(nullptr, csr);
}

View File

@@ -654,9 +654,7 @@ struct BcsBufferTests : public ::testing::Test {
bcsCsr->setupContext(*bcsOsContext);
bcsCsr->initializeTagAllocation();
}
CommandStreamReceiver *getCommandStreamReceiverForBlitOperation(MemObj &memObj) const override {
return bcsCsr.get();
}
BlitOperationResult blitMemoryToAllocation(MemObj &memObj, GraphicsAllocation *memory, void *hostPtr, size_t size) const override {
auto blitProperties = BlitProperties::constructPropertiesForReadWriteBuffer(BlitterConstants::BlitDirection::HostPtrToBuffer,
*bcsCsr, memory, nullptr,