[all-commits] [llvm/llvm-project] c8986d: [Offload] Guard olMemAlloc/Free with a mutex (#153...

Ross Brunton via All-commits all-commits at lists.llvm.org
Wed Aug 20 05:24:20 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c8986d1ecbcd50a00ecdb7887f7d43141de3196a
      https://github.com/llvm/llvm-project/commit/c8986d1ecbcd50a00ecdb7887f7d43141de3196a
  Author: Ross Brunton <ross at codeplay.com>
  Date:   2025-08-20 (Wed, 20 Aug 2025)

  Changed paths:
    M offload/liboffload/src/OffloadImpl.cpp

  Log Message:
  -----------
  [Offload] Guard olMemAlloc/Free with a mutex (#153786)

Both these functions update an `AllocInfoMap` structure in the context,
however they did not use any locks, causing random failures in threaded
code. Now they use a mutex.



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