Unverified Commit fac4e969 authored by Hashem Hashemi's avatar Hashem Hashemi Committed by GitHub
Browse files

small adjustment to wvSplitKrc (#34410)


Signed-off-by: default avatarHashem Hashemi <hashem.hashemi@amd.com>
parent 6d4e27ce
...@@ -1568,8 +1568,7 @@ __global__ void __launch_bounds__(WvPrGrp* THRDS) ...@@ -1568,8 +1568,7 @@ __global__ void __launch_bounds__(WvPrGrp* THRDS)
{ {
#endif #endif
unsigned int kOff = k + (thrd * A_CHUNK); unsigned int kOff = k + (thrd * A_CHUNK);
unsigned int kOffcp = unsigned int kOffcp = min__(K - A_CHUNK, k_str + kOff);
k_str + kOff; // min__(K - A_CHUNK, k_str + kOff);
for (unsigned int n = 0; n < N; n += CHUNKK * sprdN) { for (unsigned int n = 0; n < N; n += CHUNKK * sprdN) {
__builtin_amdgcn_global_load_lds( __builtin_amdgcn_global_load_lds(
(int*)(&A[min__( (int*)(&A[min__(
......
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