Skip to content

Commit

Permalink
Merge branch 'develop' into SYCL_USM
Browse files Browse the repository at this point in the history
  • Loading branch information
Parsifal-2045 committed Dec 19, 2022
2 parents f4cd6ce + bfaf9bf commit 15eb7aa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/alpaka/pltf/PltfGenericSycl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,9 @@ namespace alpaka
// Use destructor attribute to make sure our static variables are destroyed in the correct order at shutdown.
[[gnu::destructor]] static auto reset() -> void
{
# if ALPAKA_DEBUG >= ALPAKA_DEBUG_MINIMAL
std::cout << "Alpaka destructor " << core::demangled<TSelector> << std::endl;
# endif
auto lock
= std::scoped_lock<std::mutex, std::mutex, std::mutex>{platform_mutex, devices_mutex, context_mutex};
context_opt.reset();
Expand Down

0 comments on commit 15eb7aa

Please sign in to comment.