2018-04-06 13:48:49 +02:00
|
|
|
/*
|
2018-09-18 09:11:08 +02:00
|
|
|
* Copyright (C) 2017-2018 Intel Corporation
|
2018-04-06 13:48:49 +02:00
|
|
|
*
|
2018-09-18 09:11:08 +02:00
|
|
|
* SPDX-License-Identifier: MIT
|
2018-04-06 13:48:49 +02:00
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#include "runtime/scheduler/scheduler_binary.h"
|
|
|
|
|
|
|
|
|
|
namespace OCLRT {
|
|
|
|
|
#include "scheduler_igdrcl_built_in_cnl.h"
|
|
|
|
|
|
|
|
|
|
const auto gfxProductCnl = PRODUCT_FAMILY::IGFX_CANNONLAKE;
|
|
|
|
|
|
|
|
|
|
template <>
|
|
|
|
|
void populateSchedulerBinaryInfos<gfxProductCnl>() {
|
|
|
|
|
schedulerBinaryInfos[gfxProductCnl] = {schedulerBinary_cnl, schedulerBinarySize_cnl};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
struct EnableGen10Scheduler {
|
|
|
|
|
EnableGen10Scheduler() {
|
|
|
|
|
populateSchedulerBinaryInfos<gfxProductCnl>();
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
static EnableGen10Scheduler enableGen10Scheduler;
|
|
|
|
|
} // namespace OCLRT
|