Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A problem about running aladdin #29

Closed
lhanzhang123 opened this issue Jun 5, 2020 · 2 comments
Closed

A problem about running aladdin #29

lhanzhang123 opened this issue Jun 5, 2020 · 2 comments

Comments

@lhanzhang123
Copy link

i'm trying to run my code on Docker , i met a problem when i execute $ALADDIN_HOME/common/aladdin mac ../dynamic_trace.gz config_example

cmd show :
aladdin: ScratchpadDatapath.cpp:239: virtual void ScratchpadDatapath::stepExecutingQueue(): Assertion `partition.memory_type != dma && "Host memory accesses are not supported by standalone Aladdin!"' failed.

i have tried to trace the source code , but it's too difficult for me .

@xyzsam
Copy link
Member

xyzsam commented Jun 6, 2020

You need to make sure that every array you access in Aladdin is declared in your config file. Standalone Aladdin does not support host memory accesses (e.g. over DMA or cache).

We have Makefiles in aladdin/MachSuite which implement the entire tracing flow. You can take those and adapt them for your use.

@lhanzhang123
Copy link
Author

thank you !
i will try agian

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants