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

Running ALADIN for bb_gemm [ Crash ] #51

Open
praneeth121 opened this issue Mar 17, 2023 · 2 comments
Open

Running ALADIN for bb_gemm [ Crash ] #51

praneeth121 opened this issue Mar 17, 2023 · 2 comments

Comments

@praneeth121
Copy link

praneeth121 commented Mar 17, 2023

Hi, I am trying to run bb_gem benchmark using the following config file.
pipelining,0
cycle_time,2
partition,cyclic,x,1024,4,1
partition,cyclic,y,256,4,1
partition,cyclic,z,1024,4,1

I am getting the following output of the aladdin. Can you please let me know where am I going wrong:

[ERROR]: At node 239, invalid array access: y: Attempting to access offset 256, but total size = 256

@xyzsam
Copy link
Member

xyzsam commented Mar 24, 2023

That shouldn't happen. Did you modify any of the code, such as by changing the sizes of the arrays?

Basically, what the error is saying is that you told Aladdin the array y has 256 elements of 4 bytes each, but you're trying to access an element beyond the bounds of the array.

@xtfan
Copy link

xtfan commented Nov 13, 2023

Hi, we also get the crash when running bb_gemm applications. Our config file is as follows:
partition,block,y,4096,4,1
partition,block,z,4096,4,1
unrolling,bb_gemm,loopj,1
pipeline,loopj,1
cycle_time,5

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

Any suggestions on how to write a valid configuration file?

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

3 participants