Skip to content

332 ensure portability of openmp target backend across nividia and amd gpus - #335

Open
pbartholomew08 wants to merge 3 commits into
xcompact3d:mainfrom
pbartholomew08:332-ensure-portability-of-openmp-target-backend-across-nividia-and-amd-gpus
Open

332 ensure portability of openmp target backend across nividia and amd gpus#335
pbartholomew08 wants to merge 3 commits into
xcompact3d:mainfrom
pbartholomew08:332-ensure-portability-of-openmp-target-backend-across-nividia-and-amd-gpus

Conversation

@pbartholomew08

Copy link
Copy Markdown
Member

I'm opening this for visibility/discussion.

I think this implements the changes suggested by #332. However, with this I'm no longer able to compile the code with Cray (cce 20) or AMD (flang 22) compilers due to call c_f_pointer not being offloaded and is_device_addr not being supported, respectively. Of course, there may be a mistake in the implementation in which case I'll correct it and retest.

Need to replace stored Fortran device arrays with c_ptr that we
then get the Fortran pointer for on the device
@pbartholomew08 pbartholomew08 self-assigned this Aug 3, 2026
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.

1 participant