2017-12-21 00:45:38 +01:00
|
|
|
/*
|
2022-01-03 12:12:10 +00:00
|
|
|
* Copyright (C) 2020-2022 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
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2022-06-24 13:56:25 +00:00
|
|
|
#include "shared/source/gen9/hw_cmds.h"
|
2020-10-14 14:04:29 +02:00
|
|
|
#include "shared/source/helpers/populate_factory.h"
|
2020-02-24 10:22:30 +01:00
|
|
|
|
2020-02-22 22:50:57 +01:00
|
|
|
#include "opencl/source/command_queue/command_queue_hw.h"
|
2020-10-21 15:10:25 +02:00
|
|
|
#include "opencl/source/helpers/cl_hw_helper.h"
|
2020-02-22 22:50:57 +01:00
|
|
|
#include "opencl/source/mem_obj/buffer.h"
|
|
|
|
#include "opencl/source/mem_obj/image.h"
|
|
|
|
#include "opencl/source/sampler/sampler.h"
|
2019-02-27 11:39:32 +01:00
|
|
|
|
2019-03-26 11:59:46 +01:00
|
|
|
namespace NEO {
|
2017-12-21 00:45:38 +01:00
|
|
|
|
2021-12-21 17:36:40 +00:00
|
|
|
using Family = SKLFamily;
|
2017-12-21 00:45:38 +01:00
|
|
|
|
2020-01-15 10:03:21 +01:00
|
|
|
struct EnableOCLGen9 {
|
|
|
|
EnableOCLGen9() {
|
2020-10-21 15:10:25 +02:00
|
|
|
populateFactoryTable<BufferHw<Family>>();
|
|
|
|
populateFactoryTable<ClHwHelperHw<Family>>();
|
2017-12-21 00:45:38 +01:00
|
|
|
populateFactoryTable<CommandQueueHw<Family>>();
|
|
|
|
populateFactoryTable<ImageHw<Family>>();
|
|
|
|
populateFactoryTable<SamplerHw<Family>>();
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
2020-01-15 10:03:21 +01:00
|
|
|
static EnableOCLGen9 enable;
|
2019-03-26 11:59:46 +01:00
|
|
|
} // namespace NEO
|