llvm-project
032bea5e - [offload] add context to olMemAlloc* (#222677)

Commit
68 days ago
[offload] add context to olMemAlloc* (#222677) This is the last part of the context refactor. This patch: - Adds context param to all memory allocation functions. - Routes ptr info through the plugins instead of a global map. - Removes allocation tracking from liboffload. - olGetMemInfo(OL_MEM_INFO_DEVICE) now returns INVALID_ARGUMENT for host allocations, which have no per-device affinity. Assisted-by: Claude Opus 4.7
Author
Parents
Loading