Skip to content

Commit

Permalink
Don't to designator-style constructor in the example code
Browse files Browse the repository at this point in the history
  • Loading branch information
achirkin committed Oct 30, 2024
1 parent 1fb3b21 commit 05df7de
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/cpp/src/dynamic_batching_example.cu
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,8 @@ void dynamic_batching_example(

// You can implement job priorities by varying the deadlines of individual
// requests
dynamic_batching::search_params dynb_search_params{.soft_deadline_ms = 0.1};
dynamic_batching::search_params dynb_search_params;
dynb_search_params.soft_deadline_ms = 0.1;

// Define the big-batch setting as a baseline for measuring the throughput.
auto search_batch_orig =
Expand Down

0 comments on commit 05df7de

Please sign in to comment.