include/pops/core/foundation/cold.hpp Source FileΒΆ

adc_cpp: include/pops/core/foundation/cold.hpp Source File
adc_cpp 0.3.0
Model-free C++23 core for coupled hyperbolic-elliptic systems on adaptive (AMR) meshes, with MPI and GPU (Kokkos) backends
cold.hpp
Go to the documentation of this file.
1#pragma once
2
20#if defined(__clang__)
21#define POPS_COLD_FN __attribute__((optnone))
22#elif defined(__GNUC__)
23#define POPS_COLD_FN __attribute__((optimize("O0")))
24#else
25#define POPS_COLD_FN
26#endif