CMS 3D CMS Logo

Namespaces | Functions
devices.h File Reference
#include <cassert>
#include <vector>
#include <alpaka/alpaka.hpp>
#include "HeterogeneousCore/AlpakaInterface/interface/config.h"
#include "HeterogeneousCore/AlpakaInterface/interface/traits.h"

Go to the source code of this file.

Namespaces

 cms::alpakatools
 
 cms::alpakatools::detail
 

Functions

template<typename TPlatform , typename = std::enable_if_t<is_platform_v<TPlatform>>>
std::vector< alpaka::Dev< TPlatform > > const & cms::alpakatools::devices ()
 
template<typename TPlatform , typename = std::enable_if_t<is_platform_v<TPlatform>>>
std::vector< alpaka::Dev< TPlatform > > cms::alpakatools::detail::enumerate_devices ()