vetter / shoc

The SHOC Benchmark Suite
Other
247 stars 102 forks source link

Sort error handling #46

Open carpproject opened 10 years ago

carpproject commented 10 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.