Skip to content

Commit

Permalink
review updates
Browse files Browse the repository at this point in the history
Co-authored-by: Yu-Hsiang M. Tsai <[email protected]>
  • Loading branch information
upsj and yhmtsai committed Jul 4, 2024
1 parent b8e2911 commit 87e2b57
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 0 additions & 2 deletions common/cuda_hip/components/atomic.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
namespace gko {
namespace kernels {
namespace GKO_DEVICE_NAMESPACE {


namespace detail {


Expand Down
4 changes: 2 additions & 2 deletions common/cuda_hip/components/reduction.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -260,8 +260,8 @@ __launch_bounds__(default_reduce_block_size) void reduce_add_array_with_initial_
* @return the reduction result
*/
template <typename ValueType>
__host__ ValueType reduce_add_array(std::shared_ptr<const DefaultExecutor> exec,
size_type size, const ValueType* source)
ValueType reduce_add_array(std::shared_ptr<const DefaultExecutor> exec,
size_type size, const ValueType* source)
{
auto block_results_val = source;
size_type grid_dim = size;
Expand Down
2 changes: 1 addition & 1 deletion common/cuda_hip/distributed/index_map_kernels.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -299,4 +299,4 @@ GKO_INSTANTIATE_FOR_EACH_LOCAL_GLOBAL_INDEX_TYPE(
} // namespace index_map
} // namespace GKO_DEVICE_NAMESPACE
} // namespace kernels
} // namespace gko
} // namespace gko

0 comments on commit 87e2b57

Please sign in to comment.