mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 14:55:24 +08:00
refactor: change shared pointer reference to const
Related-To: NEO-15375 Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
8334c80332
commit
47204f2039
@@ -643,7 +643,7 @@ void Event::setIsCompleted() {
|
||||
unsetCmdQueue();
|
||||
}
|
||||
|
||||
void Event::updateInOrderExecState(std::shared_ptr<NEO::InOrderExecInfo> &newInOrderExecInfo, uint64_t signalValue, uint32_t allocationOffset) {
|
||||
void Event::updateInOrderExecState(const std::shared_ptr<NEO::InOrderExecInfo> &newInOrderExecInfo, uint64_t signalValue, uint32_t allocationOffset) {
|
||||
resetCompletionStatus();
|
||||
|
||||
if (this->inOrderExecInfo.get() != newInOrderExecInfo.get()) {
|
||||
|
||||
@@ -299,7 +299,7 @@ struct Event : _ze_event_handle_t {
|
||||
void setMetricNotification(MetricCollectorEventNotify *metricNotification) {
|
||||
this->metricNotification = metricNotification;
|
||||
}
|
||||
void updateInOrderExecState(std::shared_ptr<NEO::InOrderExecInfo> &newInOrderExecInfo, uint64_t signalValue, uint32_t allocationOffset);
|
||||
void updateInOrderExecState(const std::shared_ptr<NEO::InOrderExecInfo> &newInOrderExecInfo, uint64_t signalValue, uint32_t allocationOffset);
|
||||
bool isCounterBased() const { return ((counterBasedMode == CounterBasedMode::explicitlyEnabled) || (counterBasedMode == CounterBasedMode::implicitlyEnabled)); }
|
||||
bool isCounterBasedExplicitlyEnabled() const { return (counterBasedMode == CounterBasedMode::explicitlyEnabled); }
|
||||
void enableCounterBasedMode(bool apiRequest, uint32_t flags);
|
||||
|
||||
Reference in New Issue
Block a user