/* * Copyright (C) 2018-2022 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "shared/source/gen9/hw_cmds.h" #include "shared/source/helpers/populate_factory.h" #include "shared/test/common/libult/ult_command_stream_receiver.h" #include "shared/test/common/mocks/mock_l0_debugger.h" namespace NEO { typedef Gen9Family Family; constexpr auto gfxCore = IGFX_GEN9_CORE; extern CommandStreamReceiverCreateFunc commandStreamReceiverFactory[2 * IGFX_MAX_CORE]; template <> void populateFactoryTable>() { commandStreamReceiverFactory[IGFX_MAX_CORE + gfxCore] = UltCommandStreamReceiver::create; } struct enableGen9 { enableGen9() { populateFactoryTable>(); } }; static enableGen9 enable; static MockDebuggerL0HwPopulateFactory mockDebuggerGen9; template class UltCommandStreamReceiver; } // namespace NEO