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[dace][next]: Updated gt_auto_optimize() #1889

Merged

Conversation

philip-paul-mueller
Copy link
Contributor

The problem was that in the auto optimizer the "set stride correctly" function was called after the "go to GPU transformation". The GPU transformation will call CopyToMap transformation, this is needed such that we can set the GPU block size and their order. However, the decision if we call CopyToMap also depends on the strides, so we need to set them first.

The problem was that in the auto optimizer the "set stride correctly" function was called after the "go to GPU transformation".
The GPU transformation will call `CopyToMap` transformation, this is needed such that we can set the GPU block size and their order.
However, the desicion if we call `CopyToMap` also depends on teh strides, so we need to handle them.

But there is still a problem, but it is a prblem with the strides.
…/auto_optimize.py

Co-authored-by: edopao <edoardo16@gmail.com>
@philip-paul-mueller philip-paul-mueller merged commit 32c569b into GridTools:main Feb 26, 2025
23 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