Peano 4
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
49}
50
55#if defined(UseManualInlining)
56#define InlineMethod __attribute__((always_inline))
57#else
58#define InlineMethod
59#endif
Have to include this header, as I need access to the SYCL_EXTERNAL keyword.
Definition accelerator.h:17
MemoryUsageFormat
Definition tarch.h:35
int getTotalMemory(MemoryUsageFormat format)
Definition tarch.cpp:72
int getMemoryUsage(MemoryUsageFormat format)
Method for getting the application's memory footprint.
Definition tarch.cpp:95
int getFreeMemory(MemoryUsageFormat format)
Definition tarch.cpp:83