We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 65286c4 commit c15a6c6Copy full SHA for c15a6c6
src/models/VecchiaMLE_NLPModel.jl
@@ -38,7 +38,7 @@ end
38
39
# Only two modes instantiated!!
40
VecchiaModelCPU(samples::Matrix{T}, k::Int, xyGrid::AbstractVector) where {T <: AbstractFloat} = VecchiaModel(Vector{Float64}, samples::Matrix{Float64}, k::Int, xyGrid::AbstractVector)
41
-VecchiaModelGPU(samples::CuMatrix{Float64}, k::Int, xyGrid::AbstractVector) = VecchiaModel(CuVector{Float64}, samples::AbstractMatrix, k::Int, xyGrid::AbstractVector)
+VecchiaModelGPU(samples::CuMatrix{Float64,B}, k::Int, xyGrid::AbstractVector) where {B} = VecchiaModel(CuVector{Float64,B}, samples::AbstractMatrix, k::Int, xyGrid::AbstractVector)
42
43
# Constructing the vecchia cache used everywhere in the code below.
44
function create_vecchia_cache(samples::AbstractMatrix, k::Int, ptGrid::AbstractVector, ::Type{S}) where {S <: AbstractVector}
0 commit comments