Bridge++  Ver.2.1.3
afield_openacc-inc.h File Reference

Go to the source code of this file.

Functions

void afield_init (real_t *RESTRICT data, const int size)
 
void afield_tidyup (real_t *RESTRICT data, const int size)
 
void afield_set (real_t *RESTRICT v, real_t a, const int nin, const int nst)
 
void copy_to_device (real_t *RESTRICT v, int nv)
 
void copy_to_device (real_t *RESTRICT v, int nv1, int nv)
 
void copy_from_device (real_t *RESTRICT v, int nv)
 
void copy_from_device (real_t *RESTRICT v, int nv1, int nv)
 
void convert (real_t *RESTRICT v, double *RESTRICT w, int nin, int nvol, int nvol_pad)
 
void reverse (double *RESTRICT v, real_t *RESTRICT w, int nin, int nvol, int nvol_pad)
 
void copy (real_t *RESTRICT v, real_t *RESTRICT w, int nin, int nvol)
 
void copy (real_t *RESTRICT v, int nv1, real_t *RESTRICT w, int nv2, int nin, int nvol)
 
void axpy (real_t *RESTRICT v, int nv1, real_t a, real_t *RESTRICT w, int nv2, int nin, int nvol)
 
void axpy (real_t *RESTRICT v, int nv1, real_t ar, real_t ai, real_t *RESTRICT w, int nv2, int nin, int nvol)
 
void aypx (real_t a, real_t *RESTRICT v, int nv1, real_t *RESTRICT w, int nv2, int nin, int nvol)
 
void aypx (real_t ar, real_t ai, real_t *RESTRICT v, int nv1, real_t *RESTRICT w, int nv2, int nin, int nvol)
 
void scal (real_t *RESTRICT v, int nv1, real_t a, int nin, int nvol)
 
void scal (real_t *RESTRICT v, int nv1, real_t ar, real_t ai, int nin, int nvol)
 
real_t dot (real_t *RESTRICT v1, real_t *RESTRICT v2, int nin, int nvol)
 
real_t norm2 (real_t *RESTRICT v1, int nin, int nvol)
 
void dotc (real_t *ar, real_t *ai, real_t *RESTRICT v1, real_t *RESTRICT v2, int nin, int nst)
 
void xI (real_t *RESTRICT v1, int nin, int nst)
 
void conjg (real_t *RESTRICT v1, int nin, int nst)
 

Detailed Description

Author
Hideo Matsufuru (matufuru)
LastChangedBy
matufuru
Date
$LastChangedDate:: 2025-08-20 16:24:03 #$
Version
LastChangedRevision
2653

Definition in file afield_openacc-inc.h.

Function Documentation

◆ afield_init()

void afield_init ( real_t *RESTRICT  data,
const int  size 
)

Definition at line 14 of file afield_openacc-inc.h.

◆ afield_set()

void afield_set ( real_t *RESTRICT  v,
real_t  a,
const int  nin,
const int  nst 
)

Definition at line 36 of file afield_openacc-inc.h.

◆ afield_tidyup()

void afield_tidyup ( real_t *RESTRICT  data,
const int  size 
)

Definition at line 30 of file afield_openacc-inc.h.

◆ axpy() [1/2]

void axpy ( real_t *RESTRICT  v,
int  nv1,
real_t  a,
real_t *RESTRICT  w,
int  nv2,
int  nin,
int  nvol 
)

Definition at line 171 of file afield_openacc-inc.h.

◆ axpy() [2/2]

void axpy ( real_t *RESTRICT  v,
int  nv1,
real_t  ar,
real_t  ai,
real_t *RESTRICT  w,
int  nv2,
int  nin,
int  nvol 
)

Definition at line 192 of file afield_openacc-inc.h.

◆ aypx() [1/2]

void aypx ( real_t  a,
real_t *RESTRICT  v,
int  nv1,
real_t *RESTRICT  w,
int  nv2,
int  nin,
int  nvol 
)

Definition at line 218 of file afield_openacc-inc.h.

◆ aypx() [2/2]

void aypx ( real_t  ar,
real_t  ai,
real_t *RESTRICT  v,
int  nv1,
real_t *RESTRICT  w,
int  nv2,
int  nin,
int  nvol 
)

Definition at line 239 of file afield_openacc-inc.h.

◆ conjg()

void conjg ( real_t *RESTRICT  v1,
int  nin,
int  nst 
)

Definition at line 424 of file afield_openacc-inc.h.

◆ convert()

void convert ( real_t *RESTRICT  v,
double *RESTRICT  w,
int  nin,
int  nvol,
int  nvol_pad 
)

Definition at line 81 of file afield_openacc-inc.h.

◆ copy() [1/2]

void copy ( real_t *RESTRICT  v,
int  nv1,
real_t *RESTRICT  w,
int  nv2,
int  nin,
int  nvol 
)

Definition at line 149 of file afield_openacc-inc.h.

◆ copy() [2/2]

void copy ( real_t *RESTRICT  v,
real_t *RESTRICT  w,
int  nin,
int  nvol 
)

Definition at line 130 of file afield_openacc-inc.h.

◆ copy_from_device() [1/2]

void copy_from_device ( real_t *RESTRICT  v,
int  nv 
)

Definition at line 68 of file afield_openacc-inc.h.

◆ copy_from_device() [2/2]

void copy_from_device ( real_t *RESTRICT  v,
int  nv1,
int  nv 
)

Definition at line 74 of file afield_openacc-inc.h.

◆ copy_to_device() [1/2]

void copy_to_device ( real_t *RESTRICT  v,
int  nv 
)

Definition at line 56 of file afield_openacc-inc.h.

◆ copy_to_device() [2/2]

void copy_to_device ( real_t *RESTRICT  v,
int  nv1,
int  nv 
)

Definition at line 62 of file afield_openacc-inc.h.

◆ dot()

real_t dot ( real_t *RESTRICT  v1,
real_t *RESTRICT  v2,
int  nin,
int  nvol 
)

Definition at line 311 of file afield_openacc-inc.h.

◆ dotc()

void dotc ( real_t *  ar,
real_t *  ai,
real_t *RESTRICT  v1,
real_t *RESTRICT  v2,
int  nin,
int  nst 
)

Definition at line 358 of file afield_openacc-inc.h.

◆ norm2()

real_t norm2 ( real_t *RESTRICT  v1,
int  nin,
int  nvol 
)

Definition at line 335 of file afield_openacc-inc.h.

◆ reverse()

void reverse ( double *RESTRICT  v,
real_t *RESTRICT  w,
int  nin,
int  nvol,
int  nvol_pad 
)

Definition at line 108 of file afield_openacc-inc.h.

◆ scal() [1/2]

void scal ( real_t *RESTRICT  v,
int  nv1,
real_t  a,
int  nin,
int  nvol 
)

Definition at line 267 of file afield_openacc-inc.h.

◆ scal() [2/2]

void scal ( real_t *RESTRICT  v,
int  nv1,
real_t  ar,
real_t  ai,
int  nin,
int  nvol 
)

Definition at line 286 of file afield_openacc-inc.h.

◆ xI()

void xI ( real_t *RESTRICT  v1,
int  nin,
int  nst 
)

Definition at line 399 of file afield_openacc-inc.h.