Skip to content

Commit

Permalink
Fix sycl.large_team_scratch_size
Browse files Browse the repository at this point in the history
  • Loading branch information
masterleinad committed Mar 13, 2023
1 parent 43b0245 commit bb8a96b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions core/src/SYCL/Kokkos_SYCL_Team.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -337,10 +337,11 @@ class SYCLTeamMember {
// Private for the driver

KOKKOS_INLINE_FUNCTION
SYCLTeamMember(sycl::local_ptr<void> shared, const int shared_begin,
const int shared_size,
SYCLTeamMember(sycl::local_ptr<void> shared, const std::size_t shared_begin,
const std::size_t shared_size,
sycl::device_ptr<void> scratch_level_1_ptr,
const int scratch_level_1_size, const sycl::nd_item<2> item)
const std::size_t scratch_level_1_size,
const sycl::nd_item<2> item)
: m_team_reduce(shared),
m_team_shared(static_cast<sycl::local_ptr<char>>(shared) + shared_begin,
shared_size, scratch_level_1_ptr, scratch_level_1_size),
Expand Down

0 comments on commit bb8a96b

Please sign in to comment.