We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2af2fb commit d216ba3Copy full SHA for d216ba3
src/xla/IFRT/Device.jl
@@ -31,7 +31,7 @@ function XLA.get_local_device_id(::Device)
31
return error("Not implemented for ifrt devices")
32
end
33
34
-function XLA.get_local_hardware_id(::Device)
+function XLA.get_local_hardware_id(device::Device)
35
GC.@preserve device begin
36
return @ccall MLIR.API.mlir_c.ifrt_DeviceGetLocalHardwareId(
37
device.device::Ptr{Cvoid}
0 commit comments