Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mehmetyusufoglu committed Apr 16, 2024
1 parent d154349 commit 3d3322e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion include/alpaka/kernel/KernelBundle.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ namespace alpaka
: m_kernelFn(kernelFn)
, m_args(std::forward<TArgs>(args)...)
{

}

using Acc = TAcc;
Expand Down
3 changes: 3 additions & 0 deletions include/alpaka/workdiv/WorkDivHelpers.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,9 @@ namespace alpaka
std::is_same_v<Idx<TThreadElemExtent>, Idx<TAcc>>,
"The idx type of TAcc and the idx type of TThreadElemExtent have to be identical!");

// Get kernel name and arguments from the bundle
// Call getMaxThreadPerBlockForKernel

if constexpr(Dim<TGridElemExtent>::value == 0)
{
auto const zero = Vec<DimInt<0>, Idx<TAcc>>{};
Expand Down

0 comments on commit 3d3322e

Please sign in to comment.