mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-25 13:33:02 +08:00
feature: use completion fence value from direct submission when available
Related-To: NEO-6643 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
702feba063
commit
ffd1c430b1
@@ -20,6 +20,13 @@ class DrmDirectSubmission : public DirectSubmissionHw<GfxFamily, Dispatcher> {
|
||||
|
||||
~DrmDirectSubmission();
|
||||
|
||||
uint32_t *getCompletionValuePointer() override {
|
||||
if (this->completionFenceAllocation) {
|
||||
return &this->completionFenceValue;
|
||||
}
|
||||
return DirectSubmissionHw<GfxFamily, Dispatcher>::getCompletionValuePointer();
|
||||
}
|
||||
|
||||
protected:
|
||||
bool allocateOsResources() override;
|
||||
bool submit(uint64_t gpuAddress, size_t size) override;
|
||||
|
||||
Reference in New Issue
Block a user