文件名称:UnrollLoops
介绍说明--下载内容均来自于网络,请自行研究使用
利用模板元编程实现解循环优化
在《C++ Templates: The Complete Guide》一书中(以下简称书),提出了模板元编程最早的实际应用之一:在数值运算中进行解循环优化。
而本文的标题是噱头!本文的真正目的是指出这种优化措施在增加复杂性的同时,并不一定能明显改善效率。应当谨慎使用该技术——默认不使用该技术,在点积计算确实是效率瓶颈时考虑采用该技术,并认真测试该技术是否真能提高效率。-The use of template meta programming cycle optimization solution in the
在《C++ Templates: The Complete Guide》一书中(以下简称书),提出了模板元编程最早的实际应用之一:在数值运算中进行解循环优化。
而本文的标题是噱头!本文的真正目的是指出这种优化措施在增加复杂性的同时,并不一定能明显改善效率。应当谨慎使用该技术——默认不使用该技术,在点积计算确实是效率瓶颈时考虑采用该技术,并认真测试该技术是否真能提高效率。-The use of template meta programming cycle optimization solution in the
(系统自动生成,下载前可以参看下载内容)
下载文件列表
UnrollLoops
...........\sample1
...........\.......\sample1.cpp
...........\.......\sample1.vcproj
...........\.......\sample1.vcproj.OWNCOMPUTER.OwnWaterloo.user
...........\sample2
...........\.......\sample2.cpp
...........\.......\sample2.vcproj
...........\.......\sample2.vcproj.OWNCOMPUTER.OwnWaterloo.user
...........\sample3
...........\.......\sample3.cpp
...........\.......\sample3.vcproj
...........\.......\sample3.vcproj.OWNCOMPUTER.OwnWaterloo.user
...........\sample4
...........\.......\sample4.cpp
...........\.......\sample4.vcproj
...........\.......\sample4.vcproj.OWNCOMPUTER.OwnWaterloo.user
...........\UnrollLoops.h
...........\UnrollLoops.sln
...........\sample1
...........\.......\sample1.cpp
...........\.......\sample1.vcproj
...........\.......\sample1.vcproj.OWNCOMPUTER.OwnWaterloo.user
...........\sample2
...........\.......\sample2.cpp
...........\.......\sample2.vcproj
...........\.......\sample2.vcproj.OWNCOMPUTER.OwnWaterloo.user
...........\sample3
...........\.......\sample3.cpp
...........\.......\sample3.vcproj
...........\.......\sample3.vcproj.OWNCOMPUTER.OwnWaterloo.user
...........\sample4
...........\.......\sample4.cpp
...........\.......\sample4.vcproj
...........\.......\sample4.vcproj.OWNCOMPUTER.OwnWaterloo.user
...........\UnrollLoops.h
...........\UnrollLoops.sln