Skip to content

Commit

Permalink
Fix conditional use of pinned allocator on devices
Browse files Browse the repository at this point in the history
Signed-off-by: Joseph Schuchart <[email protected]>
  • Loading branch information
devreal committed Aug 14, 2024
1 parent c0cabfa commit a15f724
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/spmm/spmm.cc
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,8 @@ using blk_t = DeviceTensor<scalar_t, btas::DEFAULT::range,
btas::mohndle<btas::varray<scalar_t
#if HAVE_SPMM_DEVICE
, TiledArray::device_pinned_allocator<scalar_t>
#else // HAVE_SPMM_DEVICE
>,
#endif // HAVE_SPMM_DEVICE
>,
btas::Handle::shared_ptr>>;
//#include <atomic>
//static std::atomic<uint64_t> reduce_count = 0;
Expand Down

0 comments on commit a15f724

Please sign in to comment.