aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Moberg <anton.moberg@arm.com>2021-05-24 12:00:44 +0200
committerAnton Moberg <anton.moberg@arm.com>2021-06-14 11:09:09 +0200
commit49a81c148e3c55cf97d7eb79e22a1d1f5504a97d (patch)
treedc697b0413ae24eec1ed43987aa515709fe027ff
parent547ca53bb26a705cfceb1348373dd628eada2422 (diff)
downloadethos-u-core-driver-49a81c148e3c55cf97d7eb79e22a1d1f5504a97d.tar.gz
Remove static inline v2 function
Updated tensorflow to use default entrypoint and so this static inline function is no longer necessary. Change-Id: I2cd4e9cc87a4e8cffd2f67e27149782ea9519c05
-rw-r--r--include/ethosu_driver.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/include/ethosu_driver.h b/include/ethosu_driver.h
index 6f8f201..e40daa0 100644
--- a/include/ethosu_driver.h
+++ b/include/ethosu_driver.h
@@ -186,21 +186,6 @@ enum ethosu_error_codes set_clock_and_power_request(struct ethosu_driver *drv,
enum ethosu_clock_q_request clock_request,
enum ethosu_power_q_request power_request);
-/**
- * Static inline for backwards-compatibility
- */
-static inline int ethosu_invoke_v2(const void *custom_data_ptr,
- const int custom_data_size,
- const uint64_t *base_addr,
- const size_t *base_addr_size,
- const int num_base_addr)
-{
- struct ethosu_driver *drv = ethosu_reserve_driver();
- int result = ethosu_invoke(drv, custom_data_ptr, custom_data_size, base_addr, base_addr_size, num_base_addr);
- ethosu_release_driver(drv);
- return result;
-}
-
#ifdef __cplusplus
}
#endif