mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 09:14:47 +08:00
fix: Add platform support for reservation on svm heap
Related-To: GSD-10816 Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
a48d66ad75
commit
3a7d7e022c
@@ -268,6 +268,7 @@ class ProductHelper {
|
||||
virtual bool isL3FlushAfterPostSyncRequired(bool heaplessEnabled) const = 0;
|
||||
virtual void overrideDirectSubmissionTimeouts(std::chrono::microseconds &timeout, std::chrono::microseconds &maxTimeout) const = 0;
|
||||
virtual bool isMisalignedUserPtr2WayCoherent() const = 0;
|
||||
virtual bool isSvmHeapReservationSupported() const = 0;
|
||||
|
||||
virtual ~ProductHelper() = default;
|
||||
|
||||
|
||||
@@ -1034,6 +1034,11 @@ bool ProductHelperHw<gfxProduct>::isMisalignedUserPtr2WayCoherent() const {
|
||||
return false;
|
||||
}
|
||||
|
||||
template <PRODUCT_FAMILY gfxProduct>
|
||||
bool ProductHelperHw<gfxProduct>::isSvmHeapReservationSupported() const {
|
||||
return true;
|
||||
}
|
||||
|
||||
template <PRODUCT_FAMILY gfxProduct>
|
||||
bool ProductHelperHw<gfxProduct>::isTimestampWaitSupportedForQueues(bool heaplessEnabled) const {
|
||||
return false;
|
||||
|
||||
@@ -205,6 +205,7 @@ class ProductHelperHw : public ProductHelper {
|
||||
bool isL3FlushAfterPostSyncRequired(bool heaplessEnabled) const override;
|
||||
void overrideDirectSubmissionTimeouts(std::chrono::microseconds &timeout, std::chrono::microseconds &maxTimeout) const override;
|
||||
bool isMisalignedUserPtr2WayCoherent() const override;
|
||||
bool isSvmHeapReservationSupported() const override;
|
||||
|
||||
~ProductHelperHw() override = default;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user