Skip to content

Commit

Permalink
More fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
devmotion committed Oct 5, 2023
1 parent fd64c3f commit 437b27d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 0 additions & 4 deletions docs/src/internals.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ EvoTrees.update_gains!
EvoTrees.predict!
EvoTrees.subsample
EvoTrees.split_set_chunk!
EvoTrees.split_chunk_kernel!
```

## Histogram
Expand All @@ -28,7 +27,4 @@ EvoTrees.split_chunk_kernel!
EvoTrees.get_edges
EvoTrees.binarize
EvoTrees.update_hist!
EvoTrees.hist_kernel!
EvoTrees.hist_kernel_vec!
EvoTrees.predict_kernel!
```
4 changes: 2 additions & 2 deletions ext/EvoTreesCUDAExt/fit-utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ function split_chunk_kernel!(
return nothing
end

function split_views_kernel!(
function EvoTrees.split_views_kernel!(

Check warning on line 152 in ext/EvoTreesCUDAExt/fit-utils.jl

View check run for this annotation

Codecov / codecov/patch

ext/EvoTreesCUDAExt/fit-utils.jl#L152

Added line #L152 was not covered by tests
out::CuDeviceVector{S},
left::CuDeviceVector{S},
right::CuDeviceVector{S},
Expand Down Expand Up @@ -208,7 +208,7 @@ function split_set_threads_gpu!(out, left, right, is, x_bin, feat, cond_bin, fea
sum_lefts = sum(lefts)
cumsum_lefts = cumsum(lefts)
cumsum_rights = cumsum(rights)
@cuda blocks = nblocks threads = 1 split_views_kernel!(
@cuda blocks = nblocks threads = 1 EvoTrees.split_views_kernel!(

Check warning on line 211 in ext/EvoTreesCUDAExt/fit-utils.jl

View check run for this annotation

Codecov / codecov/patch

ext/EvoTreesCUDAExt/fit-utils.jl#L211

Added line #L211 was not covered by tests
out,
left,
right,
Expand Down

0 comments on commit 437b27d

Please sign in to comment.