fix(gpu): add directory to includes

This commit is contained in:
Anthony Berg 2025-06-30 13:51:46 +02:00
parent 0f0329cf36
commit 5eab354968
10 changed files with 21 additions and 22 deletions

View File

@ -18,9 +18,9 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "EulerCommon.h"
#include "common.h"
#include "limiters.h"
#include "include/EulerCommon.h"
#include "include/common.h"
#include "include/limiters.h"
#include <hip/hip_runtime.h>
__device__ void computeFluxF(float Q[4][BLOCK_HEIGHT + 4][BLOCK_WIDTH + 4],

View File

@ -18,8 +18,8 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "SWECommon.h"
#include "common.h"
#include "include/SWECommon.h"
#include "include/common.h"
#include <hip/hip_runtime.h>
/**

View File

@ -20,8 +20,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <hip/hip_runtime.h>
#include "common.h"
#include "SWECommon.h"
#include "include/common.h"
#include "include/SWECommon.h"
/**

View File

@ -20,9 +20,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <hip/hip_runtime.h>
#include "common.h"
#include "SWECommon.h"
#include "limiters.h"
#include "include/common.h"
#include "include/SWECommon.h"
#include "include/limiters.h"
/**

View File

@ -25,9 +25,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <hip/hip_runtime.h>
#include "common.h"
#include "SWECommon.h"
#include "limiters.h"
#include "include/common.h"
#include "include/SWECommon.h"
#include "include/limiters.h"
__device__

View File

@ -25,9 +25,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <hip/hip_runtime.h>
#include "common.h"
#include "SWECommon.h"
#include "limiters.h"
#include "include/common.h"
#include "include/SWECommon.h"
#include "include/limiters.h"
template<int w, int h, int gc_x, int gc_y>

View File

@ -21,8 +21,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <hip/hip_runtime.h>
#include "common.h"
#include "SWECommon.h"
#include "include/common.h"
#include "include/SWECommon.h"
/**

View File

@ -25,8 +25,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <hip/hip_runtime.h>
#include "common.h"
#include "SWECommon.h"
#include "include/common.h"
#include "include/SWECommon.h"
/**

View File

@ -21,7 +21,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#include "common.h"
#include "limiters.h"
#include <hip/amd_detail/amd_hip_vector_types.h>
//#include <hip/amd_detail/amd_hip_vector_types.h>
#include <hip/hip_runtime.h>
__device__ inline float3 F_func(const float3 Q, const float g) {

View File

@ -24,7 +24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#include <cfloat>
#include <cmath>
#include <hip/hip_runtime.h>
/**