vetter/shoc

Sort error handling

carpproject opened this issue · 0 comments

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.