Skip to content

Commit

Permalink
fixup! Review updates
Browse files Browse the repository at this point in the history
  • Loading branch information
pratikvn committed Jan 16, 2024
1 parent 7a76df0 commit dc2862a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions dpcpp/base/batch_multi_vector_kernels.hpp.inc
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ __dpct_inline__ void scale_kernel(
const int row = li / x.num_rhs;
const int col = li % x.num_rhs;

x.values[row * x.stride + col] = alpha.values[map(row, col, stride)] *
x.values[row * x.stride + col];
x.values[row * x.stride + col] =
alpha.values[map(row, col, alpha.stride)] *
x.values[row * x.stride + col];
}
}

Expand Down

0 comments on commit dc2862a

Please sign in to comment.