Skip to content

Commit

Permalink
Rollback some of the checks
Browse files Browse the repository at this point in the history
  • Loading branch information
GiackAloZ committed Oct 29, 2024
1 parent 484ee17 commit 73d15fa
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 27 deletions.
10 changes: 1 addition & 9 deletions test/ParallelKernel/test_allocators.jl
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,7 @@ end
@static if PKG_METAL in TEST_PACKAGES
import Metal
if !Metal.functional() TEST_PACKAGES = filter!(x->xPKG_METAL, TEST_PACKAGES) end
end
@static if PKG_METAL in TEST_PACKAGES
@static if Sys.isapple()
import Metal
if !Metal.functional() TEST_PACKAGES = filter!(x->xPKG_METAL, TEST_PACKAGES) end
@define_MtlCellArray
else
TEST_PACKAGES = filter!(x->xPKG_METAL, TEST_PACKAGES)
end
@define_MtlCellArray
end
@static if PKG_POLYESTER in TEST_PACKAGES
import Polyester
Expand Down
8 changes: 2 additions & 6 deletions test/ParallelKernel/test_kernel_language.jl
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,8 @@ end
if !AMDGPU.functional() TEST_PACKAGES = filter!(x->xPKG_AMDGPU, TEST_PACKAGES) end
end
@static if PKG_METAL in TEST_PACKAGES
@static if Sys.isapple()
import Metal
if !Metal.functional() TEST_PACKAGES = filter!(x->xPKG_METAL, TEST_PACKAGES) end
else
TEST_PACKAGES = filter!(x->xPKG_METAL, TEST_PACKAGES)
end
import Metal
if !Metal.functional() TEST_PACKAGES = filter!(x->xPKG_METAL, TEST_PACKAGES) end
end
@static if PKG_POLYESTER in TEST_PACKAGES
import Polyester
Expand Down
8 changes: 2 additions & 6 deletions test/ParallelKernel/test_parallel.jl
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,8 @@ end
if !AMDGPU.functional() TEST_PACKAGES = filter!(x->xPKG_AMDGPU, TEST_PACKAGES) end
end
@static if PKG_METAL in TEST_PACKAGES
@static if Sys.isapple()
import Metal
if !Metal.functional() TEST_PACKAGES = filter!(x->xPKG_METAL, TEST_PACKAGES) end
else
TEST_PACKAGES = filter!(x->xPKG_METAL, TEST_PACKAGES)
end
import Metal
if !Metal.functional() TEST_PACKAGES = filter!(x->xPKG_METAL, TEST_PACKAGES) end
end
@static if PKG_POLYESTER in TEST_PACKAGES
import Polyester
Expand Down
8 changes: 2 additions & 6 deletions test/test_parallel.jl
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,8 @@ end
if !AMDGPU.functional() TEST_PACKAGES = filter!(x->xPKG_AMDGPU, TEST_PACKAGES) end
end
@static if PKG_METAL in TEST_PACKAGES
@static if Sys.isapple()
import Metal
if !Metal.functional() TEST_PACKAGES = filter!(x->xPKG_METAL, TEST_PACKAGES) end
else
TEST_PACKAGES = filter!(x->xPKG_METAL, TEST_PACKAGES)
end
import Metal
if !Metal.functional() TEST_PACKAGES = filter!(x->xPKG_METAL, TEST_PACKAGES) end
end
@static if PKG_POLYESTER in TEST_PACKAGES
import Polyester
Expand Down

0 comments on commit 73d15fa

Please sign in to comment.