You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I have built a model with TVM on nRF5340DK using Zephyr RTOS and I ran into a memory misalignment. In TVM we define a large memory that we use as the TVM stack and we make sure the memory allocation always has alignment of 4 bytes.
static uint8_t g_aot_memory[WORKSPACE_SIZE];
However we ran into this bug where the initial address of the memory was misaligned and causes a CPU exception on FP32 operation. To fix this I added an attribute which fixed this problem, but my assumption was that zephyr would take care of this in the first place.
Describe the bug
I have built a model with TVM on nRF5340DK using Zephyr RTOS and I ran into a memory misalignment. In TVM we define a large memory that we use as the TVM stack and we make sure the memory allocation always has alignment of 4 bytes.
However we ran into this bug where the initial address of the memory was misaligned and causes a CPU exception on FP32 operation. To fix this I added an attribute which fixed this problem, but my assumption was that zephyr would take care of this in the first place.
TVM Issue: apache/tvm#8474
Environment (please complete the following information):
I wasn't sure if this is a bug or I missed a
CONFIG
in my project file. So any help here is appreciatedThe text was updated successfully, but these errors were encountered: