1 #include <petscconf.h> 2 /* conditionally compile the CPU only code if PETSc is not configure with CUDA or HIP */ 3 #if !defined(PETSC_HAVE_CUDA) && !defined(PETSC_HAVE_HIP) 4 #include "../src/mat/impls/h2opus/math2opusutils.cu" 5 #endif 6
1 #include <petscconf.h> 2 /* conditionally compile the CPU only code if PETSc is not configure with CUDA or HIP */ 3 #if !defined(PETSC_HAVE_CUDA) && !defined(PETSC_HAVE_HIP) 4 #include "../src/mat/impls/h2opus/math2opusutils.cu" 5 #endif 6