Skip to content

Commit

Permalink
Rename maxActiveBlocks trait
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelVarvarin committed Aug 11, 2024
1 parent 94f07a9 commit c6c12fd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/alpaka/kernel/Traits.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ namespace alpaka

//! Get maximum requested blocks for cooperative kernel trait.
template<typename TAcc, typename TDev, typename TKernelFnObj, typename TDim, typename TIdx, typename... TArgs>
struct maxActiveBlocks;
struct MaxActiveBlocks;

//! The trait for getting the size of the block shared dynamic memory of a kernel.
//!
Expand Down Expand Up @@ -247,7 +247,7 @@ namespace alpaka
alpaka::Vec<TDim, TIdx> const& threadElemExtent,
TArgs const&... args) -> int
{
return trait::maxActiveBlocks<TAcc, TDev, TKernelFnObj, TDim, TIdx, TArgs...>::getMaxActiveBlocks(
return trait::MaxActiveBlocks<TAcc, TDev, TKernelFnObj, TDim, TIdx, TArgs...>::getMaxActiveBlocks(
kernelFnObj,
device,
blockThreadExtent,
Expand Down Expand Up @@ -284,7 +284,7 @@ namespace alpaka
{
auto const v_blockThreadExtent = Vec<DimInt<1>, TIdx>(blockThreadExtent);
auto const v_threadElemExtent = Vec<DimInt<1>, TIdx>(threadElemExtent);
return trait::maxActiveBlocks<TAcc, TDev, TKernelFnObj, DimInt<1>, TIdx, TArgs...>::getMaxActiveBlocks(
return trait::MaxActiveBlocks<TAcc, TDev, TKernelFnObj, DimInt<1>, TIdx, TArgs...>::getMaxActiveBlocks(
kernelFnObj,
device,
v_blockThreadExtent,
Expand Down

0 comments on commit c6c12fd

Please sign in to comment.