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

Initial support for generating an OpenCL PSy layer #216

Merged
merged 68 commits into from
Jan 31, 2019
Merged

Conversation

arporter
Copy link
Member

This PR is for #174 and adds initial support for creating OpenCL PSy layers for the GOcean API.

arporter added 30 commits June 15, 2018 11:18
Copy link
Collaborator

@rupertford rupertford left a comment

Choose a reason for hiding this comment

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

I've now done the pycodestyle and pylint checks. I have a few minor comments remaining.

All comments are inline. 2 are new, and there are a few remaining comments from the previous review.

src/psyclone/psyGen.py Outdated Show resolved Hide resolved
src/psyclone/tests/gocean1p0_opencl_test.py Show resolved Hide resolved
@rupertford
Copy link
Collaborator

Back to @arporter. Really close now. Just some very minor changes requested.

@arporter
Copy link
Member Author

From me to you (@rupertford)

Copy link
Collaborator

@rupertford rupertford left a comment

Choose a reason for hiding this comment

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

Sorry to bounce this back but the following modified lines are not covered:

918, 965, 972 in gocean1p0.py

@arporter
Copy link
Member Author

Oh yes. Apologies. Upon investigating I've discovered that GOKernelArguments and GOKern both have a find_grid_access() and they appear to be identical. I shall do some tidying...

@arporter
Copy link
Member Author

I think I must have intended to refactor and only got half-way through. I've been able to remove a fair bit of duplicated code and thus get rid of the uncovered lines :-)
Ready for another review from @rupertford.

Copy link
Collaborator

@rupertford rupertford left a comment

Choose a reason for hiding this comment

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

All issues have been addressed. Changes look good. pycodestyle and pylint are happy. Examples run. All tests pass etc.

Approving.

@rupertford rupertford merged commit 8f99527 into master Jan 31, 2019
@rupertford rupertford deleted the opencl_psy branch January 31, 2019 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants