-
高性能计算自选题目实验报告
说明: 对于一副图像,比如8000*5333分辨率,我们在处理时,通常思路是从第1个像素开始,一直计算到最后一个像素。其实,目前不论手机还是个人电脑,处理器都是多核。那么完全可以将整副图像分成若干块,比如cpu为4核处理器,那么可以分成4块,每块图像大小为2000*5333,这样程序可以创建4个线程,每个处理器执行一个线程,每个线程处理一个图像块。虽然这样操作后,运算速度不会显著提升4倍,因为线程创建、释放、上下文切换都要耗些时间。但运算速度还是将明显提升,一般4核 vs 1核,运算时间将降低一半。(For an image, such as 8000 * 5333 resolution, we usually start with the first pixel and calculate it to the last pixel. In fact, at present, whether mobile phones or personal computers, processors are multi-core. Then the whole image can be divided into several blocks, such as CPU 4 core processor, then can be divided into four blocks, each image size of 2000*5333, so that the program can create four threads, each processor executes a thread, each thread processing an image block. Although this operation will not significantly increase the computing speed by four times, because thread creation, release, context switching will take some time. But the operation speed will be improved obviously. Generally, 4 cores vs 1 cores will reduce the operation time by half)
- 2020-11-13 10:59:44下载
- 积分:1
-
MediaPlayer
VC编写的多格式播放器,可播放MP3,MIDI等格式的音频文件!()
- 2007-09-09 09:27:17下载
- 积分:1
-
uCOS-286
uCOS-II官方公布的最新源代码V2.86及更新的相关资料(uCOS-II latest source code)
- 2009-09-05 13:49:14下载
- 积分:1
-
-Tabu-Search-to-Solve-the-JSSP-with-SD-Setup-Time
Tabu search for Job shop
- 2013-09-16 01:33:55下载
- 积分:1
-
RobotView
实现机器人路径规划,内有详细代码和使用说明,由visual c++编写(robot path planning)
- 2011-07-19 12:47:14下载
- 积分:1
-
soci-3.1.0
c++与mysql数据库通信,操作数据库部分代码(c++ with mysql database communication, operate the database part of the code)
- 2012-06-11 10:00:47下载
- 积分:1
-
cviterbi
vitetbi 约束长度为7,可以直接运行(vitetbi constraint length 7 can be run directly)
- 2013-09-04 14:14:12下载
- 积分:1
-
pinshu
计数一个字符串中所有字符出现的频数,并全部输出(Count the number of frequency of all the characters in a string appears, and all output)
- 2012-12-03 14:56:50下载
- 积分:1
-
OCP-HPCA_2010
Open Core Protocol ( OCP ) TEXAS-Instrument(Open Core Protocol ( OCP ) TEXAS-Instrument)
- 2014-02-23 23:38:35下载
- 积分:1
-
STM32 ADC多通道DMA模式
STM32战舰调试通过,ADC多通道采集+DMA传输数据,可配置为双ADC模式
STM32战舰调试通过,ADC多通道采集+DMA传输数据,可配置为双ADC模式
- 2023-06-18 02:55:05下载
- 积分:1