2019-09-19 01:32:33 +08:00
|
|
|
/*
|
2022-01-04 01:29:57 +08:00
|
|
|
* Copyright (C) 2020-2022 Intel Corporation
|
2019-09-19 01:32:33 +08:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2022-06-24 21:56:25 +08:00
|
|
|
#include "shared/source/gen12lp/hw_cmds.h"
|
2020-10-14 20:04:29 +08:00
|
|
|
#include "shared/source/helpers/populate_factory.h"
|
2020-02-24 17:22:30 +08:00
|
|
|
|
2020-02-23 05:50:57 +08:00
|
|
|
#include "opencl/source/command_queue/command_queue_hw.h"
|
2020-10-21 21:10:25 +08:00
|
|
|
#include "opencl/source/helpers/cl_hw_helper.h"
|
2020-02-23 05:50:57 +08:00
|
|
|
#include "opencl/source/mem_obj/buffer.h"
|
|
|
|
#include "opencl/source/mem_obj/image.h"
|
|
|
|
#include "opencl/source/sampler/sampler.h"
|
2019-09-19 01:32:33 +08:00
|
|
|
|
|
|
|
namespace NEO {
|
|
|
|
|
2021-12-22 01:36:40 +08:00
|
|
|
using Family = TGLLPFamily;
|
2019-09-19 01:32:33 +08:00
|
|
|
|
2020-01-15 17:03:21 +08:00
|
|
|
struct EnableOCLGen12LP {
|
|
|
|
EnableOCLGen12LP() {
|
2020-10-21 21:10:25 +08:00
|
|
|
populateFactoryTable<BufferHw<Family>>();
|
|
|
|
populateFactoryTable<ClHwHelperHw<Family>>();
|
2019-09-19 01:32:33 +08:00
|
|
|
populateFactoryTable<CommandQueueHw<Family>>();
|
|
|
|
populateFactoryTable<ImageHw<Family>>();
|
|
|
|
populateFactoryTable<SamplerHw<Family>>();
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
2020-01-15 17:03:21 +08:00
|
|
|
static EnableOCLGen12LP enable;
|
2019-09-19 01:32:33 +08:00
|
|
|
} // namespace NEO
|