Skip to content

Commit 7b881aa

Browse files
committed
fix: incorrect error msg
1 parent 2292ba9 commit 7b881aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deps/ReactantExtra/API.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2008,7 +2008,7 @@ REACTANT_ABI bool ifrt_DeviceIsAddressable(ifrt::Device *device) {
20082008
REACTANT_ABI int64_t ifrt_DeviceGetLocalHardwareId(ifrt::Device *device) {
20092009
if (!llvm::isa<ifrt::PjRtDevice>(device)) {
20102010
ReactantThrowError(
2011-
"ifrt_device_get_allocator_stats: only supported for ifrt-pjrt.");
2011+
"ifrt_DeviceGetLocalHardwareId: only supported for ifrt-pjrt.");
20122012
}
20132013
auto ifrt_pjrt_device = llvm::dyn_cast<ifrt::PjRtDevice>(device);
20142014
return ifrt_pjrt_device->pjrt_device()->local_hardware_id().value();

0 commit comments

Comments
 (0)