@@ -4,26 +4,26 @@ using CUDA.CUSPARSE: CuSparseDeviceVector, CuSparseDeviceMatrixCSC, CuSparseDevi
4
4
CuSparseDeviceMatrixBSR, CuSparseDeviceMatrixCOO
5
5
6
6
@testset " cudaconvert" begin
7
- @test isbitstype (CuSparseDeviceVector{Float32, Cint, CUDA . AS. Global})
8
- @test isbitstype (CuSparseDeviceMatrixCSC{Float32, Cint, CUDA . AS. Global})
9
- @test isbitstype (CuSparseDeviceMatrixCSR{Float32, Cint, CUDA . AS. Global})
10
- @test isbitstype (CuSparseDeviceMatrixBSR{Float32, Cint, CUDA . AS. Global})
11
- @test isbitstype (CuSparseDeviceMatrixCOO{Float32, Cint, CUDA . AS. Global})
7
+ @test isbitstype (CuSparseDeviceVector{Float32, Cint, AS. Global})
8
+ @test isbitstype (CuSparseDeviceMatrixCSC{Float32, Cint, AS. Global})
9
+ @test isbitstype (CuSparseDeviceMatrixCSR{Float32, Cint, AS. Global})
10
+ @test isbitstype (CuSparseDeviceMatrixBSR{Float32, Cint, AS. Global})
11
+ @test isbitstype (CuSparseDeviceMatrixCOO{Float32, Cint, AS. Global})
12
12
13
13
V = sprand (10 , 0.5 )
14
14
cuV = CuSparseVector (V)
15
- @test cudaconvert (cuV) isa CuSparseDeviceVector{Float64, Cint, 1 }
15
+ @test cudaconvert (cuV) isa CuSparseDeviceVector{Float64, Cint, AS . Global }
16
16
17
17
A = sprand (10 , 10 , 0.5 )
18
18
cuA = CuSparseMatrixCSC (A)
19
- @test cudaconvert (cuA) isa CuSparseDeviceMatrixCSC{Float64, Cint, 1 }
19
+ @test cudaconvert (cuA) isa CuSparseDeviceMatrixCSC{Float64, Cint, AS . Global }
20
20
21
21
cuA = CuSparseMatrixCSR (A)
22
- @test cudaconvert (cuA) isa CuSparseDeviceMatrixCSR{Float64, Cint, 1 }
22
+ @test cudaconvert (cuA) isa CuSparseDeviceMatrixCSR{Float64, Cint, AS . Global }
23
23
24
24
cuA = CuSparseMatrixCOO (A)
25
- @test cudaconvert (cuA) isa CuSparseDeviceMatrixCOO{Float64, Cint, 1 }
25
+ @test cudaconvert (cuA) isa CuSparseDeviceMatrixCOO{Float64, Cint, AS . Global }
26
26
27
27
cuA = CuSparseMatrixBSR (A, 2 )
28
- @test cudaconvert (cuA) isa CuSparseDeviceMatrixBSR
28
+ @test cudaconvert (cuA) isa CuSparseDeviceMatrixBSR{Float64, Cint, AS . Global}
29
29
end
0 commit comments