Previous patched addressed problems with the plugin's teardown order by
implementing a specific function used to initialize and uninitialize the
plugins. This allows us to more correctly control the teardown order.
This is important for handling device destructors which were previously
problematic as the runtime may have been unititialized prior to
attempting to run the destructors. This patch adds support for the new
init / deinit plugin functions to the CUDA and generic plugins. We can
now correctly test device destructors.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
This seems to cause problems for CUDA, we get a lot of errors about being unable to destroy a stream or an event.