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

Compiling generated mechanism code for AMD GPU fails with the hipcc compiler #1628

Closed
noraabiakar opened this issue Aug 19, 2021 · 0 comments · Fixed by #1630
Closed

Compiling generated mechanism code for AMD GPU fails with the hipcc compiler #1628

noraabiakar opened this issue Aug 19, 2021 · 0 comments · Fixed by #1630

Comments

@noraabiakar
Copy link
Contributor

The following error is generated using hipcc, rocm-4.0.1.

error: expected expression
    multiply<<<{grid_dim, 1}, block_dim>>>(*p);
               ^
1 error generated when compiling for gfx900.

Fixed by specifically using the dim3 constructor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant