Skip to content

Commit

Permalink
Merge pull request #419 from abouteiller/hotfix/3.x/max_flows_extern
Browse files Browse the repository at this point in the history
hotfix: duplicate variable d2h_max_flows
  • Loading branch information
bosilca committed Aug 16, 2022
2 parents 5ef3d3e + d399b4f commit cc054bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion parsec/mca/device/cuda/device_cuda_component.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ int parsec_cuda_output_stream = -1;

int32_t parsec_CUDA_sort_pending_list = 0;

int32_t parsec_CUDA_d2h_max_flows;
int32_t parsec_CUDA_d2h_max_flows = 0;
char* cuda_lib_path = NULL;

#if defined(PARSEC_PROF_TRACE)
Expand Down
2 changes: 1 addition & 1 deletion parsec/mca/device/cuda/transfer.c
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ static const parsec_symbol_t symb_CUDA_d2h_task_param = {
.flags = 0x0
};

int32_t parsec_CUDA_d2h_max_flows = 0;
extern int32_t parsec_CUDA_d2h_max_flows;

static const parsec_task_class_t parsec_CUDA_d2h_task_class = {
.name = "CUDA D2H data transfer",
Expand Down

0 comments on commit cc054bd

Please sign in to comment.