[all-commits] [llvm/llvm-project] b26baf: [Offload] Make AMDGPU plugin handle empty allocati...
Joseph Huber via All-commits
all-commits at lists.llvm.org
Mon Jun 2 06:12:43 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b26baf1779cae380040051932e7134371e3058d3
https://github.com/llvm/llvm-project/commit/b26baf1779cae380040051932e7134371e3058d3
Author: Joseph Huber <huberjn at outlook.com>
Date: 2025-06-02 (Mon, 02 Jun 2025)
Changed paths:
M offload/plugins-nextgen/amdgpu/src/rtl.cpp
M offload/test/api/omp_device_memory.c
Log Message:
-----------
[Offload] Make AMDGPU plugin handle empty allocation properly (#142383)
Summary:
`malloc(0)` and `free(nullptr)` are both defined by the standard but we
current trigger erros and assertions on them. Fix that so this works
with empty arguments.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list