Skip to content

Commit

Permalink
Use a named constant for SMEM
Browse files Browse the repository at this point in the history
  • Loading branch information
bernhardmgruber committed Sep 9, 2024
1 parent 82ddfd2 commit 893eee1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cub/cub/device/dispatch/dispatch_transform.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ struct policy_hub<RequiresStableAddress, ::cuda::std::tuple<RandomAccessIterator
static constexpr bool exhaust_smem =
bulk_copy_smem_for_tile_size<RandomAccessIteratorsIn...>(
async_policy::block_threads * async_policy::min_items_per_thread)
> 48 * 1024;
> int{max_smem_per_block};
static constexpr bool any_type_is_overalinged =
# if _CCCL_STD_VER >= 2017
((alignof(value_t<RandomAccessIteratorsIn>) > bulk_copy_alignment) || ...);
Expand Down

0 comments on commit 893eee1

Please sign in to comment.