Skip to content

Commit cac8eae

Browse files
committed
fix: apply suggestion from @avik-pal [skp ci]
1 parent bb2b6d5 commit cac8eae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/xla/IFRT/Device.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ function XLA.get_local_device_id(::Device)
3131
return error("Not implemented for ifrt devices")
3232
end
3333

34-
function XLA.get_local_hardware_id(::Device)
34+
function XLA.get_local_hardware_id(device::Device)
3535
GC.@preserve device begin
3636
return @ccall MLIR.API.mlir_c.ifrt_DeviceGetLocalHardwareId(
3737
device.device::Ptr{Cvoid}

0 commit comments

Comments
 (0)