[EM] Refactor GPU histogram builder. (#10764)
- Expose the maximum number of cached nodes to be consistent with the CPU implementation. Also easier for testing. - Extract the subtraction trick for easier testing. - Split up the `GradientQuantiser` to avoid circular dependency.
This commit is contained in:
@@ -232,12 +232,12 @@ Parameters for Tree Booster
|
||||
|
||||
* ``max_cached_hist_node``, [default = 65536]
|
||||
|
||||
Maximum number of cached nodes for CPU histogram.
|
||||
Maximum number of cached nodes for histogram.
|
||||
|
||||
.. versionadded:: 2.0.0
|
||||
|
||||
- For most of the cases this parameter should not be set except for growing deep trees
|
||||
on CPU.
|
||||
- For most of the cases this parameter should not be set except for growing deep
|
||||
trees. After 3.0, this parameter affects GPU algorithms as well.
|
||||
|
||||
.. _cat-param:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user