#include <CL/cl.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 "mathops_kernel.cl.h"
Go to the source code of this file.
|
void | opencl_opchsign (void *a1, void *a2, void *a3, int *gdim, int *n) |
|
void | opencl_opcolv (void *a1, void *a2, void *a3, void *c, int *gdim, int *n) |
|
void | opencl_opcolv3c (void *a1, void *a2, void *a3, void *b1, void *b2, void *b3, void *c, real *d, int *gdim, int *n) |
|
void | opencl_opadd2cm (void *a1, void *a2, void *a3, void *b1, void *b2, void *b3, real *c, int *gdim, int *n) |
|
void | opencl_opadd2col (void *a1, void *a2, void *a3, void *b1, void *b2, void *b3, void *c, int *gdim, int *n) |
|
◆ opencl_opadd2cm()
void opencl_opadd2cm |
( |
void * |
a1, |
|
|
void * |
a2, |
|
|
void * |
a3, |
|
|
void * |
b1, |
|
|
void * |
b2, |
|
|
void * |
b3, |
|
|
real * |
c, |
|
|
int * |
gdim, |
|
|
int * |
n |
|
) |
| |
Fortran wrapper for opadd2cm \( a(i) = a + b(i) * c \)
Definition at line 133 of file mathops.c.
◆ opencl_opadd2col()
void opencl_opadd2col |
( |
void * |
a1, |
|
|
void * |
a2, |
|
|
void * |
a3, |
|
|
void * |
b1, |
|
|
void * |
b2, |
|
|
void * |
b3, |
|
|
void * |
c, |
|
|
int * |
gdim, |
|
|
int * |
n |
|
) |
| |
Fortran wrapper for opadd2col \( a(i) = a + b(i) * c(i) \)
Definition at line 164 of file mathops.c.
◆ opencl_opchsign()
void opencl_opchsign |
( |
void * |
a1, |
|
|
void * |
a2, |
|
|
void * |
a3, |
|
|
int * |
gdim, |
|
|
int * |
n |
|
) |
| |
Fortran wrapper for opchsign \( a = -a \)
Definition at line 50 of file mathops.c.
◆ opencl_opcolv()
void opencl_opcolv |
( |
void * |
a1, |
|
|
void * |
a2, |
|
|
void * |
a3, |
|
|
void * |
c, |
|
|
int * |
gdim, |
|
|
int * |
n |
|
) |
| |
Fortran wrapper for opcolv \( a = a * c \)
Definition at line 75 of file mathops.c.
◆ opencl_opcolv3c()
void opencl_opcolv3c |
( |
void * |
a1, |
|
|
void * |
a2, |
|
|
void * |
a3, |
|
|
void * |
b1, |
|
|
void * |
b2, |
|
|
void * |
b3, |
|
|
void * |
c, |
|
|
real * |
d, |
|
|
int * |
gdim, |
|
|
int * |
n |
|
) |
| |
Fortran wrapper for opcolv3c \( a(i) = b(i) * c(i) * d \)
Definition at line 101 of file mathops.c.