[all-commits] [llvm/llvm-project] dfc162: [libc] Free the GPU memory allocated in the device...
Joseph Huber via All-commits
all-commits at lists.llvm.org
Mon Apr 3 09:55:50 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: dfc162ad3fcb9636685ee99360cb1c4f5a56cd6b
https://github.com/llvm/llvm-project/commit/dfc162ad3fcb9636685ee99360cb1c4f5a56cd6b
Author: Joseph Huber <jhuber6 at vols.utk.edu>
Date: 2023-04-03 (Mon, 03 Apr 2023)
Changed paths:
M libc/utils/gpu/loader/amdgpu/Loader.cpp
M libc/utils/gpu/loader/nvptx/Loader.cpp
Log Message:
-----------
[libc] Free the GPU memory allocated in the device loaders
Summary:
This part was ignored and we just hoped that shutting down the runtime
freed these correctly. But it's best to be specific and free the memory
we've allocated.
More information about the All-commits
mailing list