Neko-TOP
A portable framework for high-order spectral element flow toplogy optimization.
Loading...
Searching...
No Matches
RAMP_mapping_kernel.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<typename T >
__global__ void convex_down_RAMP_mapping_apply_kernel (const T f_min, const T f_max, const T q, T *__restrict__ X_out_d, T *__restrict__ X_in_d, const int n)
 
template<typename T >
__global__ void convex_down_RAMP_mapping_apply_backward_kernel (const T f_min, const T f_max, const T q, T *__restrict__ dF_dX_in_d, T *__restrict__ dF_dX_out_d, T *__restrict__ X_in_d, const int n)
 
template<typename T >
__global__ void convex_up_RAMP_mapping_apply_kernel (const T f_min, const T f_max, const T q, T *__restrict__ X_out_d, T *__restrict__ X_in_d, const int n)
 
template<typename T >
__global__ void convex_up_RAMP_mapping_apply_backward_kernel (const T f_min, const T f_max, const T q, T *__restrict__ dF_dX_in_d, T *__restrict__ dF_dX_out_d, T *__restrict__ X_in_d, const int n)
 

Function Documentation

◆ convex_down_RAMP_mapping_apply_backward_kernel()

template<typename T >
__global__ void convex_down_RAMP_mapping_apply_backward_kernel ( const T  f_min,
const T  f_max,
const T  q,
T *__restrict__  dF_dX_in_d,
T *__restrict__  dF_dX_out_d,
T *__restrict__  X_in_d,
const int  n 
)

Device kernel for RAMP (convex down) chain rule

Definition at line 59 of file RAMP_mapping_kernel.h.

Here is the call graph for this function:

◆ convex_down_RAMP_mapping_apply_kernel()

template<typename T >
__global__ void convex_down_RAMP_mapping_apply_kernel ( const T  f_min,
const T  f_max,
const T  q,
T *__restrict__  X_out_d,
T *__restrict__  X_in_d,
const int  n 
)

Device kernel for RAMP (convex down) mapping

Definition at line 42 of file RAMP_mapping_kernel.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ convex_up_RAMP_mapping_apply_backward_kernel()

template<typename T >
__global__ void convex_up_RAMP_mapping_apply_backward_kernel ( const T  f_min,
const T  f_max,
const T  q,
T *__restrict__  dF_dX_in_d,
T *__restrict__  dF_dX_out_d,
T *__restrict__  X_in_d,
const int  n 
)

Device kernel for RAMP (convex up) chain rule

Definition at line 93 of file RAMP_mapping_kernel.h.

Here is the call graph for this function:

◆ convex_up_RAMP_mapping_apply_kernel()

template<typename T >
__global__ void convex_up_RAMP_mapping_apply_kernel ( const T  f_min,
const T  f_max,
const T  q,
T *__restrict__  X_out_d,
T *__restrict__  X_in_d,
const int  n 
)

Device kernel for RAMP (convex up) mapping

Definition at line 76 of file RAMP_mapping_kernel.h.

Here is the call graph for this function: