WARP_SIZE
This commit is contained in:
parent
768c8b298c
commit
9659d0e7bd
@ -21,7 +21,7 @@
|
|||||||
#define WAVEFRONT_SIZE __AMDGCN_WAVEFRONT_SIZE
|
#define WAVEFRONT_SIZE __AMDGCN_WAVEFRONT_SIZE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define WARP_SIZE WAVEFRONT_SIZE
|
#define WARP_SIZE 32
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
namespace xgboost::tree {
|
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,
|
__device__ DeviceSplitCandidate operator+(const DeviceSplitCandidate &a,
|
||||||
const DeviceSplitCandidate &b) {
|
const DeviceSplitCandidate &b) {
|
||||||
return b.loss_chg > a.loss_chg ? b : a;
|
return b.loss_chg > a.loss_chg ? b : a;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user