alpaka
Abstraction Library for Parallel Kernel Acceleration
SysInfo.hpp File Reference
#include "alpaka/core/BoostPredef.hpp"
#include <cstring>
#include <stdexcept>
#include <string>

Go to the source code of this file.

Namespaces

 alpaka
 The alpaka accelerator library.
 
 alpaka::cpu
 
 alpaka::cpu::detail
 The CPU device.
 

Functions

auto alpaka::cpu::detail::cpuid (std::uint32_t, std::uint32_t, std::uint32_t ex[4]) -> void
 
auto alpaka::cpu::detail::getCpuName () -> std::string
 
auto alpaka::cpu::detail::getFreeGlobalMemSizeBytes () -> std::size_t
 
size_t alpaka::cpu::detail::getPageSize ()
 
auto alpaka::cpu::detail::getTotalGlobalMemSizeBytes () -> std::size_t
 

Variables

constexpr int alpaka::cpu::detail::NO_CPUID = 0
 
constexpr int alpaka::cpu::detail::UNKNOWN_COMPILER = 1
 
constexpr int alpaka::cpu::detail::UNKNOWN_CPU = 0