gemmini icon indicating copy to clipboard operation
gemmini copied to clipboard

Bad syscall #98 when trying to run ort_test

Open tapla opened this issue 2 years ago • 1 comments

Hey, I cloned the chipyard repo(1.8.1 and gemmini 0.7.0) and followed the README instructions and build everything. However, when I build the ort_test in the imagenet_runner as well as in the rcnn_runner it fails.

spike --extension=gemmini pk ort_test -h

just with the -h flag it fails, so it has to be the ort_test as the test build in rocc-tests work

Gemmini extension configured with:          
dim = 16              
bbl loader     
bad syscall #98!             

Maybe somebody knows what I'm missing?

tapla avatar Jun 21 '23 19:06 tapla

I ran into this recently and I think the problem is with pk not ort_test. You should patch pk as described here: https://github.com/ucb-bar/onnxruntime-riscv/blob/2021-12-23/systolic_runner/docs/BUILD.md#running-via-spike

elatalhm avatar Nov 11 '23 03:11 elatalhm