Files
compute-runtime/shared/test/unit_test/libult/gen12lp.cpp
kamdiedrich 9e97b42ee6 Reorganization directory structure [4/n]
Change-Id: Ib868ed62d12ea8f9f123644219ba299e86a658ac
2020-02-24 01:04:42 +01:00

34 lines
791 B
C++

/*
* Copyright (C) 2019-2020 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "opencl/source/helpers/base_object.h"
#include "opencl/test/unit_test/libult/ult_command_stream_receiver.h"
namespace NEO {
typedef TGLLPFamily Family;
static auto gfxCore = IGFX_GEN12LP_CORE;
extern CommandStreamReceiverCreateFunc commandStreamReceiverFactory[2 * IGFX_MAX_CORE];
template <>
void populateFactoryTable<UltCommandStreamReceiver<Family>>() {
commandStreamReceiverFactory[IGFX_MAX_CORE + gfxCore] = UltCommandStreamReceiver<Family>::create;
}
struct enableGen12LP {
enableGen12LP() {
populateFactoryTable<UltCommandStreamReceiver<Family>>();
}
};
static enableGen12LP enable;
template class UltCommandStreamReceiver<TGLLPFamily>;
} // namespace NEO