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

Fix param size (uint16_t) #28

Merged
merged 1 commit into from
Aug 21, 2023

Conversation

skirsten
Copy link
Contributor

Hi, I needed to get the parameters of cuda kernels for a unrelated project and fortunately found this wonderful project.

I used this code as inspiration.

It seemingly worked great but I had some issues for certain kernels and I tracked it down to the size being 0x0 when it should be 0x140.
After debugging the cuobjdump binary I found that the size is actually 16 bit.

As I am not actually using this project I don't know if any changes in other places are required, but I still wanted to contribute this in case it affects anybody else.

@n-eiling
Copy link
Member

Thanks for your contribution!

Just as a note: The code here is newer and seems to be more stable because it uses libelf instead of libbfd. If it also works for your use case I would suggest having a look there.

@n-eiling n-eiling merged commit 29b5da9 into RWTH-ACS:master Aug 21, 2023
armaanchowfin pushed a commit to sam990/flyt that referenced this pull request Nov 26, 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

Successfully merging this pull request may close these issues.

2 participants