WARP_SIZE
This commit is contained in:
parent
768c8b298c
commit
9659d0e7bd
@ -21,7 +21,7 @@
|
||||
#define WAVEFRONT_SIZE __AMDGCN_WAVEFRONT_SIZE
|
||||
#endif
|
||||
|
||||
#define WARP_SIZE WAVEFRONT_SIZE
|
||||
#define WARP_SIZE 32
|
||||
#endif
|
||||
|
||||
namespace xgboost::tree {
|
||||
@ -332,14 +332,6 @@ __global__ __launch_bounds__(kBlockSize) void EvaluateSplitsKernel(
|
||||
}
|
||||
}
|
||||
|
||||
template __global__ void EvaluateSplitsKernel<64>(
|
||||
bst_feature_t max_active_features,
|
||||
common::Span<const EvaluateSplitInputs> d_inputs,
|
||||
const EvaluateSplitSharedInputs shared_inputs,
|
||||
common::Span<bst_feature_t> sorted_idx,
|
||||
const TreeEvaluator::SplitEvaluator<GPUTrainingParam> evaluator,
|
||||
common::Span<DeviceSplitCandidate> out_candidates);
|
||||
|
||||
__device__ DeviceSplitCandidate operator+(const DeviceSplitCandidate &a,
|
||||
const DeviceSplitCandidate &b) {
|
||||
return b.loss_chg > a.loss_chg ? b : a;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user