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

Unable to simulate cache accesses for a simple example #256

Open
rohanrayan opened this issue Mar 25, 2024 · 1 comment
Open

Unable to simulate cache accesses for a simple example #256

rohanrayan opened this issue Mar 25, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@rohanrayan
Copy link

Describe the bug
I have a simple function attached with a two level nested loops. I generate an SDFG of this and open it with the VS-code extension. I then click on the full SDFG and open up the "inspect memory access" tab. Here I dont see the inner loop and I am not able to simulate the access patterns.

To Reproduce
Steps to reproduce the behavior:

  1. Open the attached python code file (attached as a .txt file as I am not able to upload a .py file)
  2. Run the file to generate the SDFG
  3. Open the SDFG in the VS-extension
  4. Click on the outermost SDFG
  5. Click on the "Inspect memory access(local view)" tab
  6. Set N to 20
  7. The generated view does not have the 'j' loop and it is not possible to simulate the access pattern

Expected behavior
I expect to be able to visualize the memory flow and access patterns which gives me a starting point to optimize for cache access

Software Versions

  • DaCe v0.15.1
  • DaCe VS code extension v1.7.4

Additional context
Python code to reproduce the issue:
dace_err.txt

Please let me know in case I am doing something wrong and how to use the VS-code extension for such cases.

Thanks in advance

@phschaad
Copy link
Collaborator

Thank you for the report! It does not appear that you are doing anything wrong, but rather that there is a bug here. This will be investigated and fixed.

@phschaad phschaad self-assigned this Apr 18, 2024
@phschaad phschaad added the bug Something isn't working label Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants