#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"
Go to the source code of this file.
|
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 | opencl_scatter_kernel (void *v, int *m, void *dg, void *u, int *n, void *gd, int *nb, void *b, void *bo) |
|
◆ GS_OP_ADD
Definition at line 50 of file gs.c.
◆ GS_OP_MAX
Definition at line 53 of file gs.c.
◆ GS_OP_MIN
Definition at line 52 of file gs.c.
◆ GS_OP_MUL
Definition at line 51 of file gs.c.
◆ 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 |
|
) |
| |
Fortran wrapper for device gather kernels
Definition at line 58 of file gs.c.
◆ 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 |
|
) |
| |
Fortran wrapper for device scatter kernel
Definition at line 166 of file gs.c.