mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 14:55:24 +08:00
Related-To: NEO-3964 Change-Id: Ice978e582721498d7496f989767ce7d6f5f4caf4 Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
21 lines
445 B
C++
21 lines
445 B
C++
/*
|
|
* Copyright (C) 2018-2020 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "shared/source/tbx/tbx_sockets_imp.h"
|
|
#include "shared/test/unit_test/tests_configuration.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
|