aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/graph/IDeviceBackend.h
diff options
context:
space:
mode:
Diffstat (limited to 'arm_compute/graph/IDeviceBackend.h')
-rw-r--r--arm_compute/graph/IDeviceBackend.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/arm_compute/graph/IDeviceBackend.h b/arm_compute/graph/IDeviceBackend.h
index 3a0a7e634e..f84aac0ae0 100644
--- a/arm_compute/graph/IDeviceBackend.h
+++ b/arm_compute/graph/IDeviceBackend.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2018-2019 Arm Limited.
+ * Copyright (c) 2018-2019,2021 Arm Limited.
*
* SPDX-License-Identifier: MIT
*
@@ -118,6 +118,8 @@ public:
* @return Weights manager
*/
virtual std::shared_ptr<arm_compute::IWeightsManager> create_weights_manager() = 0;
+ /** Synchronize kernels execution on the backend. On GPU, this results in a blocking call waiting for all kernels to be completed. */
+ virtual void sync() = 0;
};
} // namespace backends
} // namespace graph