File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ EXAMPLES_DIR = joinpath(examples_dir(), "p4est_2d_dgsem")
1919 # Expected errors are exactly the same as with TreeMesh!
2020 l2= [8.311947673061856e-6 ],
2121 linf= [6.627000273229378e-5 ],
22- real_type= Float32 ,
22+ real_type= Float64 ,
2323 storage_type= CuArray)
2424 # # Ensure that we do not have excessive memory allocations
2525 # # (e.g., from type instabilities)
@@ -34,6 +34,17 @@ EXAMPLES_DIR = joinpath(examples_dir(), "p4est_2d_dgsem")
3434 @test real (ode. p. solver. mortar) == Float32
3535 # TODO : remake ignores the mesh itself as well
3636 @test real (ode. p. mesh) == Float64
37+
38+ @test_broken ode. u0 isa CuArray
39+ @test ode. p. basis. boundary_interpolations isa CuArray
40+ @test ode. p. basis. derivative_matrix isa CuArray
41+
42+ @test ode. p. basis. forward_upper isa CuArray
43+
44+ @test Trixi. storage_type (ode. p. cache. elements) === CuArray
45+ @test Trixi. storage_type (ode. p. cache. interfaces) === CuArray
46+ @test Trixi. storage_type (ode. p. cache. boundaries) === CuArray
47+ @test Trixi. storage_type (ode. p. cache. mortrar) === CuArray
3748end
3849
3950# Clean up afterwards: delete Trixi.jl output directory
You can’t perform that action at this time.
0 commit comments