Neko 1.99.10
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
gs.c File Reference
#include <CL/cl.h>
#include <limits.h>
#include <stdio.h>
#include <device/device_config.h>
#include <device/opencl/jit.h>
#include <device/opencl/prgm_lib.h>
#include <device/opencl/check.h>
#include "gs_kernels.cl.h"
Include dependency graph for gs.c:

Go to the source code of this file.

Macros

#define GS_OP_ADD   1
#define GS_OP_MUL   2
#define GS_OP_MIN   3
#define GS_OP_MAX   4

Functions

void opencl_gather_kernel (void *v, int *m, int *o, void *dg, void *u, int *n, void *gd, int *nb, void *b, void *bo, int *op, void *cmd_queue)
void opencl_scatter_kernel (void *v, int *m, void *dg, void *u, int *n, void *gd, int *nb, void *b, void *bo, void *cmd_queue)

Macro Definition Documentation

◆ GS_OP_ADD

#define GS_OP_ADD   1

Definition at line 50 of file gs.c.

◆ GS_OP_MAX

#define GS_OP_MAX   4

Definition at line 53 of file gs.c.

◆ GS_OP_MIN

#define GS_OP_MIN   3

Definition at line 52 of file gs.c.

◆ GS_OP_MUL

#define GS_OP_MUL   2

Definition at line 51 of file gs.c.

Function Documentation

◆ opencl_gather_kernel()

void opencl_gather_kernel ( void * v,
int * m,
int * o,
void * dg,
void * u,
int * n,
void * gd,
int * nb,
void * b,
void * bo,
int * op,
void * cmd_queue )

Fortran wrapper for device gather kernels

Definition at line 58 of file gs.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ opencl_scatter_kernel()

void opencl_scatter_kernel ( void * v,
int * m,
void * dg,
void * u,
int * n,
void * gd,
int * nb,
void * b,
void * bo,
void * cmd_queue )

Fortran wrapper for device scatter kernel

Definition at line 170 of file gs.c.

Here is the call graph for this function:
Here is the caller graph for this function: