milupHPC documentation
  • include
  • cuda_utils
Classes | Namespaces | Macros | Functions
linalg.cuh File Reference

Linear algebra CUDA kernels and device functions. More...

#include "../parameter.h"
#include "../../include/cuda_utils/cuda_utilities.cuh"
+ Include dependency graph for linalg.cuh:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  linalg
 

Namespaces

namespace  CudaUtils
 

Macros

#define MILUPHPC_LINALG_CUH
 

Functions

__device__ int CudaUtils::sign (real x)
 Get sign of floating point variable. More...
 
__device__ int CudaUtils::stressIndex (int particleIndex, int row, int col)
 map [i][j] to [i*DIM*DIM+j] for the tensors More...
 
__device__ void CudaUtils::copyMatrix (real src[DIM][DIM], real dst[DIM][DIM])
 Deep copy of matrix. More...
 
__device__ void CudaUtils::transposeMatrix (real m[DIM][DIM])
 Transpose matrix. More...
 
__device__ void CudaUtils::multiplyMatrix (real A[DIM][DIM], real B[DIM][DIM], real C[DIM][DIM])
 
__device__ void CudaUtils::multiply (real A[][DIM], real B[][DIM], real C[][DIM])
 
__device__ void CudaUtils::identityMatrix (real A[DIM][DIM])
 Return identity matrix. More...
 
__device__ int CudaUtils::maxMatrix (real M[DIM][DIM], int *e, int *f, real *elmax)
 Returns the indices of the greatest non-diagonal element of the matrix M. More...
 
__device__ void CudaUtils::rotateMatrix (volatile real m[DIM][DIM], volatile real c, volatile real s, volatile int e, volatile int f)
 Rotate matrix. More...
 
__device__ int CudaUtils::calculateAllEigenvalues (real M[DIM][DIM], real eigenvalues[DIM], real v[DIM][DIM])
 Computes all eigenvalues and eigenvectors of the symmetric matrix M. More...
 
__device__ real CudaUtils::calculateMaxEigenvalue (real M[DIM][DIM])
 Computes the eigenvalues of the symmetric matrix M. More...
 
__device__ real CudaUtils::det2x2 (real a, real b, real c, real d)
 Determinant of a 2x2 matrix. More...
 
__device__ int CudaUtils::invertMatrix (real *m, real *inverted)
 Invert matrix. More...
 

Detailed Description

Linear algebra CUDA kernels and device functions.

More detailed information.

Author
Michael Staneker
Bug:
no

Definition in file linalg.cuh.

Macro Definition Documentation

◆ MILUPHPC_LINALG_CUH

#define MILUPHPC_LINALG_CUH

Definition at line 11 of file linalg.cuh.


milupHPC - include/cuda_utils/linalg.cuh File Reference
Generated on Wed Aug 31 2022 12:16:53 by Doxygen 1.9.3