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 CUDA 12.4 Compiler Error #5

Merged
merged 3 commits into from
Dec 21, 2024
Merged

Conversation

Linked-Liszt
Copy link

When trying to call decltype on the get() component, CUDA 12.4 fails to compile.

To bypass this, a new variable is instantiated, auto is used to infer the type of the variable, and then the type is read from the new variable for the following statement.

Testing was performed on both PTL and tomopy test suites. We'll see if it holds up across the full suite of compilers.

NOTE: Current tomopy submodule points to this branch. Should consider merging this branch into master.

@decarlof decarlof merged commit bbf2970 into tomopy:3.x Dec 21, 2024
24 checks passed
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