vetter / shoc

The SHOC Benchmark Suite
Other
243 stars 104 forks source link

Sort error handling #46

Open carpproject opened 9 years ago

carpproject commented 9 years ago

Sort benchmark doesnt't handle errors propery:

  1. The result of the clEnqueueNDRangeKernel calls is not checked (the err variable is just overwritten by following calls).
  2. The output buffer is initialized with sorted data, which allows benchmark to pass even if no all enqueu calls failed.