Neko  0.9.0
A portable framework for high-order spectral element flow simulations
mathops.hip File Reference
#include <hip/hip_runtime.h>
#include <device/device_config.h>
#include <device/hip/check.h>
#include "mathops_kernel.h"
Include dependency graph for mathops.hip:

Go to the source code of this file.

Functions

void hip_opchsign (void *a1, void *a2, void *a3, int *gdim, int *n)
 
void hip_opcolv (void *a1, void *a2, void *a3, void *c, int *gdim, int *n)
 
void hip_opcolv3c (void *a1, void *a2, void *a3, void *b1, void *b2, void *b3, void *c, real *d, int *gdim, int *n)
 
void hip_opadd2cm (void *a1, void *a2, void *a3, void *b1, void *b2, void *b3, real *c, int *gdim, int *n)
 
void hip_opadd2col (void *a1, void *a2, void *a3, void *b1, void *b2, void *b3, void *c, int *gdim, int *n)
 

Function Documentation

◆ hip_opadd2cm()

void hip_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 86 of file mathops.hip.

◆ hip_opadd2col()

void hip_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 102 of file mathops.hip.

◆ hip_opchsign()

void hip_opchsign ( void *  a1,
void *  a2,
void *  a3,
int *  gdim,
int *  n 
)

Fortran wrapper for opchsign \( a = -a \)

Definition at line 43 of file mathops.hip.

◆ hip_opcolv()

void hip_opcolv ( void *  a1,
void *  a2,
void *  a3,
void *  c,
int *  gdim,
int *  n 
)

Fortran wrapper for opcolv \( a = a * c \)

Definition at line 56 of file mathops.hip.

◆ hip_opcolv3c()

void hip_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 70 of file mathops.hip.