Skip to content

Commit 4a8e707

Browse files
committed
Disable groupreduce tests for CPU
1 parent 224e8c8 commit 4a8e707

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

test/testsuite.jl

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,11 @@ function testsuite(backend, backend_str, backend_mod, AT, DAT; skip_tests = Set{
9393
examples_testsuite(backend_str)
9494
end
9595

96-
@conditional_testset "@groupreduce" skip_tests begin
97-
groupreduce_testsuite(backend, AT)
96+
# TODO @index(Local) only works as a top-level expression on CPU.
97+
if backend != CPU
98+
@conditional_testset "@groupreduce" skip_tests begin
99+
groupreduce_testsuite(backend, AT)
100+
end
98101
end
99102

100103
return

0 commit comments

Comments
 (0)