Home
last modified time | relevance | path

Searched refs:backendstr (Results 1 – 1 of 1) sorted by relevance

/petsc/src/vec/is/sf/interface/
H A Dsf.c360 char backendstr[32] = {0}; in PetscSFSetFromOptions() local
365 …t the device backend SF uses", "PetscSFSetFromOptions", NULL, backendstr, sizeof(backendstr), &set… in PetscSFSetFromOptions()
366 PetscCall(PetscStrcasecmp("cuda", backendstr, &isCuda)); in PetscSFSetFromOptions()
367 PetscCall(PetscStrcasecmp("kokkos", backendstr, &isKokkos)); in PetscSFSetFromOptions()
368 PetscCall(PetscStrcasecmp("hip", backendstr, &isHip)); in PetscSFSetFromOptions()
373 … "-sf_backend %s is not supported. You may choose cuda, hip or kokkos (if installed)", backendstr); in PetscSFSetFromOptions()
375 …F, PETSC_ERR_ARG_WRONG, "-sf_backend %s is not supported. You can only choose kokkos", backendstr); in PetscSFSetFromOptions()