OCFD_bound_Scheme.h 1.04 KB
Newer Older
ccfd's avatar
ccfd committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef __OCFD_BOUND_SCHEME_H
#define __OCFD_BOUND_SCHEME_H

#include "cuda_commen.h"

#ifdef __cplusplus
extern "C"{
#endif


void OCFD_Dx0_bound(cudaField pf , cudaField pfx , cudaJobPackage job_in , dim3 blockdim_in, hipStream_t *stream);
void OCFD_Dy0_bound(cudaField pf , cudaField pfx , cudaJobPackage job_in , dim3 blockdim_in, hipStream_t *stream);
void OCFD_Dz0_bound(cudaField pf , cudaField pfx , cudaJobPackage job_in , dim3 blockdim_in, hipStream_t *stream);


void OCFD_bound(dim3 *flagxyzb, int boundp, int boundm, cudaJobPackage job);

ccfd's avatar
ccfd committed
18
19
void OCFD_bound_non_ref(dim3 *flagxyzb, int Non_ref, cudaJobPackage job);

ccfd's avatar
ccfd committed
20
21
22
23
24
25
26
27
28
__device__ int OCFD_D0bound_scheme_kernel(REAL* tmp, dim3 flagxyzb, dim3 coords, REAL *stencil, int ka1, cudaJobPackage job);

__device__ int OCFD_bound_scheme_kernel_p(REAL* flag, dim3 flagxyzb, dim3 coords, REAL *stencil, int ka1, int kb1, cudaJobPackage job);
__device__ int OCFD_bound_scheme_kernel_m(REAL* flag, dim3 flagxyzb, dim3 coords, REAL *stencil, int ka1, int kb1, cudaJobPackage job);

#ifdef __cplusplus
}
#endif
#endif