Browse Source

Increment num_errors in mp3-part2.cu

Reported by Daniel Chia
master
Jared Hoberock 15 years ago
parent
commit
58554cb312
  1. 1
      assignments/mp3/mp3-part2.cu

1
assignments/mp3/mp3-part2.cu

@ -146,6 +146,7 @@ int main(void) @@ -146,6 +146,7 @@ int main(void)
if(h_compacted_result[i] != h_validate_me[i])
{
std::cerr << "h_compacted_result[" << i << "]: " << h_compacted_result[i] << " d_compacted_result[" << i << "]: " << h_validate_me[i] << std::endl;
++num_errors;
}
if(num_errors == 10) break;

Loading…
Cancel
Save