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

quantitatively measuring memory divergent kernels #260

Open
beneslami opened this issue Nov 22, 2023 · 0 comments
Open

quantitatively measuring memory divergent kernels #260

beneslami opened this issue Nov 22, 2023 · 0 comments
Assignees

Comments

@beneslami
Copy link

Hi.

I have been searching the code trying to find places where I can capture control flow and memory divergency. My goal is to characterize the degree of irregularity of different benchmarks. Hypothetically, the irregularity of control flow and memory access can be calculated as below:

control-flow irregularity = divergent_branches / executed_instructions
memory-access irregularity = replayed_instructions / issued_instructions

I think I should define a counter for counting the number of branch divergence and replayed instructions, but I don't know where to define. I would be grateful if you could help me.

Thanks,
Ben

@William-An William-An self-assigned this Apr 17, 2024
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