Neko-TOP
A portable framework for high-order spectral element flow toplogy optimization.
|
#include "math_ext_kernel.h"
#include <device/cuda/check.h>
#include <device/device_config.h>
#include <stdio.h>
#include <stdlib.h>
#include <math/bcknd/device/device_mpi_op.h>
#include <math/bcknd/device/device_mpi_reduce.h>
Go to the source code of this file.
Functions | |
void | cuda_copy_mask (void *a, void *b, int *size, int *mask, int *mask_size) |
void | cuda_cadd_mask (void *a, real *c, int *size, int *mask, int *mask_size) |
void | cuda_invcol1_mask (void *a, int *size, int *mask, int *mask_size) |
void | cuda_col2_mask (void *a, void *b, int *size, int *mask, int *mask_size) |
void | cuda_col3_mask (void *a, void *b, void *c, int *size, int *mask, int *mask_size) |
void | cuda_sub3_mask (void *a, void *b, void *c, int *size, int *mask, int *mask_size) |
Fortran wrapper for cadd_mask Add a scalar to vector \( a_i = a_i + s, for i \in mask \)
Definition at line 61 of file math_ext.cu.
Fortran wrapper for col2_mask Invert elements of vector \( a_i = b_i * c_i, for i \in mask \)
Definition at line 86 of file math_ext.cu.
Fortran wrapper for col3_mask Invert elements of vector \( a_i = b_i * c_i, for i \in mask \)
Definition at line 98 of file math_ext.cu.
Fortran wrapper for copy_mask Copy a vector \( a_i = b_i, for i \in mask \)
Definition at line 49 of file math_ext.cu.
Fortran wrapper for invcol1_mask Invert elements of vector \( a_i = 1.0 / a_i, for i \in mask \)
Definition at line 73 of file math_ext.cu.