StanfordLegion / legion

The Legion Parallel Programming System
https://legion.stanford.edu
Apache License 2.0
688 stars 144 forks source link

Legion-Fortran interoperation #646

Closed alexaiken closed 4 years ago

alexaiken commented 5 years ago

We want to be able to call Fortran kernels from Legion. Some work has already been done; what remains is:

Check that Fortran compilers can vectorize as we expect A Fortran to Legion transformation using FLANG

eddy16112 commented 5 years ago

@alexaiken I do not have permission to assign myself.

lightsighter commented 4 years ago

We've got a pull request for me to review. Adding this to the 20.03 milestone and assigning myself since I need to do a code review. https://gitlab.com/StanfordLegion/legion/merge_requests/169

lightsighter commented 4 years ago

@eddy16112 Have you checked that the fortran compilers are still vectorizing fortran leaf tasks using the interop? I'm also inclined to break out the fortran-to-legion-with-flang thing here to a separate issue.

eddy16112 commented 4 years ago

@lightsighter What do you mean by vectorizing fortran leaf tasks? If you mean vectorize data accessing of Accessor, the Fortran accessors are bind to the accessors of C API.

lightsighter commented 4 years ago

@eddy16112 We need to make sure the code for loops in leaf tasks compiled by fortran compilers still vectorizes the same way that it would if it were accessing normal fortran arrays.

lightsighter commented 4 years ago

This merge request is now finished https://gitlab.com/StanfordLegion/legion/-/merge_requests/178