Skip to content

Commit

Permalink
Update common/components/warp_blas.hpp.inc
Browse files Browse the repository at this point in the history
Co-Authored-By: Thomas Grützmacher <thomas.gruetzmacher@kit.edu>
  • Loading branch information
yhmtsai and Thomas Grützmacher authored Apr 17, 2020
1 parent f89624b commit 953c3cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common/components/warp_blas.hpp.inc
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ __device__ __forceinline__ void copy_matrix(
const auto idx = group.shfl(col_perm, i);
if (group.thread_rank() < problem_size) {
// Need to assign a variable for the source_row, or hip
// will use a lot of VGPRs in unroll. This might lead a problem.
// will use a lot of VGPRs in unroll. This might lead to problems.
const auto val = source_row[i * increment];
destination[get_row_major_index<mod>(idx, row_perm, stride)] =
static_cast<ResultValueType>(val);
Expand Down Expand Up @@ -387,4 +387,4 @@ __device__ __forceinline__ remove_complex<ValueType> compute_infinity_norm(
}
return reduce(group, sum,
[](result_type x, result_type y) { return max(x, y); });
}
}

0 comments on commit 953c3cb

Please sign in to comment.