Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Keluaa committed Jun 22, 2023
1 parent 9a09223 commit 491fed9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/views.jl
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ view_t = Kokkos.View{Float64, 2, Kokkos.LayoutRight, Kokkos.HostSpace}
@test Kokkos.cxx_type_name(view_t) == "Kokkos::View<double**, Kokkos::LayoutRight, Kokkos::Device<Kokkos::OpenMP, Kokkos::HostSpace>, Kokkos::MemoryTraits<0> >"
@test Kokkos.cxx_type_name(view_t(undef, 2, 2)) == Kokkos.cxx_type_name(view_t)
@test Kokkos.cxx_type_name(Kokkos.impl_view_type(view_t)) == Kokkos.cxx_type_name(view_t)
@test occursin("MemoryTraits", Kokkos.cxx_type_name(view_t, true)) # This should be broad enough to pass on all compilers
@test occursin("MemoryTraits", String(Kokkos.cxx_type_name(view_t, true))) # This should be broad enough to pass on all compilers


@testset "Deep copy" begin
Expand Down

0 comments on commit 491fed9

Please sign in to comment.