From dab7172a5c9e38c4e3102565d9b0722f3468a358 Mon Sep 17 00:00:00 2001 From: jason-song-dev <37959160+jason-song-dev@users.noreply.github.com> Date: Thu, 14 Nov 2019 12:42:22 +0900 Subject: [PATCH] fix error when memory_id is VTA_MEM_ID_OUT (#4330) --- vta/src/runtime.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vta/src/runtime.cc b/vta/src/runtime.cc index 79fc0e2..b657d63 100644 --- a/vta/src/runtime.cc +++ b/vta/src/runtime.cc @@ -1016,7 +1016,7 @@ class CommandQueue { elem_bytes = VTA_ACC_ELEM_BYTES; break; case VTA_MEM_ID_OUT: - elem_bytes = VTA_INP_ELEM_BYTES; + elem_bytes = VTA_OUT_ELEM_BYTES; break; default: LOG(FATAL) << "Memory id not recognized:" << memory_id; -- 2.7.4