Unverified Commit 83788553 authored by M.Emin Ozturk's avatar M.Emin Ozturk Committed by GitHub
Browse files

Moficiation to fix this issue "threadwise_tensor_slice_transfer_v5r1 issue #1279" (#1492)



* issue fix, one line changed for tmp

* clang

---------
Co-authored-by: default avatarEmin Ozturk <emin.ozturk@utah.edu>
Co-authored-by: default avatarHarisankar Sadasivan <135730918+hsadasiv@users.noreply.github.com>
parent 5b10dae6
...@@ -315,7 +315,7 @@ struct ThreadwiseTensorSliceTransfer_v5r1 ...@@ -315,7 +315,7 @@ struct ThreadwiseTensorSliceTransfer_v5r1
forward_sweep_(I0) = true; forward_sweep_(I0) = true;
static_for<1, nDim, 1>{}([&](auto i) { static_for<1, nDim, 1>{}([&](auto i) {
index_t tmp = ordered_dst_access_idx[I0]; index_t tmp = 0;
static_for<0, i, 1>{}([&](auto j) { static_for<0, i, 1>{}([&](auto j) {
tmp = tmp * ordered_dst_access_lengths[j] + ordered_dst_access_idx[j]; tmp = tmp * ordered_dst_access_lengths[j] + ordered_dst_access_idx[j];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment