Skip to content

Fix get_device for multi-gpu

Codecov / codecov/patch succeeded Feb 27, 2024 in 0s

60.16% of diff hit (target 45.69%)

View this Pull Request on Codecov

60.16% of diff hit (target 45.69%)

Annotations

Check warning on line 26 in ext/LuxDeviceUtilsLuxAMDGPUExt.jl

See this annotation in the file changed.

@codecov codecov / codecov/patch

ext/LuxDeviceUtilsLuxAMDGPUExt.jl#L26

Added line #L26 was not covered by tests

Check warning on line 32 in ext/LuxDeviceUtilsLuxAMDGPUExt.jl

See this annotation in the file changed.

@codecov codecov / codecov/patch

ext/LuxDeviceUtilsLuxAMDGPUExt.jl#L32

Added line #L32 was not covered by tests

Check warning on line 45 in ext/LuxDeviceUtilsLuxAMDGPUExt.jl

See this annotation in the file changed.

@codecov codecov / codecov/patch

ext/LuxDeviceUtilsLuxAMDGPUExt.jl#L44-L45

Added lines #L44 - L45 were not covered by tests

Check warning on line 50 in ext/LuxDeviceUtilsLuxAMDGPUExt.jl

See this annotation in the file changed.

@codecov codecov / codecov/patch

ext/LuxDeviceUtilsLuxAMDGPUExt.jl#L47-L50

Added lines #L47 - L50 were not covered by tests

Check warning on line 26 in ext/LuxDeviceUtilsLuxCUDAExt.jl

See this annotation in the file changed.

@codecov codecov / codecov/patch

ext/LuxDeviceUtilsLuxCUDAExt.jl#L26

Added line #L26 was not covered by tests

Check warning on line 32 in ext/LuxDeviceUtilsLuxCUDAExt.jl

See this annotation in the file changed.

@codecov codecov / codecov/patch

ext/LuxDeviceUtilsLuxCUDAExt.jl#L32

Added line #L32 was not covered by tests

Check warning on line 45 in ext/LuxDeviceUtilsLuxCUDAExt.jl

See this annotation in the file changed.

@codecov codecov / codecov/patch

ext/LuxDeviceUtilsLuxCUDAExt.jl#L44-L45

Added lines #L44 - L45 were not covered by tests

Check warning on line 50 in ext/LuxDeviceUtilsLuxCUDAExt.jl

See this annotation in the file changed.

@codecov codecov / codecov/patch

ext/LuxDeviceUtilsLuxCUDAExt.jl#L47-L50

Added lines #L47 - L50 were not covered by tests

Check warning on line 10 in ext/LuxDeviceUtilsMetalGPUArraysExt.jl

See this annotation in the file changed.

@codecov codecov / codecov/patch

ext/LuxDeviceUtilsMetalGPUArraysExt.jl#L8-L10

Added lines #L8 - L10 were not covered by tests

Check warning on line 7 in ext/LuxDeviceUtilsSparseArraysExt.jl

See this annotation in the file changed.

@codecov codecov / codecov/patch

ext/LuxDeviceUtilsSparseArraysExt.jl#L7

Added line #L7 was not covered by tests

Check warning on line 20 in src/LuxDeviceUtils.jl

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/LuxDeviceUtils.jl#L20

Added line #L20 was not covered by tests

Check warning on line 35 in src/LuxDeviceUtils.jl

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/LuxDeviceUtils.jl#L33-L35

Added lines #L33 - L35 were not covered by tests

Check warning on line 41 in src/LuxDeviceUtils.jl

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/LuxDeviceUtils.jl#L38-L41

Added lines #L38 - L41 were not covered by tests

Check warning on line 45 in src/LuxDeviceUtils.jl

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/LuxDeviceUtils.jl#L44-L45

Added lines #L44 - L45 were not covered by tests

Check warning on line 50 in src/LuxDeviceUtils.jl

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/LuxDeviceUtils.jl#L47-L50

Added lines #L47 - L50 were not covered by tests

Check warning on line 55 in src/LuxDeviceUtils.jl

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/LuxDeviceUtils.jl#L52-L55

Added lines #L52 - L55 were not covered by tests

Check warning on line 60 in src/LuxDeviceUtils.jl

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/LuxDeviceUtils.jl#L60

Added line #L60 was not covered by tests

Check warning on line 62 in src/LuxDeviceUtils.jl

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/LuxDeviceUtils.jl#L62

Added line #L62 was not covered by tests

Check warning on line 65 in src/LuxDeviceUtils.jl

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/LuxDeviceUtils.jl#L65

Added line #L65 was not covered by tests

Check warning on line 71 in src/LuxDeviceUtils.jl

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/LuxDeviceUtils.jl#L71

Added line #L71 was not covered by tests

Check warning on line 170 in src/LuxDeviceUtils.jl

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/LuxDeviceUtils.jl#L170

Added line #L170 was not covered by tests

Check warning on line 177 in src/LuxDeviceUtils.jl

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/LuxDeviceUtils.jl#L177

Added line #L177 was not covered by tests

Check warning on line 186 in src/LuxDeviceUtils.jl

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/LuxDeviceUtils.jl#L186

Added line #L186 was not covered by tests

Check warning on line 243 in src/LuxDeviceUtils.jl

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/LuxDeviceUtils.jl#L243

Added line #L243 was not covered by tests

Check warning on line 303 in src/LuxDeviceUtils.jl

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/LuxDeviceUtils.jl#L303

Added line #L303 was not covered by tests