From a36ef232f2bcbecf33f74c2d73d40e8d9be89524 Mon Sep 17 00:00:00 2001
From: foreman
Date: Tue, 29 May 2018 13:50:48 -0400
Subject: [PATCH] P4 to Git Change 1561039 by gandryey@gera-w8 on 2018/05/29
13:29:24
SWDEV-79445 - OCL generic changes and code clean-up
- Move modified_ fleld initialization to fix g++ compilation
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#36 edit
---
rocclr/runtime/device/pal/paldefs.hpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/rocclr/runtime/device/pal/paldefs.hpp b/rocclr/runtime/device/pal/paldefs.hpp
index d0018afd9e..8267bc44c2 100644
--- a/rocclr/runtime/device/pal/paldefs.hpp
+++ b/rocclr/runtime/device/pal/paldefs.hpp
@@ -52,9 +52,9 @@ struct GpuEvent {
uint32_t engineId_ : 1; ///< Type of the id
};
//! GPU event default constructor
- GpuEvent() : id_(InvalidID), engineId_(MainEngine), modified_(false) {}
+ GpuEvent() : id_(InvalidID), modified_(false), engineId_(MainEngine) {}
//! GPU event constructor
- GpuEvent(uint evt) : id_(evt), engineId_(MainEngine), modified_(false) {}
+ GpuEvent(uint evt) : id_(evt), modified_(false), engineId_(MainEngine) {}
//! Returns true if the current event is valid
bool isValid() const { return (id_ != InvalidID) ? true : false; }