2017-12-21 07:45:38 +08:00
|
|
|
/*
|
2020-01-15 17:03:21 +08:00
|
|
|
* Copyright (C) 2017-2020 Intel Corporation
|
2017-12-21 07:45:38 +08:00
|
|
|
*
|
2018-09-18 15:11:08 +08:00
|
|
|
* SPDX-License-Identifier: MIT
|
2017-12-21 07:45:38 +08:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2020-02-21 22:35:08 +08:00
|
|
|
#include "core/command_stream/command_stream_receiver_hw.h"
|
2020-02-22 16:28:27 +08:00
|
|
|
|
|
|
|
#include "command_queue/command_queue_hw.h"
|
|
|
|
#include "command_stream/aub_command_stream_receiver_hw.h"
|
|
|
|
#include "command_stream/tbx_command_stream_receiver_hw.h"
|
|
|
|
#include "device_queue/device_queue_hw.h"
|
|
|
|
#include "event/perf_counter.h"
|
|
|
|
#include "mem_obj/buffer.h"
|
|
|
|
#include "mem_obj/image.h"
|
|
|
|
#include "sampler/sampler.h"
|
2019-02-27 18:39:32 +08:00
|
|
|
|
2017-12-21 07:45:38 +08:00
|
|
|
#include <type_traits>
|
|
|
|
|
2019-03-26 18:59:46 +08:00
|
|
|
namespace NEO {
|
2017-12-21 07:45:38 +08:00
|
|
|
|
|
|
|
typedef BDWFamily Family;
|
|
|
|
|
2020-01-15 17:03:21 +08:00
|
|
|
struct EnableOCLGen8 {
|
|
|
|
EnableOCLGen8() {
|
2017-12-21 07:45:38 +08:00
|
|
|
populateFactoryTable<AUBCommandStreamReceiverHw<Family>>();
|
|
|
|
populateFactoryTable<TbxCommandStreamReceiverHw<Family>>();
|
|
|
|
populateFactoryTable<CommandQueueHw<Family>>();
|
|
|
|
populateFactoryTable<DeviceQueueHw<Family>>();
|
|
|
|
populateFactoryTable<CommandStreamReceiverHw<Family>>();
|
|
|
|
populateFactoryTable<BufferHw<Family>>();
|
|
|
|
populateFactoryTable<ImageHw<Family>>();
|
|
|
|
populateFactoryTable<SamplerHw<Family>>();
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
2020-01-15 17:03:21 +08:00
|
|
|
static EnableOCLGen8 enable;
|
2019-03-26 18:59:46 +08:00
|
|
|
} // namespace NEO
|