File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 45
45
@test length (t) == 1
46
46
47
47
# this will trigger the scalar indexing of CuArray
48
- @test_broken t[1 ] == (
48
+ CUDA . @allowscalar @test t[1 ] == (
49
49
state= ones (Float32, 2 , 3 ),
50
50
next_state= ones (Float32, 2 , 3 ) * 2 ,
51
51
action= ones (Float32, 2 ),
70
70
@test length (t) == 3
71
71
72
72
# this will trigger the scalar indexing of CuArray
73
- @test_broken t[1 ] == (
73
+ CUDA . @allowscalar @test t[1 ] == (
74
74
state= ones (Float32, 2 , 3 ) * 2 ,
75
75
next_state= ones (Float32, 2 , 3 ) * 3 ,
76
76
action= ones (Float32, 2 ) * 2 ,
77
77
next_action= ones (Float32, 2 ) * 3 ,
78
78
reward= 2.0f0 ,
79
79
terminal= false ,
80
80
)
81
- @test_broken t[end ] == (
81
+ CUDA . @allowscalar @test t[end ] == (
82
82
state= ones (Float32, 2 , 3 ) * 4 ,
83
83
next_state= ones (Float32, 2 , 3 ) * 5 ,
84
84
action= ones (Float32, 2 ) * 4 ,
You can’t perform that action at this time.
0 commit comments