#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include "convect_scalar_kernel.h"
#include "elem_block_tune.h"
#include <device/device_config.h>
#include <device/cuda/check.h>
#include <common/neko_log.h>
Go to the source code of this file.
|
| template<const int > |
| int | tune_convect_scalar (void *du, void *u, void *cr, void *cs, void *ct, void *dx, void *dy, void *dz, int *nel, int *lx, int *eb_sel, int *ch_sel) |
| |
| void | cuda_convect_scalar (void *du, void *u, void *cr, void *cs, void *ct, void *dx, void *dy, void *dz, int *nel, int *lx) |
| |
◆ CASE
Value:
} \
break
__global__ void ale_add_kinematics_kernel(const int n, T *__restrict__ wx, T *__restrict__ wy, T *__restrict__ wz, const T *__restrict__ x_ref, const T *__restrict__ y_ref, const T *__restrict__ z_ref, const T *__restrict__ phi, const T *__restrict__ x, const T *__restrict__ y, const T *__restrict__ z, const kinematics_params_t kin_params)
__global__ void T *__restrict__ T *__restrict__ const T *__restrict__ u
__global__ void T *__restrict__ T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ dx
__global__ void T *__restrict__ T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ dz
__global__ void T *__restrict__ T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ dy
__global__ void const T *__restrict__ const T *__restrict__ cr
__global__ void const T *__restrict__ const T *__restrict__ const T *__restrict__ cs
__global__ void const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ ct
◆ CASE_1D
Value:
__global__ void convect_scalar_kernel_1d(T *__restrict__ du, const T *__restrict__ u, const T *__restrict__ cr, const T *__restrict__ cs, const T *__restrict__ ct, const T *__restrict__ dx, const T *__restrict__ dy, const T *__restrict__ dz)
#define NEKO_CHUNKS(LX, C)
#define NEKO_CHUNKS_NTHRDS(LX, C)
◆ CASE_1D_SEL
◆ CASE_KSTEP
Value:
#define NEKO_EB_NBLCKS(NELV, LX, C)
#define NEKO_EB_NTHRDS(LX, C)
◆ CASE_KSTEP_SEL
Value: switch (SEL) { \
}
#define CASE_KSTEP(LX, C)
◆ CASE_LARGE
◆ cuda_convect_scalar()
◆ tune_convect_scalar()
| int tune_convect_scalar |
( |
void * |
du, |
|
|
void * |
u, |
|
|
void * |
cr, |
|
|
void * |
cs, |
|
|
void * |
ct, |
|
|
void * |
dx, |
|
|
void * |
dy, |
|
|
void * |
dz, |
|
|
int * |
nel, |
|
|
int * |
lx, |
|
|
int * |
eb_sel, |
|
|
int * |
ch_sel |
|
) |
| |