Skip to content

Commit

Permalink
Tool: Report devices if not found on finalize
Browse files Browse the repository at this point in the history
Signed-off-by: Jan André Reuter <j.reuter@fz-juelich.de>
  • Loading branch information
Thyre committed Oct 21, 2024
1 parent 4e24c5f commit b23e954
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/tool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1733,9 +1733,10 @@ callback_device_finalize( int device_num )
{
if constexpr ( mode > printf_mode::disable_output )
{
atomic_printf( "[%s] Device %d not found. "
atomic_printf( "[%s] Device %d not found. Number of devices: %d. "
"The runtime may have already cleaned up some state. Skip flushing buffers.\n",
__FUNCTION__,
devices.size(),
device_num );
}
return;
Expand Down

0 comments on commit b23e954

Please sign in to comment.