Skip to content

Commit

Permalink
Merge pull request #490 from devreal/namespace-device-close
Browse files Browse the repository at this point in the history
Make sure namespace device is always closed
  • Loading branch information
evaleev authored Oct 29, 2024
2 parents 80fb0a7 + 93697b9 commit 5944bdb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/TiledArray/external/device.h
Original file line number Diff line number Diff line change
Expand Up @@ -915,10 +915,10 @@ inline umpire::Allocator& get_pinned_allocator::operator()() {
return deviceEnv::instance()->pinned_allocator();
}

} // namespace detail

#endif // TILEDARRAY_HAS_DEVICE

} // namespace detail

#ifdef TILEDARRAY_HAS_CUDA
namespace nvidia {

Expand Down

0 comments on commit 5944bdb

Please sign in to comment.