Skip to content

Commit

Permalink
Merge pull request #682 from devreal/w2r-unlock-hotfix
Browse files Browse the repository at this point in the history
w2r task should unlock the lock if readers are not 0
  • Loading branch information
bosilca authored Oct 18, 2024
2 parents b98c6ee + eee3bef commit 2f417e9
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 2f417e9

Please sign in to comment.