Skip to content

Commit

Permalink
Fix nit: positive->non-zero
Browse files Browse the repository at this point in the history
Co-authored-by: Jason Lowe <[email protected]>
  • Loading branch information
abellina and jlowe authored Oct 18, 2022
1 parent 777d046 commit 40866b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion java/src/main/native/src/RmmJni.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ class java_event_handler_memory_resource final : public device_memory_resource {
void *do_allocate(std::size_t num_bytes, rmm::cuda_stream_view stream) override {
std::size_t total_before;
void *result;
// a positive retry_count signifies that the `on_alloc_fail`
// a non-zero retry_count signifies that the `on_alloc_fail`
// callback is being invoked while re-attempting an allocation
// that had previously failed.
int retry_count = 0;
Expand Down

0 comments on commit 40866b7

Please sign in to comment.