revert
This commit is contained in:
parent
c78b0b752a
commit
9122d959e8
@ -507,7 +507,7 @@ GPUExpandEntry GPUHistEvaluator::EvaluateSingleSplit(Context const *ctx, Evaluat
|
|||||||
shared_inputs, dh::ToSpan(out_entries));
|
shared_inputs, dh::ToSpan(out_entries));
|
||||||
GPUExpandEntry root_entry;
|
GPUExpandEntry root_entry;
|
||||||
|
|
||||||
dh::safe_cuda(cudaMemcpy(&root_entry, out_entries.data().get(), sizeof(GPUExpandEntry),
|
dh::safe_cuda(cudaMemcpyAsync(&root_entry, out_entries.data().get(), sizeof(GPUExpandEntry),
|
||||||
cudaMemcpyDeviceToHost));
|
cudaMemcpyDeviceToHost));
|
||||||
return root_entry;
|
return root_entry;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user