Skip to content

Commit

Permalink
Fixing of the compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry.razdoburdin committed Feb 3, 2022
1 parent 25dac58 commit e18e342
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/updater_oneapi/updater_quantile_hist_oneapi.cc
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,7 @@ bool GPUQuantileHistMakerOneAPI::Builder<GradientSumT>::UpdatePredictionCache(

CHECK_GT(out_preds.Size(), 0U);

const size_t stride = out_preds.Stride(0)
const size_t stride = out_preds.Stride(0);
const int buffer_size = out_preds.Size()*stride - stride + 1;
sycl::buffer<float, 1> out_preds_buf(&out_preds(0), buffer_size);

Expand Down

0 comments on commit e18e342

Please sign in to comment.