-
Notifications
You must be signed in to change notification settings - Fork 7
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
How to contribute multiple changes to gpu_process.pyx module #4
Comments
Hi @ericyang125 I think the safest way is to
Hope it's not a problem for you. Don't hesitate to ask questions. |
I see @ericyang125 you already have one Do you want to create a pull request, please? |
I will create a pull request after I finish a few changes then. I modified a short demo for the changed function: https://colab.research.google.com/github/ericyang125/openpiv-python-gpu/blob/master/Openpiv_Python_Tutorial_Basic.ipynb Would you suggest any validation dataset? |
I think these two lines has to be modified from
|
everywhere |
see ericyang125#1 |
Is it possible to create a GPU version of windef.py? Thanks |
Please open a pull request from your repo |
My approach to do that would be to profile windef and see which subroutines would benefit from GPU-acceleration. From a cursory profiling of windef, most of the time (80%) is spent doing validation, next is doing the correlation (12%). These could be GPU-accelerated by:
A framework to standardize the i/o of the CPU and GPU functions would be required. The widim algorithm that I've modified performs comparably to windef, according to my testing. Adding window deformation and calling smoothn goes much of the way to improving the results.
In my repo, certain features like mean validation, s2n validation, extended_search_area (GPU version) don't work. |
no problem @ericyang125 - we'll wait for these corrections
|
How would I contribute multiple enhancements to the gpu_process.pyx module that I've been working on? What sort of validation should I run to ensure it works better than before, given that I could never get the base version to work on my end? Can I change the function names and arguments?
The enhancements include migration to Python 3, window deformation, median validation, bugfixes and minor performance increases, but it would be too difficult for me to separate these into individual pull requests.
The text was updated successfully, but these errors were encountered: