CH_System.H File Reference


Detailed Description

System dependent functions.

#include <cstring>
#include "CH_config.H"
#include "BaseNamespaceHeader.H"
#include "BaseNamespaceFooter.H"

Include dependency graph for CH_System.H:

Go to the source code of this file.

Namespaces

namespace  CHSystem

Defines

#define BOOST_PP_STRINGIZE_(expr)   #expr
#define BOOST_PP_STRINGIZE(expr)   BOOST_PP_STRINGIZE_(expr)
#define BOOST_PRAGMA(args)   _Pragma(BOOST_PP_STRINGIZE(args))
#define BOOST_BUILTIN_ASSUME(expr)   do { if (!(expr)) __builtin_unreachable(); } while (0) \
#define BOOST_BUILTIN_ASSUME_ALIGNED(ptr, align)
#define BOOST_DEMAND_VECTORIZATION   BOOST_PRAGMA(GCC ivdep) \

Functions

int CHSystem::fileExists (const char *const a_filename)
 Check if a file exists.
int CHSystem::memalign (void **a_memptr, size_t a_alignment, size_t a_size)
 Allocate aligned memory.
int CHSystem::popcnt (unsigned i)


Define Documentation

#define BOOST_PP_STRINGIZE_ ( expr   )     #expr

#define BOOST_PP_STRINGIZE ( expr   )     BOOST_PP_STRINGIZE_(expr)

#define BOOST_PRAGMA ( args   )     _Pragma(BOOST_PP_STRINGIZE(args))

#define BOOST_BUILTIN_ASSUME ( expr   )     do { if (!(expr)) __builtin_unreachable(); } while (0) \

#define BOOST_BUILTIN_ASSUME_ALIGNED ( ptr,
align   ) 

Value:

{                                                                      \
            ptr = reinterpret_cast<decltype(ptr)>(                             \
                __builtin_assume_aligned(ptr, align)                           \
            );                                                                 \
        }                                                                      \

#define BOOST_DEMAND_VECTORIZATION   BOOST_PRAGMA(GCC ivdep) \


Generated on Fri Apr 5 04:18:33 2019 for Chombo + EB by  doxygen 1.5.5