Files
compute-runtime/opencl/test/unit_test/libult/create_tbx_sockets.cpp
Mateusz Hoppe 5954dbdda4 Move tests_configuration.h to shared
- add ult configuration to level zero core tests

Change-Id: Ie291395adb607df8c558b924e32ce2cedbce3f93
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-03-25 13:03:06 +01:00

21 lines
445 B
C++

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