Skip to content

Commit

Permalink
fix matx util bug
Browse files Browse the repository at this point in the history
  • Loading branch information
cwharris committed Jan 31, 2024
1 parent 8414ad8 commit 41ea18b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion morpheus/_lib/src/utilities/matx_util.cu
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ struct MatxUtil__MatxThreshold
auto output_tensor = matx::make_tensor<bool>(static_cast<bool*>(output_data), output_shape);

// Convert max value to bool
(output_tensor = matx::rmax(input_tensor) > (InputT)threshold).run(stream.value());
(output_tensor = matx::rmax(input_tensor, {1}) > (InputT)threshold).run(stream.value());
}

/**
Expand Down

0 comments on commit 41ea18b

Please sign in to comment.