Shift csr factory initialization to shared library

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
This commit is contained in:
Zbigniew Zdanowicz
2021-12-21 17:36:40 +00:00
committed by Compute-Runtime-Automation
parent 0fd685541d
commit 6ab4b566aa
21 changed files with 76 additions and 115 deletions

View File

@@ -5,20 +5,14 @@
*
*/
#include "shared/source/command_stream/aub_command_stream_receiver_hw.h"
#include "shared/source/command_stream/command_stream_receiver_hw.h"
#include "shared/source/command_stream/tbx_command_stream_receiver_hw.h"
#include "shared/source/helpers/populate_factory.h"
#include "shared/source/gen8/hw_cmds.h"
namespace NEO {
typedef BDWFamily Family;
using Family = BDWFamily;
struct EnableL0Gen8 {
EnableL0Gen8() {
populateFactoryTable<AUBCommandStreamReceiverHw<Family>>();
populateFactoryTable<TbxCommandStreamReceiverHw<Family>>();
populateFactoryTable<CommandStreamReceiverHw<Family>>();
}
};