diff --git a/Project.toml b/Project.toml index 803eb90..6ee6608 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "AllocCheck" uuid = "9b6a8646-10ed-4001-bbdc-1d2f46dfbb1a" authors = ["JuliaHub Inc."] -version = "0.2.0" +version = "0.2.1" [deps] ExprTools = "e2ba6199-217a-4e67-a87a-7c52f15ade04" @@ -10,7 +10,7 @@ LLVM = "929cbde3-209d-540e-8aea-75f648917ca0" MacroTools = "1914dd2f-81c6-5fcd-8719-6d5c9610ff09" [compat] -GPUCompiler = "0.27" +GPUCompiler = "0.27,1" LLVM = "9.1" ExprTools = "0.1" MacroTools = "0.5" diff --git a/test/runtests.jl b/test/runtests.jl index d5c86c1..9869588 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -191,10 +191,10 @@ end @testset "Types of Allocations" begin if VERSION > v"1.11.0-DEV.753" @test any(x isa AllocatingRuntimeCall && x.name == "jl_genericmemory_copyto" - for x in check_allocs(copyto!, (Memory{Int}, Int, Memory{Int}, Int); ignore_throw = false)) + for x in check_allocs(copyto!, (Memory{Foo{Int}}, Int, Memory{Foo{Int}}, Int); ignore_throw = false)) @test !any(x isa AllocatingRuntimeCall && x.name == "jl_genericmemory_copyto" - for x in check_allocs(copyto!, (Memory{Int}, Int, Memory{Int}, Int); ignore_throw = true)) + for x in check_allocs(copyto!, (Memory{Foo{Int}}, Int, Memory{Foo{Int}}, Int); ignore_throw = true)) @test all(x isa AllocationSite && x.type == Memory{Int} # uses jl_alloc_genericmemory for x in check_allocs(Memory{Int}, (typeof(undef), Int); ignore_throw = false))