Skip to content

Commit 7da397e

Browse files
committed
Remove CPU(static=true) test
1 parent 03a2c55 commit 7da397e

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

test/runtests.jl

-9
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,6 @@ include("testsuite.jl")
1010
Testsuite.testsuite(CPU, "CPU", Base, Array, CPUBackendArray)
1111
end
1212

13-
@kernel function kern_static(A)
14-
I = @index(Global)
15-
A[I] = Threads.threadid()
16-
end
17-
18-
A = zeros(Int, Threads.nthreads())
19-
kern_static(CPU(static = true), (1,))(A, ndrange = length(A))
20-
@test A == 1:Threads.nthreads()
21-
2213
if Base.JLOptions().check_bounds == 0 || Base.JLOptions().check_bounds == 1
2314
# testing bounds errors
2415
@kernel inbounds = false function my_bounded_kernel(a)

0 commit comments

Comments
 (0)