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 2292ba9 commit 7b881aaCopy full SHA for 7b881aa
deps/ReactantExtra/API.cpp
@@ -2008,7 +2008,7 @@ REACTANT_ABI bool ifrt_DeviceIsAddressable(ifrt::Device *device) {
2008
REACTANT_ABI int64_t ifrt_DeviceGetLocalHardwareId(ifrt::Device *device) {
2009
if (!llvm::isa<ifrt::PjRtDevice>(device)) {
2010
ReactantThrowError(
2011
- "ifrt_device_get_allocator_stats: only supported for ifrt-pjrt.");
+ "ifrt_DeviceGetLocalHardwareId: only supported for ifrt-pjrt.");
2012
}
2013
auto ifrt_pjrt_device = llvm::dyn_cast<ifrt::PjRtDevice>(device);
2014
return ifrt_pjrt_device->pjrt_device()->local_hardware_id().value();
0 commit comments