Memory allocation wrappers for HIP. More...
#include "base/cs_defs.h"#include "assert.h"#include "bft/bft_error.h"#include "base/cs_mem_hip_priv.h"
Include dependency graph for cs_mem_hip_priv.cpp:Memory allocation wrappers for HIP.
This file should only contain functions called in cs_mem.cpp. In most cases, HIP functions could be called directly from that file, but in cases where the code is configured with "--disable_hip_cpp", so that only functions explicitely in .cu files use HIP, we still need a separate file (or to pass HIP headers). If/when this mode is removed, the wrappers defined here can be replaced by direct calls in cs_mem.cpp.