We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8191831 + 2f2433e commit 3b978d5Copy full SHA for 3b978d5
backends/vulkan/runtime/graph/ComputeGraph.cpp
@@ -866,10 +866,10 @@ void ComputeGraph::execute() {
866
// execute_initial_threshold_node_count or if its a multiple of
867
// execute_threshold_node_count.
868
const bool reached_threshold =
869
- encoded_node_count >= config_.execute_initial_threshold_node_count &&
+ encoded_node_count >= config_.execute_initial_threshold_node_count &&
870
((encoded_node_count - config_.execute_initial_threshold_node_count) %
871
- config_.execute_threshold_node_count ==
872
- 0);
+ config_.execute_threshold_node_count ==
+ 0);
873
874
// Create a new command buffer when threashold is reached
875
if (reached_threshold) {
0 commit comments