CMS 3D CMS Logo

Namespaces | Functions
requireDevices.cc File Reference
#include <cstdlib>
#include <iostream>
#include <cuda_runtime.h>
#include "HeterogeneousCore/CUDAUtilities/interface/requireDevices.h"

Go to the source code of this file.

Namespaces

 cms::cudatest
 

Functions

void cms::cudatest::requireDevices ()
 Print message and exit if there are no CUDA devices. More...
 
bool cms::cudatest::testDevices ()
 In presence of CUDA devices, return true; otherwise print message and return false. More...