Merge pull request #555 from ROCm-Developer-Tools/fix-test-mbcnt

Fix hip_mbcnt test typo
Этот коммит содержится в:
Maneesh Gupta
2018-07-11 13:08:59 +05:30
коммит произвёл GitHub
родитель 8820eee3a2 757eeccdc7
Коммит 11ae85e7e3
+1 -1
Просмотреть файл
@@ -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++;