Skip to content

Commit 0e06a54

Browse files
up (#271)
1 parent 5b6d3ca commit 0e06a54

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

test/fit.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -694,9 +694,9 @@ end
694694
if CUDA.functional()
695695
push!(methods_vec, :CUDA)
696696
end
697-
#if Metal.functional()
698-
# push!(methods_vec, :Metal)
699-
#end
697+
if Metal.functional()
698+
push!(methods_vec, :Metal)
699+
end
700700
df = DataFrame(CSV.File(joinpath(dirname(pathof(FixedEffectModels)), "../dataset/EmplUK.csv")))
701701
for method in methods_vec
702702
# same thing with float32 precision

test/predict.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -399,9 +399,9 @@ end
399399
if CUDA.functional()
400400
push!(methods_vec, :CUDA)
401401
end
402-
#if Metal.functional()
403-
# push!(methods_vec, :Metal)
404-
#end
402+
if Metal.functional()
403+
push!(methods_vec, :Metal)
404+
end
405405
for method in methods_vec
406406
local model = @formula Sales ~ Price + fe(Year)
407407
local result = reg(df, model, save = true, method = method, double_precision = false)

test/runtests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using FixedEffectModels, Test
1+
using CUDA, Metal, FixedEffectModels, Test
22

33
@testset "formula" begin include("formula.jl") end
44
@testset "fit" begin include("fit.jl") end

0 commit comments

Comments
 (0)