[all-commits] [llvm/llvm-project] dc30fa: [libc][fix] Call GPU destructors in the correct order
Joseph Huber via All-commits
all-commits at lists.llvm.org
Thu Nov 9 07:23:41 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: dc30fa6aca4bcd275082a6fc27ce287f3444ce30
https://github.com/llvm/llvm-project/commit/dc30fa6aca4bcd275082a6fc27ce287f3444ce30
Author: Joseph Huber <jhuber6 at vols.utk.edu>
Date: 2023-11-09 (Thu, 09 Nov 2023)
Changed paths:
M libc/startup/gpu/amdgpu/start.cpp
M libc/startup/gpu/nvptx/start.cpp
M libc/utils/gpu/loader/nvptx/Loader.cpp
Log Message:
-----------
[libc][fix] Call GPU destructors in the correct order
Summary:
I was mistakenly iterating the list backwards. Regular semantics puts
both arrays in priority order but the destructors are called backwards.
More information about the All-commits
mailing list