macro format
This commit is contained in:
@@ -61,7 +61,7 @@ inline void FitStump(Context const*, linalg::TensorView<GradientPair const, 2>,
|
||||
linalg::VectorView<float>) {
|
||||
common::AssertGPUSupport();
|
||||
}
|
||||
#endif // !defined(XGBOOST_USE_CUDA) && !defined(XGBOOST_USE_C
|
||||
#endif // !defined(XGBOOST_USE_CUDA) && !defined(XGBOOST_USE_HIP)
|
||||
} // namespace cuda_impl
|
||||
|
||||
void FitStump(Context const* ctx, HostDeviceVector<GradientPair> const& gpair,
|
||||
|
||||
@@ -124,7 +124,7 @@ void SortPositionBatch(common::Span<const PerNodeData<OpDataT>> d_batch_info,
|
||||
dh::device_vector<int8_t>* tmp,
|
||||
#if defined(XGBOOST_USE_HIP)
|
||||
hipStream_t stream
|
||||
#else
|
||||
#elif defined(XGBOOST_USE_CUDA)
|
||||
cudaStream_t stream
|
||||
#endif
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user