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
Этот коммит содержится в:
foreman
2018-05-29 13:50:48 -04:00
родитель 51a4d1865c
Коммит a36ef232f2
+2 -2
Просмотреть файл
@@ -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; }