Skip to content

Commit

Permalink
Make tile_size_v device-accessible only
Browse files Browse the repository at this point in the history
  • Loading branch information
sleeepyjack committed Oct 1, 2024
1 parent b6ec260 commit 70de880
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/cuco/detail/utility/cuda.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ struct tile_size<cooperative_groups::thread_block_tile<CGSize, ParentCG>> {
};

template <typename Tile>
constexpr uint32_t tile_size_v = tile_size<Tile>::value;
__device__ constexpr uint32_t tile_size_v = tile_size<Tile>::value;

} // namespace detail
} // namespace cuco

0 comments on commit 70de880

Please sign in to comment.