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 a270ce4 commit da79234Copy full SHA for da79234
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