📄 linearequationsongpu.h
字号:
// 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -