[llvm] [offload] add support for aligned allocations (PR #203353)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 12 08:14:04 PDT 2026
================
@@ -148,7 +148,7 @@ GenericKernelTy::getKernelLaunchEnvironment(
auto AllocOrErr = GenericDevice.dataAlloc(
KernelEnvironment.Configuration.ReductionDataSize *
KernelEnvironment.Configuration.ReductionBufferLength,
- /*HostPtr=*/nullptr, TargetAllocTy::TARGET_ALLOC_DEVICE);
+ /*HostPtr=*/nullptr, TargetAllocTy::TARGET_ALLOC_DEVICE, 0);
----------------
EuphoricThinking wrote:
Ah yes, thanks for vigilance :)
https://github.com/llvm/llvm-project/pull/203353
More information about the llvm-commits
mailing list