Skip to content

Commit

Permalink
accelerator/cuda: fix get_memkind func name
Browse files Browse the repository at this point in the history
fix the name of the get_memkind interface in the cuda component to match
the name that was registered.

Signed-off-by: Edgar Gabriel <[email protected]>
  • Loading branch information
edgargabriel committed Feb 14, 2025
1 parent 7cb2fee commit c05b8f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opal/mca/accelerator/cuda/accelerator_cuda.c
Original file line number Diff line number Diff line change
Expand Up @@ -1222,7 +1222,7 @@ static int accelerator_cuda_get_mem_bw(int device, float *bw)
return OPAL_SUCCESS;
}

static void mca_accelerator_cuda_get_memkind (ompi_memkind_t *memkind)
static void accelerator_cuda_get_memkind (ompi_memkind_t *memkind)
{
memkind->im_name = strdup("cuda");
memkind->im_no_restrictors = false;
Expand Down

0 comments on commit c05b8f1

Please sign in to comment.