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
This commit is contained in:
@@ -52,9 +52,9 @@ struct GpuEvent {
|
|||||||
uint32_t engineId_ : 1; ///< Type of the id
|
uint32_t engineId_ : 1; ///< Type of the id
|
||||||
};
|
};
|
||||||
//! GPU event default constructor
|
//! GPU event default constructor
|
||||||
GpuEvent() : id_(InvalidID), engineId_(MainEngine), modified_(false) {}
|
GpuEvent() : id_(InvalidID), modified_(false), engineId_(MainEngine) {}
|
||||||
//! GPU event constructor
|
//! 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
|
//! Returns true if the current event is valid
|
||||||
bool isValid() const { return (id_ != InvalidID) ? true : false; }
|
bool isValid() const { return (id_ != InvalidID) ? true : false; }
|
||||||
|
|||||||
Reference in New Issue
Block a user