Skip to content

Commit aed2acc

Browse files
committed
Try with cpu=true
1 parent 46e8f03 commit aed2acc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/host/reverse.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ function _reverse(input::AnyGPUArray{T, N}, output::AnyGPUArray{T, N};
1616
nd_idx = CartesianIndices(input)
1717

1818
## COV_EXCL_START
19-
@kernel cpu=false unsafe_indices=true function kernel(input::AbstractArray{T, N}, output::AbstractArray{T, N}) where {T, N}
19+
@kernel unsafe_indices=true function kernel(input::AbstractArray{T, N}, output::AbstractArray{T, N}) where {T, N}
2020
offset_in = @groupsize()[1] * (@index(Group, Linear) - 1i32)
2121
index_in = offset_in + @index(Local, Linear)
2222

@@ -54,7 +54,7 @@ function _reverse!(data::AnyGPUArray{T, N}; dims=1:ndims(data)) where {T, N}
5454
nd_idx = CartesianIndices(reduced_size)
5555

5656
## COV_EXCL_START
57-
@kernel cpu=false unsafe_indices=true function kernel(data::AbstractArray{T, N}) where {T, N}
57+
@kernel unsafe_indices=true function kernel(data::AbstractArray{T, N}) where {T, N}
5858
offset_in = @groupsize()[1] * (@index(Group, Linear) - 1i32)
5959

6060
index_in = offset_in + threadIdx().x

0 commit comments

Comments
 (0)