Skip to content

Commit

Permalink
Fix a typo in compitePi_homework
Browse files Browse the repository at this point in the history
  • Loading branch information
sbastrakov committed Jul 2, 2020
1 parent d8afaf8 commit 3b4baef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions computePi_homework/src/computePi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ struct PixelFinderKernelOnePointPerThread {
// This is a general version of the kernel that works for any work division.
// It employs a widely used approach to workload distribution in alpaka (and CUDA) kernels
// Note that this kernel does not employ the alpaka element layer yet
struct PixelFinderKernelMuptiplePointsPerThread {
struct PixelFinderKernelMultiplePointsPerThread {
template<typename Acc>
ALPAKA_FN_ACC void operator()(Acc const & acc, Points points, float r, uint32_t n) const
{
Expand All @@ -95,11 +95,11 @@ struct PixelFinderKernelMuptiplePointsPerThread {
}
};

// This is a general version of the PixelFinderKernelMuptiplePointsPerThread kernel,
// This is a general version of the PixelFinderKernelMultiplePointsPerThread kernel,
// which also employs alpaka element layer.
// It employs striding and loop blocking, to allow efficient processing
// on both CPUs and GPU with a proper choice of element extent
struct PixelFinderKernelMuptiplePointsPerThreadElements {
struct PixelFinderKernelMultiplePointsPerThreadElements {
template<typename Acc>
ALPAKA_FN_ACC void operator()(Acc const & acc, Points points, float r, uint32_t n) const
{
Expand Down

0 comments on commit 3b4baef

Please sign in to comment.