linearequationsongpu.h

来自「PDE simulator on GPU.」· C头文件 代码 · 共 37 行

H
37
字号
// LinearEquationsOnGPU.h: interface for the LinearEquationsOnGPU class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_LINEAREQUATIONSONGPU_H__ED1AED23_A315_47D8_980C_35AADBA00DF5__INCLUDED_)
#define AFX_LINEAREQUATIONSONGPU_H__ED1AED23_A315_47D8_980C_35AADBA00DF5__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

///////////////////////////////////////////////////////////////////////
//// General-Purpose Computation with GPU
////     By : Youquan Liu 
//// Website: http://lcs.ios.ac.cn/~lyq/
//// Date: 2003/9/22
//// Location: Labatory of Computer Science, Institute of Software, 
////            Chinese Academy of Sciences, P.R.China
//// Use the basic operations on GPU to realize more complex operations
//// Based on LinearAlgebraOperaotors.cpp + LinearAlgebraOperaotors.h
//// IN  this file, we want to realize 
//// ---------Linear Equations Solver
//// Here 
////  1. Gauss-Seidel Solver
////  2. Conjugate Gradient Solver
////  3. More...
///////////////////////////////////////////////////////////////////////
//// On GPU
void JacobiSolverOnGPU(float *M, float *x, float *b, int Dim);
void GaussSeidelSolverOnGPU(float *M, float *x, float *b, int Dim);
void SucOverRelaxSolverOnGPU(float *M, float *x, float *b, int Dim);
void SteepestDescentSolverOnGPU(float *M, float *x, float *b, int Dim);
void ConjugateGradientSolverOnGPU(float *M, float *x, float *b, int Dim);


#endif // !defined(AFX_LINEAREQUATIONSONGPU_H__ED1AED23_A315_47D8_980C_35AADBA00DF5__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?