Function opensn::GPUBackendIsCUDAOrHIP
Defined in File device_binding.h
Function Documentation
-
bool opensn::GPUBackendIsCUDAOrHIP()
Returns whether OpenSn’s GPU backend is CUDA or HIP, whose current device PETSc also sets.
Defined in File device_binding.h
Returns whether OpenSn’s GPU backend is CUDA or HIP, whose current device PETSc also sets.