make gpu(x) = gpu_device()(x)
#2502
45.45% of diff hit (target 34.58%)
View this Pull Request on Codecov
45.45% of diff hit (target 34.58%)
Annotations
Check warning on line 16 in ext/FluxAMDGPUExt/functor.jl
codecov / codecov/patch
ext/FluxAMDGPUExt/functor.jl#L15-L16
Added lines #L15 - L16 were not covered by tests
Check warning on line 34 in ext/FluxAMDGPUExt/functor.jl
codecov / codecov/patch
ext/FluxAMDGPUExt/functor.jl#L34
Added line #L34 was not covered by tests
Check warning on line 137 in src/deprecations.jl
codecov / codecov/patch
src/deprecations.jl#L137
Added line #L137 was not covered by tests
Check warning on line 139 in src/deprecations.jl
codecov / codecov/patch
src/deprecations.jl#L139
Added line #L139 was not covered by tests
Check warning on line 144 in src/deprecations.jl
codecov / codecov/patch
src/deprecations.jl#L144
Added line #L144 was not covered by tests