mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 07:14:10 +08:00
Remove not used method
Change-Id: I6109d4f1521de157f449cad92ecfbab3d133f815 Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
ca84ebfe4c
commit
054f2b503a
@@ -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,
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user