mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-25 05:24:02 +08:00
feature: additional checkers to enable feature
Resolves: NEO-13973 Signed-off-by: Damian Tomczak <damian.tomczak@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
4bc13fa0dc
commit
0243004907
@@ -86,6 +86,7 @@ class CompilerProductHelper {
|
||||
virtual void getKernelFp64AtomicCapabilities(uint32_t &fp64Caps) const = 0;
|
||||
virtual void getKernelCapabilitiesExtra(const ReleaseHelper *releaseHelper, uint32_t &extraCaps) const = 0;
|
||||
virtual bool isBindlessAddressingDisabled(const ReleaseHelper *releaseHelper) const = 0;
|
||||
virtual bool isForceBindlessRequired() const = 0;
|
||||
virtual const char *getCustomIgcLibraryName() const = 0;
|
||||
virtual const char *getFinalizerLibraryName() const = 0;
|
||||
|
||||
@@ -139,6 +140,7 @@ class CompilerProductHelperHw : public CompilerProductHelper {
|
||||
void getKernelFp64AtomicCapabilities(uint32_t &fp64Caps) const override;
|
||||
void getKernelCapabilitiesExtra(const ReleaseHelper *releaseHelper, uint32_t &extraCaps) const override;
|
||||
bool isBindlessAddressingDisabled(const ReleaseHelper *releaseHelper) const override;
|
||||
bool isForceBindlessRequired() const override;
|
||||
const char *getCustomIgcLibraryName() const override;
|
||||
const char *getFinalizerLibraryName() const override;
|
||||
|
||||
|
||||
@@ -306,6 +306,11 @@ bool CompilerProductHelperHw<gfxProduct>::isBindlessAddressingDisabled(const Rel
|
||||
return true;
|
||||
}
|
||||
|
||||
template <PRODUCT_FAMILY gfxProduct>
|
||||
bool CompilerProductHelperHw<gfxProduct>::isForceBindlessRequired() const {
|
||||
return this->isHeaplessModeEnabled();
|
||||
}
|
||||
|
||||
template <PRODUCT_FAMILY gfxProduct>
|
||||
const char *CompilerProductHelperHw<gfxProduct>::getCustomIgcLibraryName() const {
|
||||
return nullptr;
|
||||
|
||||
Reference in New Issue
Block a user