Fix macrodef.h include and clean up stale z4c_gpu_rhs_ss.cu
Include macrodef.h (not macrodef.fh) in gpu_rhsSS_mem.h and bssn_gpu.h so that ABEtype is visible to #if guards in CUDA files. Remove the separate z4c_gpu_rhs_ss.cu (merged into bssn_gpu_rhs_ss.cu). Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
#ifndef BSSN_GPU_H_
|
#ifndef BSSN_GPU_H_
|
||||||
#define BSSN_GPU_H_
|
#define BSSN_GPU_H_
|
||||||
#include "bssn_macro.h"
|
#include "bssn_macro.h"
|
||||||
#include "macrodef.fh"
|
#include "macrodef.h"
|
||||||
|
|
||||||
#define DEVICE_ID 0
|
#define DEVICE_ID 0
|
||||||
// #define DEVICE_ID_BY_MPI_RANK
|
// #define DEVICE_ID_BY_MPI_RANK
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#ifndef GPU_MEM_H_
|
#ifndef GPU_MEM_H_
|
||||||
#define GPU_MEM_H_
|
#define GPU_MEM_H_
|
||||||
#include "macrodef.fh"
|
#include "macrodef.h"
|
||||||
|
|
||||||
#ifdef WithShell
|
#ifdef WithShell
|
||||||
struct Metass
|
struct Metass
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user