Skip to content

Commit

Permalink
Merge pull request #11529 from edgargabriel/topic/coll-cuda-accelerat…
Browse files Browse the repository at this point in the history
…or-fix

coll/cuda: always compile component
  • Loading branch information
janjust authored Jun 1, 2023
2 parents 16e0752 + c16ed33 commit 8185faf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 29 deletions.
8 changes: 8 additions & 0 deletions ompi/mca/coll/cuda/coll_cuda_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* Copyright (c) 2014 NVIDIA Corporation. All rights reserved.
* Copyright (c) 2019 Research Organization for Information Science
* and Technology (RIST). All rights reserved.
* Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
Expand Down Expand Up @@ -81,6 +82,13 @@ mca_coll_cuda_comm_query(struct ompi_communicator_t *comm,
{
mca_coll_cuda_module_t *cuda_module;

if (0 == strcmp(opal_accelerator_base_selected_component.base_version.mca_component_name,
"null")) {
opal_output_verbose(10, ompi_coll_base_framework.framework_output,
"coll:cuda:comm_query: accelerator component is null: disqualifying myself");
return NULL;
}

cuda_module = OBJ_NEW(mca_coll_cuda_module_t);
if (NULL == cuda_module) {
return NULL;
Expand Down
29 changes: 0 additions & 29 deletions ompi/mca/coll/cuda/configure.m4

This file was deleted.

0 comments on commit 8185faf

Please sign in to comment.