[llvm] [Offload] Fix dataDelete op for TARGET_ALLOC_HOST memory type (PR #91134)
Jhonatan Cléto via llvm-commits
llvm-commits at lists.llvm.org
Sun May 5 10:31:26 PDT 2024
cl3to wrote:
The function `targetFreeExplicit` does not abort when an error occurs in the call to `deleteData` on the device. We can modify this, which will cause the tests where this type of allocation occurs to fail. Alternatively, we can run these tests with Debug logging and check if the error message on deallocation was logged.
https://github.com/llvm/llvm-project/blob/624c9fc87fb23c6eb89a28e95fa0cf72f5c39d94/offload/src/omptarget.cpp#L464-L466
https://github.com/llvm/llvm-project/pull/91134
More information about the llvm-commits
mailing list