Skip to content

Commit

Permalink
fix error when memory_id is VTA_MEM_ID_OUT (apache#4330)
Browse files Browse the repository at this point in the history
  • Loading branch information
jason-song-dev authored and Xingyu Zhou committed Nov 15, 2019
1 parent 7021a21 commit 16c60d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vta/src/runtime.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 16c60d0

Please sign in to comment.