Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions test/fit.jl
Original file line number Diff line number Diff line change
Expand Up @@ -694,9 +694,9 @@ end
if CUDA.functional()
push!(methods_vec, :CUDA)
end
#if Metal.functional()
# push!(methods_vec, :Metal)
#end
if Metal.functional()
push!(methods_vec, :Metal)
end
df = DataFrame(CSV.File(joinpath(dirname(pathof(FixedEffectModels)), "../dataset/EmplUK.csv")))
for method in methods_vec
# same thing with float32 precision
Expand Down
6 changes: 3 additions & 3 deletions test/predict.jl
Original file line number Diff line number Diff line change
Expand Up @@ -399,9 +399,9 @@ end
if CUDA.functional()
push!(methods_vec, :CUDA)
end
#if Metal.functional()
# push!(methods_vec, :Metal)
#end
if Metal.functional()
push!(methods_vec, :Metal)
end
for method in methods_vec
local model = @formula Sales ~ Price + fe(Year)
local result = reg(df, model, save = true, method = method, double_precision = false)
Expand Down
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using FixedEffectModels, Test
using CUDA, Metal, FixedEffectModels, Test

@testset "formula" begin include("formula.jl") end
@testset "fit" begin include("fit.jl") end
Expand Down