2017-12-21 00:45:38 +01:00
|
|
|
/*
|
2020-01-15 10:03:21 +01:00
|
|
|
* Copyright (C) 2017-2020 Intel Corporation
|
2017-12-21 00:45:38 +01:00
|
|
|
*
|
2018-09-18 09:11:08 +02:00
|
|
|
* SPDX-License-Identifier: MIT
|
2017-12-21 00:45:38 +01:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2020-02-21 15:35:08 +01:00
|
|
|
#include "core/command_stream/command_stream_receiver_hw.h"
|
2017-12-21 00:45:38 +01:00
|
|
|
#include "runtime/command_queue/command_queue_hw.h"
|
|
|
|
#include "runtime/command_stream/aub_command_stream_receiver_hw.h"
|
2019-02-27 11:39:32 +01:00
|
|
|
#include "runtime/command_stream/tbx_command_stream_receiver_hw.h"
|
|
|
|
#include "runtime/device_queue/device_queue_hw.h"
|
2017-12-21 00:45:38 +01:00
|
|
|
#include "runtime/event/perf_counter.h"
|
|
|
|
#include "runtime/mem_obj/buffer.h"
|
|
|
|
#include "runtime/mem_obj/image.h"
|
|
|
|
#include "runtime/sampler/sampler.h"
|
2019-02-27 11:39:32 +01:00
|
|
|
|
2017-12-21 00:45:38 +01:00
|
|
|
#include <type_traits>
|
|
|
|
|
2019-03-26 11:59:46 +01:00
|
|
|
namespace NEO {
|
2017-12-21 00:45:38 +01:00
|
|
|
|
|
|
|
typedef BDWFamily Family;
|
|
|
|
|
2020-01-15 10:03:21 +01:00
|
|
|
struct EnableOCLGen8 {
|
|
|
|
EnableOCLGen8() {
|
2017-12-21 00:45:38 +01: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 10:03:21 +01:00
|
|
|
static EnableOCLGen8 enable;
|
2019-03-26 11:59:46 +01:00
|
|
|
} // namespace NEO
|