Skip to content

[smoke-fort-fails] Add test case for use_device_ptr#2196

Merged
DominikAdamski merged 1 commit intoROCm:aomp-devfrom
DominikAdamski:use-device-ptr-cptr
Apr 27, 2026
Merged

[smoke-fort-fails] Add test case for use_device_ptr#2196
DominikAdamski merged 1 commit intoROCm:aomp-devfrom
DominikAdamski:use-device-ptr-cptr

Conversation

@DominikAdamski
Copy link
Copy Markdown
Contributor

Check if use_device_ptr generates the same result as use_device_ptr clause.

Check if use_device_ptr generates the same result as use_device_ptr;
Copy link
Copy Markdown
Contributor

@mjklemm mjklemm left a comment

Choose a reason for hiding this comment

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

IK'm fine with the PR.

I need to say though: that this test is about an implementation detail. In an OpenMP sense, the device pointer and the device address need not be the same. They can differ (e.g., for something like OpenCL, where the pointer can be the OpenCL buffer object and the address is the actual pointer on the device).

@DominikAdamski DominikAdamski merged commit 21d796b into ROCm:aomp-dev Apr 27, 2026
1 check passed
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