[llvm] [offload] add handling of memory alignment to MemoryManagerTy (PR #218418)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 26 07:10:31 PDT 2026
================
@@ -615,18 +615,6 @@ struct CUDADeviceTy : public GenericDeviceTy {
if (auto Err = Plugin::check(Res, "error in cuMemAlloc[Host|Managed]: %s"))
return std::move(Err);
- if (Alignment > 0 && !isAddrAligned(Align(Alignment), MemAlloc)) {
----------------
EuphoricThinking wrote:
I'll leave it for future contributors.
https://github.com/llvm/llvm-project/pull/218418
More information about the llvm-commits
mailing list