Skip to content

[Flang][OpenMP] Use C_PTR value for use_device_ptr clause#2177

Open
DominikAdamski wants to merge 1 commit intoROCm:amd-stagingfrom
DominikAdamski:fix_use_device_ptr
Open

[Flang][OpenMP] Use C_PTR value for use_device_ptr clause#2177
DominikAdamski wants to merge 1 commit intoROCm:amd-stagingfrom
DominikAdamski:fix_use_device_ptr

Conversation

@DominikAdamski
Copy link
Copy Markdown

@DominikAdamski DominikAdamski commented Apr 13, 2026

If a C_PTR object is used, we need to map its value, not the address where it is stored.

@z1-cciauto
Copy link
Copy Markdown
Collaborator

@DominikAdamski DominikAdamski marked this pull request as draft April 13, 2026 17:08
If a C_PTR object is used, we need to map its value,
not the address where it is stored.
@DominikAdamski DominikAdamski changed the title [WIP] Fix use_device_ptr clause for C_PTR [Flang][OpenMP] Use C_PTR value for use_device_ptr clause Apr 14, 2026
@DominikAdamski DominikAdamski marked this pull request as ready for review April 14, 2026 11:33
@z1-cciauto
Copy link
Copy Markdown
Collaborator

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