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

SHOC/fft dynamic trace issue #13

Open
gaurav-1993singh opened this issue Mar 15, 2020 · 3 comments
Open

SHOC/fft dynamic trace issue #13

gaurav-1993singh opened this issue Mar 15, 2020 · 3 comments

Comments

@gaurav-1993singh
Copy link

Hi,
I was trying to run the fft test in SHOC. In the normal mode (without dma) it makes the dynamic trace but it does not give out the power and area summary (it does give out the stats). When I try to make the trace using the dma-trace-binary, the fft-instrumented has a segmentation fault. Please let me know if there is a workaround. My main goal is to get power and area numbers.

Thanks

@xyzsam
Copy link
Member

xyzsam commented Mar 16, 2020

Thanks, I can reproduce. Investigating.

@gaurav-1993singh
Copy link
Author

I will tell you my findings to hopefully save some of your time. The dmaLoad and dmaStore functions in the *.c files (testcases) are still on DMA_INTERFACE_V1, whereas the Makefile.tracer expect it to be on V3. Also, these files don't have the maparraytoaccelerator and invokeaccelerator commands. I think the makefiles should also automatically include the aladdin_sys_connection.c and aladdin_sys_constants.c files. I was able to get the power numbers for FFT by making all these hacks. In all, I think the .c files for test cases need update.

@xyzsam
Copy link
Member

xyzsam commented Mar 16, 2020

Yes, the discrepancy in expected DMA interface versions is the reason. We deprecated v1 but we missed updating most of these benchmarks (only the ones in our integration tests were fixed). Glad you were able to get the numbers you wanted. We'll get this issue fixed.

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