Skip to content

Commit

Permalink
Don't test Metal with opaque pointers.
Browse files Browse the repository at this point in the history
  • Loading branch information
maleadt committed Oct 26, 2023
1 parent 2a3d47e commit 25d5ecd
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,12 @@ runtests(GPUCompiler; nworkers=min(Sys.CPU_THREADS,4), nworker_threads=1,
return false
end

@dispose ctx=Context() begin
# XXX: some back-ends do not support opaque pointers
if ti.name in ["Metal"] && !supports_typed_pointers(ctx)
return false
end
end

true
end

0 comments on commit 25d5ecd

Please sign in to comment.