Peano
Loading...
Searching...
No Matches
tarch.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  tarch
 Have to include this header, as I need access to the SYCL_EXTERNAL keyword.
 

Macros

#define InlineMethod
 Generic identifier for inlined functions.
 

Enumerations

enum class  tarch::MemoryUsageFormat { tarch::MByte }
 

Functions

int tarch::getMemoryUsage (MemoryUsageFormat format)
 Method for getting the application's memory footprint.
 
int tarch::getTotalMemory (MemoryUsageFormat format)
 
int tarch::getFreeMemory (MemoryUsageFormat format)
 

Macro Definition Documentation

◆ InlineMethod

#define InlineMethod

Generic identifier for inlined functions.

This is the marker that is to be used after the argument list of a function declaration. Peano defines its own marker, so it is fairly easy to disable it if we use a compiler that doesn't support it aka non-Clang. The remark above is true for declarations (where the marker is usually to be used), but it seems to fail for static functions where the implementation is in the header. See the documentation of tarch::la::smaller() for a discussion of flags that cause compiler warnings and what to do about them.

Definition at line 66 of file tarch.h.