Skip to content

Commit e56bd17

Browse files
committed
removing architecture-dependent types
1 parent 76d2a46 commit e56bd17

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

test/atomic_test.jl

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,6 @@ function atomics_testsuite(backend, ArrayT)
5555

5656
@testset "atomic addition tests" begin
5757
types = [Int32, Int64, UInt32, UInt64, Float32]
58-
if ArrayT == Array
59-
push!(types, Float64)
60-
push!(types, Float16)
61-
elseif ArrayT == CuArray
62-
CUDA.capability(CUDA.device()) >= v"6.0" && push!(types, Float64)
63-
CUDA.capability(CUDA.device()) >= v"7.0" && push!(types, Float16)
64-
end
6558

6659
for T in types
6760
A = ArrayT{T}([0,0])
@@ -198,11 +191,6 @@ function atomics_testsuite(backend, ArrayT)
198191

199192
@testset "atomic cas tests" begin
200193
types = [Int32, Int64, UInt32, UInt64]
201-
if ArrayT == Array
202-
push!(types, UInt16)
203-
elseif ArrayT == CuArray
204-
CUDA.capability(CUDA.device()) >= v"7.0" && push!(types, UInt16)
205-
end
206194

207195
for T in types
208196
A = ArrayT{T}([0,0])

0 commit comments

Comments
 (0)