Peano
Loading...
Searching...
No Matches
tarch.h
Go to the documentation of this file.
1// This file is part of the Peano project. For conditions of distribution and
2// use, please see the copyright notice at www.peano-framework.org
3#pragma once
4
34namespace tarch {
35 enum class MemoryUsageFormat {
36 MByte
37 };
38
58
66
80}
81
94#if defined(UseManualInlining)
95#define InlineMethod __attribute__((always_inline))
96#else
97#define InlineMethod
98#endif
Have to include this header, as I need access to the SYCL_EXTERNAL keyword.
Definition accelerator.h:19
MemoryUsageFormat
Definition tarch.h:35
int getTotalMemory(MemoryUsageFormat format)
Total physical memory of the node.
int getMemoryUsage(MemoryUsageFormat format)
Method for getting the application's memory footprint.
int getFreeMemory(MemoryUsageFormat format)
Free physical memory of the node.