2017-12-21 07:45:38 +08:00
|
|
|
/*
|
2021-05-17 02:51:16 +08:00
|
|
|
* Copyright (C) 2020-2021 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-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-02-27 18:39:32 +08:00
|
|
|
|
2019-03-26 18:59:46 +08:00
|
|
|
namespace NEO {
|
2017-12-21 07:45:38 +08:00
|
|
|
|
2021-12-22 01:36:40 +08:00
|
|
|
using Family = BDWFamily;
|
2017-12-21 07:45:38 +08:00
|
|
|
|
2020-01-15 17:03:21 +08:00
|
|
|
struct EnableOCLGen8 {
|
|
|
|
EnableOCLGen8() {
|
2020-10-21 21:10:25 +08:00
|
|
|
populateFactoryTable<BufferHw<Family>>();
|
|
|
|
populateFactoryTable<ClHwHelperHw<Family>>();
|
2017-12-21 07:45:38 +08:00
|
|
|
populateFactoryTable<CommandQueueHw<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
|