Skip to content

Commit 1661aab

Browse files
author
Alexis Montoison
committed
Update benchmarks/cpu_vs_gpu.jl
1 parent 8f3eaf6 commit 1661aab

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

benchmarks/cpu_vs_gpu.jl

+9-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
1-
using CompressedSensingIPM
1+
using CompressedSensingIPM, FFTW
2+
using MadNLP, MadNLPGPU
3+
4+
function ipm_solve!(solver::MadNLP.MadNLPSolver)
5+
MadNLP.print_init(solver)
6+
MadNLP.initialize!(solver)
7+
MadNLP.regular!(solver)
8+
return MadNLP.MadNLPExecutionStats(solver)
9+
end
210

311
include("../test/fft_wei.jl")
412
include("../test/punching_centering.jl")

0 commit comments

Comments
 (0)