Files
compute-runtime/opencl/test/unit_test/libult/create_tbx_sockets.cpp
kamdiedrich 87c5d2663b Add absolute path to unit_tests
Change-Id: I7a64f79a39dff4f5fa4166244e71872bb614724f
2020-02-23 17:18:04 +01:00

20 lines
444 B
C++

/*
* Copyright (C) 2018-2020 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "opencl/source/tbx/tbx_sockets_imp.h"
#include "opencl/test/unit_test/mocks/mock_tbx_sockets.h"
#include "opencl/test/unit_test/tests_configuration.h"
namespace NEO {
TbxSockets *TbxSockets::create() {
if (testMode == TestMode::AubTestsWithTbx) {
return new TbxSocketsImp;
}
return new MockTbxSockets;
}
} // namespace NEO