refactor: Make SemaphoreFenceHelper compliant with rule of three

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
Lukasz Jobczyk
2025-05-29 12:12:12 +00:00
committed by Compute-Runtime-Automation
parent e895562abf
commit 19361031fe

View File

@@ -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) {