MAIA bb96820c
Multiphysics at AIA
Loading...
Searching...
No Matches
nvhpcbugfix.cpp
Go to the documentation of this file.
1// Copyright (C) 2024 The m-AIA AUTHORS
2//
3// This file is part of m-AIA (https://git.rwth-aachen.de/aia/m-AIA/m-AIA)
4//
5// SPDX-License-Identifier: LGPL-3.0-only
6
7#include "compiler_config.h"
8
9// TODO: The following is a WAR to avoid free() of invalid pointer on gpu
10#if defined(MAIA_NVHPC_COMPILER) && defined(MAIA_PSTL)
11void free(void*) {}
12#endif
void free(void *)
Definition: nvhpcbugfix.cpp:11