Skip to content

Commit c00cf40

Browse files
committed
update execution test
1 parent f835019 commit c00cf40

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

test/device/core.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -398,13 +398,13 @@ end
398398

399399
n = 1024
400400
tile_size = 32
401-
a = CUDA.rand(Float32, n)
402-
b = CUDA.rand(Float32, n)
401+
a = CUDA.rand(Float16, n)
402+
b = CUDA.rand(Float16, n)
403403
c = CUDA.zeros(Float32, n)
404404

405405
ct.launch(vadd_type_param, cld(n, tile_size), a, b, c, ct.Constant(tile_size), Float32)
406406

407-
@test Array(c) Array(a) + Array(b)
407+
@test Array(c) Float32.(Array(a)) + Float32.(Array(b))
408408
end
409409

410410
end

0 commit comments

Comments
 (0)