Skip to content

Commit

Permalink
mark test broken
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas committed Nov 19, 2019
1 parent a5b3925 commit 29d90b2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions test/gpu_ode.jl
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ const dt = 1f-1
const tspan = (0.0f0, 10.0f0)

const odeoop = ODEProblem{false}(loop, SVector{3}(u0), (0.0f0, 10.0f0), Float32[10, 28, 8/3])
sol2 = solve(odeoop,GPUSimpleTsit5(),dt)
sol2 = solve(odeoop,GPUSimpleTsit5(),dt=dt)
cps = Array([@SVector [10f0,28f0,8/3f0] for i in 1:32])
ps = CuArray([@SVector [10f0,28f0,8/3f0] for i in 1:32])
CuArrays.allowscalar(false)

function f(p)
solve(odeoop,GPUSimpleTsit5(),dt)
solve(odeoop,GPUSimpleTsit5(),dt=dt)
end

map(f,cps)
Expand Down
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ end

callback_prob = ODEProblem(lorenz,u0,tspan,p,callback=ContinuousCallback(c_condition,c_affect!,save_positions=(false,false)))
callback_monteprob = EnsembleProblem(callback_prob, prob_func = prob_func)
solve(callback_monteprob,Tsit5(),EnsembleGPUArray(),trajectories=2,saveat=1.0f0)
@test_broken solve(callback_monteprob,Tsit5(),EnsembleGPUArray(),trajectories=2,saveat=1.0f0).retcode == :Success

#=
using OrdinaryDiffEq, LinearAlgebra, ParameterizedFunctions
Expand Down

0 comments on commit 29d90b2

Please sign in to comment.