Skip to content

Commit

Permalink
Performance tokens aren't available in ASE (#2163)
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-adler committed Aug 12, 2021
1 parent 55c2ba1 commit 197e19d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tools/extra/fpgadiag/src/nlb0.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ bool nlb0::setup()

bool nlb0::run()
{
auto fme_token = get_parent_token(accelerator_);
auto fme_token = !suppress_stats_ ? get_parent_token(accelerator_): nullptr;
shared_buffer::ptr_t inout; // shared workspace, if possible
shared_buffer::ptr_t inp; // input workspace
shared_buffer::ptr_t out; // output workspace
Expand Down
2 changes: 1 addition & 1 deletion tools/extra/fpgadiag/src/nlb3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ bool nlb3::setup()

bool nlb3::run()
{
auto fme_token = get_parent_token(accelerator_);
auto fme_token = !suppress_stats_ ? get_parent_token(accelerator_): nullptr;
shared_buffer::ptr_t ice;
shared_buffer::ptr_t inout; // shared workspace, if possible
shared_buffer::ptr_t inp; // input workspace
Expand Down

0 comments on commit 197e19d

Please sign in to comment.