Skip to content

Conversation

@clementval
Copy link
Contributor

Fix issue reported in #150136. createAllocatable returns an OwingPtr. Use get() to get the raw pointer has it is done in the flang-rt/unittests/Runtime/CUDA/Memory.cpp tests.

Copy link
Member

@Meinersbur Meinersbur left a comment

Choose a reason for hiding this comment

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

LGTM

@clementval clementval merged commit 283fd3f into llvm:main Jul 23, 2025
10 checks passed
@clementval clementval deleted the cuf_fix_ut2 branch July 23, 2025 11:01
mahesh-attarde pushed a commit to mahesh-attarde/llvm-project that referenced this pull request Jul 28, 2025
Fix issue reported in llvm#150136. `createAllocatable` returns an OwingPtr.
Use `get()` to get the raw pointer has it is done in the
`flang-rt/unittests/Runtime/CUDA/Memory.cpp` tests.
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