Skip to content

Commit

Permalink
w2r task should unlock the lock if readers are not 0
Browse files Browse the repository at this point in the history
Signed-off-by: Joseph Schuchart <[email protected]>
  • Loading branch information
devreal committed Oct 18, 2024
1 parent b98c6ee commit eee3bef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parsec/mca/device/transfer_gpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ parsec_gpu_create_w2r_task(parsec_device_gpu_module_t *gpu_device,
if (MAX_PARAM_COUNT == nb_cleaned)
break;
} else {
parsec_atomic_lock( &gpu_copy->original->lock );
parsec_atomic_unlock( &gpu_copy->original->lock );
}
}

Expand Down

0 comments on commit eee3bef

Please sign in to comment.