⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.gen

📁 用于求解大型稀疏线性方程组Ax=b的数值计算库.
💻 GEN
字号:
----------------NIST Sparse BLAS-------------------------------------------------------------------Information on the source code generation mechanism:---------------------------------------------------   The SRC_GEN subdirectory of the distribution contains generic source files:bcomm.c         bsrmm.c         cscmm.c         csrmts.cbscmm.c         bsrmts.c        cscmts.c        vbrmm.cbscmts.c        coomm.c         csrmm.c         vbrmts.calong with generator scripts for creating the NIST Sparse BLAS kernel routines from these generic source files.   These source files are used as "master files", and are written in sucha way that special case routines can be generated by relatively simpleshell scripts which use "sed" and "awk" for text replacement.The approach saves considerable programming effort by generating mostsource files automatically, and reduces errors by ensuring thatany changes are propagated throughout all of the related source code.   The master files provide working source code for the most generalversion of the kernel routine.  This is where real programming effortshould be expended to optimized the library.  The code is commentedwith tags which can be used to selectively delete code for specialcase routines.   The "rules" for creating each special case file are defined in the SRC_GEN/kernels subdirectory.  The kernels subdirectorycontains the filesCAB		CADBbC		CDADBC		CaADB		CaDABbCCABC		CDAB		CDADBbC		CaADBC		CaDADBCABbC		CDABC		CaAB		CaADBbC		CaDADBCCADB		CDABbC		CaABC		CaDAB		CaDADBbCCADBC		CDADB		CaABbC		CaDABCone representing each of the specializations from the generic mastercode, along with kernel files for the master codes.  Each of thesekernel files contains pointers to appropriate "Definition" files,in the directory SRC_GEN/Defs, which are used to build up the sed script for the text replacement to generate the kernel routines.   For typical use, these kernel and definition files would never have to be touched.  Many modifications (say for optimization) can be made to the master source files without requiring any change whatsoever to the file generation mechanism.  The only source code changes whichwould affect code generation would be those which alter the relationship between the comment tags and the related source.A more detailed explanation of the mechanism, and requirementsfor modifications, will be forthcoming in the 1.0 release.   After making any necessary changes to these "master" source files, the library source files may be generated via the "create" script(automated in the "make" process in this directory with "make install" or "make re-install").                          ** IMPORTANT NOTE **   Any changes to source for any routines below the Toolkit interface layer ** MUST ** be made in the ../SRC_GEN directory to be retained and propagated to all appropriate kernel routines.    Changes to the Toolkit interface routines, however, should be made directly in the directory ../src_tk[c|f].)                          ** IMPORTANT NOTE **

⌨️ 快捷键说明

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