Skip to content

Commit

Permalink
Make Documenter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
devmotion committed Oct 5, 2023
1 parent 437b27d commit 1c391a8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 25 deletions.
12 changes: 2 additions & 10 deletions ext/EvoTreesCUDAExt/fit-utils.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
"""
hist_kernel!
"""
function hist_kernel!(h∇::CuDeviceArray{T,3}, ∇::CuDeviceMatrix{S}, x_bin, is, js) where {T,S}
tix, tiy, k = threadIdx().z, threadIdx().y, threadIdx().x
bdx, bdy = blockDim().z, blockDim().y
Expand Down Expand Up @@ -48,9 +45,6 @@ function update_hist_gpu!(h, h∇, ∇, x_bin, is, js, jsc)
return nothing
end

"""
hist_kernel_vec!
"""
function hist_kernel_vec!(h∇, ∇, x_bin, is)
tix, k = threadIdx().x, threadIdx().y
bdx = blockDim().x
Expand Down Expand Up @@ -103,10 +97,8 @@ function update_hist_gpu_vec!(h, h∇, ∇, x_bin, is, js::Vector)
return nothing
end

"""
Multi-threads split_set!
Take a view into left and right placeholders. Right ids are assigned at the end of the length of the current node set.
"""
# Multi-threads split_set!
# Take a view into left and right placeholders. Right ids are assigned at the end of the length of the current node set.
function split_chunk_kernel!(
left::CuDeviceVector{S},
right::CuDeviceVector{S},
Expand Down
18 changes: 3 additions & 15 deletions ext/EvoTreesCUDAExt/predict.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
"""
predict_kernel!
"""
function predict_kernel!(
::Type{L},
pred::CuDeviceMatrix{T},
Expand Down Expand Up @@ -28,10 +25,7 @@ function predict_kernel!(
return nothing
end

"""
predict_kernel!
GradientRegression
"""
# GradientRegression
function predict_kernel!(
::Type{<:EvoTrees.GradientRegression},
pred::CuDeviceMatrix{T},
Expand All @@ -56,10 +50,7 @@ function predict_kernel!(
return nothing
end

"""
predict_kernel!
Logistic
"""
# Logistic
function predict_kernel!(
::Type{<:EvoTrees.LogLoss},
pred::CuDeviceMatrix{T},
Expand All @@ -84,10 +75,7 @@ function predict_kernel!(
return nothing
end

"""
predict_kernel!
MLE2P
"""
# MLE2P
function predict_kernel!(
::Type{<:EvoTrees.MLE2P},
pred::CuDeviceMatrix{T},
Expand Down

0 comments on commit 1c391a8

Please sign in to comment.