Skip to content

Commit

Permalink
Include kernel argument index in multiple buffer_location warning
Browse files Browse the repository at this point in the history
This amends #109

Signed-off-by: Peter Colberg <peter.colberg@intel.com>
  • Loading branch information
pcolberg committed Apr 29, 2022
1 parent 6a21345 commit e1ff665
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/acl_auto_configure.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -548,8 +548,9 @@ static bool read_kernel_args(const std::string &config_str,
buffer_location, counters);
}
if (result && num_buffer_locations > 1) {
std::cerr << "WARNING: kernel argument has multiple buffer_location "
"attributes which is not supported.\nSelecting "
std::cerr << "WARNING: kernel argument " << j
<< " has multiple buffer_location attributes which is not "
"supported.\nSelecting "
<< buffer_location << " as buffer location.\n";
}
}
Expand Down

0 comments on commit e1ff665

Please # to comment.