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

Erroneous calculation of totalbankreads in memory_stats_t, etc. #323

Open
andy-shiyi-liu opened this issue Mar 21, 2025 · 1 comment
Open

Comments

@andy-shiyi-liu
Copy link

andy-shiyi-liu commented Mar 21, 2025

I am changing the GPU configs to test the performance under different configurations. When I use a config with increased dram_atom_size, I found that all banks report an access count of 0, even if they actually have memory accesses.

Image

I found that the issue is caused by trying to use ceil() on the division of two unsigned values, which does not help at all.

Image Image

The same problem could also apply to other statistics.

@andy-shiyi-liu
Copy link
Author

Also, dram total accesses seems to be always 0:

Image

I found that this statistic value is stored in totalbankaccesses and I cannot find where this value got incremented.

Image

I am running with GPGPU-Sim v4.2.1.

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

1 participant