Skip to content

Commit

Permalink
Fix CI. (#627)
Browse files Browse the repository at this point in the history
  • Loading branch information
maleadt authored Sep 11, 2024
1 parent cbff0d4 commit 160d9a4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
arch: ${{ matrix.arch }}

# set-up packages
- julia-actions/cache@v2
- uses: julia-actions/cache@v2
- uses: julia-actions/julia-buildpkg@v1

- name: Run tests
Expand Down
10 changes: 5 additions & 5 deletions test/util_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ end
@testset "mangle" begin
struct XX{T} end
# values checked with c++filt / cu++filt
@test GPUCompiler.mangle_sig(Tuple{typeof(sin), XX{false}}) == "_Z3sin2XXILb0EE" # "sin(XX<false>)"
@test GPUCompiler.mangle_sig(Tuple{typeof(sin), XX{true}}) == "_Z3sin2XXILb1EE" # "sin(XX<true>)"
@test GPUCompiler.mangle_sig(Tuple{typeof(sin), XX{Int64(10)}}) == "_Z3sin2XXILl10EE" # "sin(XX<10l>)"
@test GPUCompiler.mangle_sig(Tuple{typeof(sin), XX{Int64(0)}}) == "_Z3sin2XXILl0EE" # "sin(XX<0l>)"
@test GPUCompiler.mangle_sig(Tuple{typeof(sin), XX{Int64(-10)}}) == "_Z3sin2XXILln10EE" # "sin(XX<-10l>)"
@test GPUCompiler.mangle_sig(Tuple{typeof(sin), XX{false}}) == "_Z3sin2XXILb0EE" # "sin(XX<false>)"
@test GPUCompiler.mangle_sig(Tuple{typeof(sin), XX{true}}) == "_Z3sin2XXILb1EE" # "sin(XX<true>)"
@test GPUCompiler.mangle_sig(Tuple{typeof(sin), XX{Cshort(10)}}) == "_Z3sin2XXILs10EE" # "sin(XX<(short)10>)"
@test GPUCompiler.mangle_sig(Tuple{typeof(sin), XX{Cshort(0)}}) == "_Z3sin2XXILs0EE" # "sin(XX<(short)l>)"
@test GPUCompiler.mangle_sig(Tuple{typeof(sin), XX{Cshort(-10)}}) == "_Z3sin2XXILsn10EE" # "sin(XX<(short)-10>)"
end

@testset "safe loggers" begin
Expand Down

0 comments on commit 160d9a4

Please sign in to comment.