| commit | 9e5d8bd3d1ecd512be3dfa233bc41f32e26c750a | [log] [tgz] |
|---|---|---|
| author | Ross Brunton <ross@codeplay.com> | Fri Aug 29 09:39:00 2025 +0100 |
| committer | GitHub <noreply@github.com> | Fri Aug 29 09:39:00 2025 +0100 |
| tree | 6b95043d34994dc28ebcd1d200e4a18bb3562544 | |
| parent | 4cf9720171208276b0ac6ee74fb2e5e81269e7cc [diff] |
[Offload] Improve `olDestroyQueue` logic (#153041) Previously, `olDestroyQueue` would not actually destroy the queue, instead leaving it for the device to clean up when it was destroyed. Now, the queue is either released immediately if it is complete or put into a list of "pending" queues if it is not. Whenever we create a new queue, we check this list to see if any are now completed. If there are any we release their resources and use them instead of pulling from the pool. This prevents long running programs that create and drop many queues without syncing them from leaking memory all over the place.
Welcome to the LLVM project!
This repository contains the source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and run-time environments.
The LLVM project has multiple components. The core of the project is itself called “LLVM”. This contains all of the tools, libraries, and header files needed to process intermediate representations and convert them into object files. Tools include an assembler, disassembler, bitcode analyzer, and bitcode optimizer.
C-like languages use the Clang frontend. This component compiles C, C++, Objective-C, and Objective-C++ code into LLVM bitcode -- and from there into object files, using LLVM.
Other components include: the libc++ C++ standard library, the LLD linker, and more.
Consult the Getting Started with LLVM page for information on building and running LLVM.
For information on how to contribute to the LLVM project, please take a look at the Contributing to LLVM guide.
Join the LLVM Discourse forums, Discord chat, LLVM Office Hours or Regular sync-ups.
The LLVM project has adopted a code of conduct for participants to all modes of communication within the project.