Alsvinn  0.5.3
The fast FVM simulator with UQ support
Namespaces | Functions
get_current_gpu_id.hpp File Reference
#include "alsutils/config.hpp"

Go to the source code of this file.

Namespaces

 alsutils
 Various utilities for mpi and cuda.
 
 alsutils::cuda
 

Functions

int alsutils::cuda::getCurrentGPUId ()
 Returns the current active GPU id, or -1 if cuda is disabled. More...