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

Functional: Compiled backends integration unstructured #939

Conversation

tehrengruber
Copy link
Contributor

@tehrengruber tehrengruber commented Sep 19, 2022

Support for using unstructured backends directly from Python.

@tehrengruber tehrengruber force-pushed the compiled-backends-integration-unstructured3 branch from bf3636a to 82b5c26 Compare January 12, 2023 01:18
@havogt
Copy link
Contributor

havogt commented Jan 25, 2023

Can you try enable the tests in test_toy_connectivity and potentially others

@tehrengruber
Copy link
Contributor Author

As discussed offline the iterator tests will be enabled in a seperate PR after #1130 is merged. Until then only one test was enabled.

@havogt havogt marked this pull request as ready for review January 25, 2023 11:51
Copy link
Contributor

@havogt havogt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A first round of feedback. Didn't look into the gtfn_module where I asked for splitting into smaller pieces.

if isinstance(connectivity, Connectivity):
parameters.append(
interface.ConnectivityParameter(
"__conn_" + name.lower(), connectivity.origin_axis.value, name
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"__conn_" + name.lower(), connectivity.origin_axis.value, name
"conn_" + name.lower(), connectivity.origin_axis.value, name

__something is reserved in c++

src/functional/otf/binding/pybind.py Outdated Show resolved Hide resolved
Copy link
Contributor

@havogt havogt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we do one more iteration in cleaning up the gtfn_module?

Copy link
Contributor

@havogt havogt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Looks good.

@tehrengruber tehrengruber merged commit a35c92d into GridTools:functional Jan 31, 2023
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