[llvm] [Offload] Have olMemFree accept a platform as a param (PR #157478)

Leandro Lacerda via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 9 09:29:10 PDT 2025


================
@@ -57,13 +57,13 @@ class DeviceContext {
   explicit DeviceContext(llvm::StringRef Platform, std::size_t DeviceId = 0);
 
   template <typename T>
-  ManagedBuffer<T> createManagedBuffer(std::size_t Size) const noexcept {
+  ManagedBuffer<T> createManagedBuffer(std::size_t Size) noexcept {
----------------
leandrolcampos wrote:

Hi @RossBrunton,
I'll take a look until the end of the day.

https://github.com/llvm/llvm-project/pull/157478


More information about the llvm-commits mailing list