2019-09-19 01:32:33 +08:00
|
|
|
/*
|
2023-01-02 19:14:39 +08:00
|
|
|
* Copyright (C) 2020-2023 Intel Corporation
|
2019-09-19 01:32:33 +08:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2023-01-02 19:14:39 +08:00
|
|
|
#include "shared/source/compiler_interface/compiler_cache.h"
|
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 {
|
|
|
|
|
2022-07-25 23:30:11 +08:00
|
|
|
using Family = Gen12LpFamily;
|
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>>();
|
2022-12-01 01:06:04 +08:00
|
|
|
populateFactoryTable<ClGfxCoreHelperHw<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
|