Fix hip_mbcnt test typo

Ctest did not catch this test failure. When running this test manually before typo, I got __mbcnt_hi() FAILED! . This fix will fix this test for HCC and HIP clang path.

[ROCm/hip commit: aa05779c64]
Tá an tiomantas seo le fáil i:
Aaron Enye Shi
2018-07-06 11:26:48 -04:00
tiomanta ag GitHub
tuismitheoir f9ea86e749
tiomantas 9998b882bb
+1 -1
Féach ar an gComhad
@@ -88,7 +88,7 @@ int main() {
for (unsigned int i = 0; i < num_threads; i++) {
unsigned int this_lane_id = i % wave_size;
unsigned int this_mbcnt_lo = this_lane_id >= 32 ? 32 : this_lane_id;
unsigned int this_mbcnt_hi = this_lane_id < 32 ? 0 : (this_lane_id - 22);
unsigned int this_mbcnt_hi = this_lane_id < 32 ? 0 : (this_lane_id - 32);
if (host_mbcnt_lo[i] != this_mbcnt_lo)
mbcnt_lo_errors++;