Skip to content

[OpenMP] Fix type modification of mapped OpenMP variables - #68

Merged
ronlieb merged 1 commit into
ROCm:aomp-devfrom
DominikAdamski:flang-fix-runtime-params-type
Feb 22, 2023
Merged

[OpenMP] Fix type modification of mapped OpenMP variables#68
ronlieb merged 1 commit into
ROCm:aomp-devfrom
DominikAdamski:flang-fix-runtime-params-type

Conversation

@DominikAdamski

Copy link
Copy Markdown
Contributor

We should modify type of target param only if:

  • we call the function which launches offloaded kernel and:
  • host variable is not mapped as kernel argument

We should modify type of target param only if:
  * we call the function which launches offloaded kernel
and:
  * host variable is not mapped as kernel argument

@ronlieb ronlieb left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

tests well, thanks, approving, landing

@ronlieb
ronlieb merged commit 4b84802 into ROCm:aomp-dev Feb 22, 2023
rocm-ci pushed a commit that referenced this pull request May 1, 2023
We should modify type of target param only if:
  * we call the function which launches offloaded kernel
and:
  * host variable is not mapped as kernel argument

Change-Id: Ia8e51d5841d7e6d631d13457be29a43c664b1fd4
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