mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-25 05:24:02 +08:00
refactor: Make SemaphoreFenceHelper compliant with rule of three
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
e895562abf
commit
19361031fe
@@ -103,7 +103,7 @@ class DirectSubmissionHw {
|
||||
uint32_t getRelaxedOrderingQueueSize() const { return currentRelaxedOrderingQueueSize; }
|
||||
|
||||
protected:
|
||||
struct SemaphoreFenceHelper {
|
||||
struct SemaphoreFenceHelper : public NonCopyableAndNonMovableClass {
|
||||
SemaphoreFenceHelper(const auto &directSubmission) : directSubmission(directSubmission) {
|
||||
if (directSubmission.sfenceMode >= DirectSubmissionSfenceMode::beforeSemaphoreOnly) {
|
||||
if (!directSubmission.miMemFenceRequired && !directSubmission.pciBarrierPtr && !directSubmission.hwInfo->capabilityTable.isIntegratedDevice) {
|
||||
|
||||
Reference in New Issue
Block a user