PeriDyno 1.0.0
Loading...
Searching...
No Matches
svd3_cuda.h File Reference
#include "math.h"
Include dependency graph for svd3_cuda.h:

Go to the source code of this file.

Classes

union  un
 

Macros

#define gone   1065353216
 
#define gsine_pi_over_eight   1053028117
 
#define gcosine_pi_over_eight   1064076127
 
#define gone_half   0.5f
 
#define gsmall_number   1.e-12f
 
#define gtiny_number   1.e-20f
 
#define gfour_gamma_squared   5.8284273147583007813f
 
#define max(x, y)
 
#define fadd_rn(x, y)
 
#define fsub_rn(x, y)
 
#define frsqrt_rn(x)
 

Functions

__host__ __forceinline__ void svd (float a11, float a12, float a13, float a21, float a22, float a23, float a31, float a32, float a33, float &u11, float &u12, float &u13, float &u21, float &u22, float &u23, float &u31, float &u32, float &u33, float &s11, float &s22, float &s33, float &v11, float &v12, float &v13, float &v21, float &v22, float &v23, float &v31, float &v32, float &v33)
 

Macro Definition Documentation

◆ fadd_rn

#define fadd_rn ( x,
y )
Value:
(x + y)

Definition at line 42 of file svd3_cuda.h.

◆ frsqrt_rn

#define frsqrt_rn ( x)
Value:
(1.0 / sqrt(x))

Definition at line 44 of file svd3_cuda.h.

◆ fsub_rn

#define fsub_rn ( x,
y )
Value:
(x - y)

Definition at line 43 of file svd3_cuda.h.

◆ gcosine_pi_over_eight

#define gcosine_pi_over_eight   1064076127

Definition at line 32 of file svd3_cuda.h.

◆ gfour_gamma_squared

#define gfour_gamma_squared   5.8284273147583007813f

Definition at line 36 of file svd3_cuda.h.

◆ gone

#define gone   1065353216

Definition at line 30 of file svd3_cuda.h.

◆ gone_half

#define gone_half   0.5f

Definition at line 33 of file svd3_cuda.h.

◆ gsine_pi_over_eight

#define gsine_pi_over_eight   1053028117

Definition at line 31 of file svd3_cuda.h.

◆ gsmall_number

#define gsmall_number   1.e-12f

Definition at line 34 of file svd3_cuda.h.

◆ gtiny_number

#define gtiny_number   1.e-20f

Definition at line 35 of file svd3_cuda.h.

◆ max

#define max ( x,
y )
Value:
(x > y ? x : y)

Definition at line 41 of file svd3_cuda.h.

Function Documentation

◆ svd()

__host__ __forceinline__ void svd ( float a11,
float a12,
float a13,
float a21,
float a22,
float a23,
float a31,
float a32,
float a33,
float & u11,
float & u12,
float & u13,
float & u21,
float & u22,
float & u23,
float & u31,
float & u32,
float & u33,
float & s11,
float & s22,
float & s33,
float & v11,
float & v12,
float & v13,
float & v21,
float & v22,
float & v23,
float & v31,
float & v32,
float & v33 )

###########################################################

Definition at line 54 of file svd3_cuda.h.