diff --git a/parsec/mca/device/transfer_gpu.c b/parsec/mca/device/transfer_gpu.c index d46c8ab96..986cda05e 100644 --- a/parsec/mca/device/transfer_gpu.c +++ b/parsec/mca/device/transfer_gpu.c @@ -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 ); } }