Add entry point for special kernels selection.

Change-Id: I60321de32e13d242b2daf8899ffe539dcc04247e
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
This commit is contained in:
Michal Mrozek
2020-05-18 16:33:07 +02:00
committed by sys_ocldev
parent a1c06bd8c8
commit f76d66da66
4 changed files with 23 additions and 5 deletions

View File

@@ -414,6 +414,7 @@ class Kernel : public BaseObject<_cl_kernel> {
const bool isCssUsed) const;
bool requiresPerDssBackedBuffer() const;
bool requiresLimitedWorkgroupSize() const;
protected:
struct ObjectCounts {

View File

@@ -33,4 +33,8 @@ bool Kernel::requiresPerDssBackedBuffer() const {
return DebugManager.flags.ForcePerDssBackedBufferProgramming.get();
}
} // namespace NEO
bool Kernel::requiresLimitedWorkgroupSize() const {
return this->isBuiltIn;
}
} // namespace NEO