亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? multicore.html

?? Multicore - Parallel Processing on Multiple Cores
?? HTML
字號:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
	<meta http-equiv="content-Type" content="text/html; charset=ISO-8859-1">
	<title>Multicore</title>
</head>
<body>

<h2><font color="#000080">
<a href="http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=13775">
Multicore - Parallel Processing on Multiple Cores</a>

</font></h2>

<h3><font color="#000080">
Preamble
</font></h3>

I have put a lot of effort into this contribution to Matlab Central. As I 
used the code successfully for myself for quite some time, I am sure that it can 
be rather valuable for the one or the other. If you find any errors or bugs, 
if you have problems in using the function or if you find the documentation 
insufficiently detailed:

<h4><font color="#AA0000">
Please contact me and give me the chance to help you before giving a bad 
rating on Matlab Central!
</font></h4>

Contact details at the bottom of this page.

<h3><font color="#000080">Discussion group
</font></h3>

Please take the chance to discuss with other users about the package in the discussion group:<br><br>

<a href="http://groups.yahoo.com/group/multicore_for_matlab/">http://groups.yahoo.com/group/multicore_for_matlab/</a>

<h3><font color="#000080">Introduction
</font></h3>

The latest Matlab releases (starting with R2007a) include support for multiple 
cores. However, Matlab will only take advantage of multiple cores in evaluating 
certain computations like an FFT or a FIR filtering operation. Matlab will never 
be able to determine if, for example, consecutive function calls in a for-loop 
are independent of each other.

With this package, I provide some MATLAB-functions realizing parallel processing 
on multiple cores on a single machine or on multiple machines that have access 
to a common directory.<br><br>

If you have multiple function calls that are independent of each other and you 
can reformulate your code as<br><br>

<font face="Courier New" color="#000080"> resultCell = 
cell(size(parameterCell));<br> for k=1:numel(parameterCell)<br> 
&nbsp;&nbsp;resultCell{k} = myfun(parameterCell{k});<br> end<br> </font> <br>

then, replacing the loop by<br><br>

<font face="Courier New" color="#000080"> resultCell = 
startmulticoremaster(@myfun, parameterCell);<br> </font> <br>

allows you to evaluate your loop in parallel in several Matlab processes. All you 
need to do in the other Matlab processes is to run<br><br>

<font face="Courier New" color="#000080">startmulticoreslave;<br> </font> <br>

Please refer to the help comments in file startmulticoremaster.m for possible 
input arguments and more details about how the parallelization works.<br><br>

No special toolboxes are used, no compilation of mex-files is necessary, 
everything is programmed in plain and platform-independent Matlab. If one of 
your slave processes dies - don't care, the master process will go on working on 
the given task.<br><br>

<font color="#000080"><b>Note:</b></font> The Matlab multithreading capability 
(R2007a and higher) might terminate all the advantage gained by using the multicore 
package. So make sure that you <font color="#000080"><b>UNcheck &quot;Enable multihreaded 
computation&quot;</b></font> under File/Preferences/General/Multithreading in all 
involved Matlab sessions.

<h3><font color="#000080">Quick start</font></h3>

For a quick start, first unzip all files into a directory, start Matlab and change 
to this directoy. Then have a look at the heavily commented demo function <font 
color="#000080">multicoredemo.m</font>. Start <font color="#000080">multicoredemo.m
</font> in one Matlab process and <font color="#000080">startmulticoreslave.m</font> in 
another Matlab session.

<h3><font color="#000080">Keywords</font></h3>

Parallel processing, distributed computing, multiple cores.<br>

<h3><font color="#000080">Functions contained in this package</font></h3>

<b><font color="#000080">startmulticoremaster.m</font></b><br>
Takes the function handle (or a cell array of function handles) and the 
parameters and computes the output. Files containing information about which
function to execute with which parameters are saved in a directory and read
by the slave processes. The results saved by the slave processes are later
read.<br><br>

<b><font color="#000080">startmulticoreslave.m</font></b><br>
Loads the files generated by function startmulticoremaster.m and evaluates
the given function. Results are saved in files in the same directory.<br><br>

<b><font color="#000080">multicoredemo.m and testfun.m</font></b><br>
To get into the code, have a look at the demo. You can start it without input 
arguments for a demo on a multi-core machine, or with a common directory to
use for a multi-machine demo.<br><br>

<b><font color="#000080">
setfilesemaphore.m, removefilesemaphore.m and deletewithsemaphores.m
</font></b><br>
A crucial thing is to avoid that several Matlab processes try to open/delete/write 
a file at the same time. Using a simple semaphore technique, exclusive file
access is guaranteed. Also here, no platform-dependent or C-programmed stuff is used.
<br><br>

<b><font color="#000080">existfile.m, existfile.c</font></b><br>
Check if a file exists. To use the faster mex-file, type 
<font face="Courier New" color="#000080">&quot;mex -setup&quot;</font>, 
select the builtin Lcc compiler and type
<font face="Courier New" color="#000080">&quot;mex existfile.c&quot;</font>
to compile the file. However, the package also works without using the mex-file.<br><br>

<b><font color="#000080">findfiles.m</font></b><br>
Returns a list of file names matching a given specification in a cell array.<br><br>

<b><font color="#000080">getusername.m, gethostname.m</font></b><br>
Return the user and host name.<br><br>

<b><font color="#000080">tempdir2.m</font></b><br>
Return the name of a temporary directory.<br><br>

<b><font color="#000080">datenum2.m, translatedatestr.m</font></b><br>
Compensate for some shortcomings in Matlab regarding date conversion.<br><br>

And some more ...

<h3><font color="#000080">Known Issues</font></h3>  

If processing is cancelled by the user (Ctrl-C), catching Matlab just in saving/deleting 
a temporary file, you might get some file access warnings. This is because Matlab 
seems not to release the file correctly (at least under Windows). Besides some annoying 
warnings, the multicore package should work correctly anyway. To get rid of the warning 
messages, you will have to restart the right Matlab process before the file can be deleted. 
<br><br>

The communication between the different Matlab sessions, which is done by saving/loading 
temporary files into a common directory, causes some overhead. Thus, if your function calls 
only need fractions of a second, the overhead may eat the advantage of the parallelization. 
However, the multicore package can do several function evaluations after each other in every 
process before communicating again. In this way the overhead can be minimized. As a rule 
of thumb, the time needed for a bunch of function executions should not be lower than 2 
seconds. If this is the case in your application, the MULTICORE package might not be of any 
help to you.

<h3><font color="#000080">
Contact
</font></h3>  

If you have questions or find any bugs or errors, please drop me an 
<a href="mailto:mb_matlab@gmx.de?subject=multicore">E-mail</a>.<br><br>


Dr.-Ing. Markus Buehren<br>
Stuttgart, Germany<br>
<a href="mailto:mb_matlab@gmx.de?subject=multicore package">mb_matlab@gmx.de</a><br>
<a href="http://www.markusbuehren.de">http://www.markusbuehren.de</a><br>
<br>
<a href="http://groups.yahoo.com/group/multicore_for_matlab/" target="_blank">http://groups.yahoo.com/group/multicore_for_matlab/</a>

<h3><font color="#000080">
Version
</font></h3>  
Last modified 22.02.2009<br>
Latest version on <a href="http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=13775">Matlab Central</a>.

</body>
</html>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品国产乱码久久久久久免费| 青青草成人在线观看| 麻豆极品一区二区三区| 欧美精选在线播放| 亚洲精品一二三四区| 99久久婷婷国产精品综合| 欧美精品一区二区蜜臀亚洲| 亚瑟在线精品视频| 欧美色综合网站| 亚洲一区欧美一区| 不卡视频免费播放| 欧美激情综合在线| 国产成人免费在线| 久久久精品免费免费| 国产成人自拍网| 国产精品久久久久久久裸模 | 成人国产在线观看| 久久久另类综合| 国产成人欧美日韩在线电影| 国产欧美日韩另类视频免费观看| 高清不卡一区二区| 亚洲日本在线天堂| 欧美一区二区女人| 激情成人综合网| 亚洲欧美一区二区视频| 欧美性一二三区| 久久99这里只有精品| 欧美国产欧美亚州国产日韩mv天天看完整| 国内外成人在线| 国产精品久久久久7777按摩| 99久久精品一区| 午夜精品久久久久久久久久久| 正在播放亚洲一区| 不卡av在线网| 日韩精品1区2区3区| 国产欧美一区二区精品性色| 色综合天天做天天爱| 日本大胆欧美人术艺术动态| 日本一区二区电影| 欧美性xxxxxx少妇| 另类综合日韩欧美亚洲| 久久久久国产精品人| 欧美日韩五月天| 国产**成人网毛片九色| 亚洲成a人片综合在线| 久久久久成人黄色影片| 欧美日韩在线三级| 国产高清久久久久| 蜜臀av一级做a爰片久久| 国产精品免费免费| 欧美成人aa大片| 欧美色区777第一页| 99久久伊人网影院| 国产夫妻精品视频| 美女在线一区二区| 天天av天天翘天天综合网| 国产精品国产三级国产有无不卡 | 亚洲天堂精品视频| 国产精品亲子伦对白| 2022国产精品视频| 久久婷婷色综合| 久久亚洲捆绑美女| 久久久99精品久久| 久久久亚洲国产美女国产盗摄| 欧美一级片在线观看| 91蜜桃婷婷狠狠久久综合9色| 国产乱码精品1区2区3区| 18涩涩午夜精品.www| 久久蜜桃一区二区| 久久夜色精品一区| 久久只精品国产| 日韩一区二区视频在线观看| 欧美性猛交xxxx乱大交退制版 | 色爱区综合激月婷婷| 成人av在线影院| 成人一区二区视频| 国产99久久久精品| 成人自拍视频在线观看| 国产成a人无v码亚洲福利| 国产成人av影院| 精品午夜久久福利影院| 韩国欧美国产一区| 激情五月婷婷综合网| 国产美女精品人人做人人爽| 国产乱码一区二区三区| 丁香婷婷综合五月| 国产成人精品午夜视频免费| 大胆亚洲人体视频| 99久久久国产精品免费蜜臀| 色综合天天天天做夜夜夜夜做| 91麻豆产精品久久久久久| 在线免费观看不卡av| 欧美日韩亚州综合| 精品日本一线二线三线不卡| 国产亚洲精久久久久久| 亚洲综合在线视频| 秋霞成人午夜伦在线观看| 激情国产一区二区 | 日韩国产欧美一区二区三区| 国产精品国模大尺度视频| 亚洲色图19p| 老色鬼精品视频在线观看播放| 国产精品一区二区91| 欧洲av在线精品| 国产亚洲一区二区在线观看| 亚洲精品国产精品乱码不99| 日韩国产精品91| 成人在线一区二区三区| 亚洲人成网站色在线观看| 亚洲成人三级小说| 免费在线观看成人| 91免费观看国产| 中文字幕免费不卡| 午夜精品福利久久久| 波多野结衣在线一区| 日韩精品专区在线| 亚洲二区在线观看| 色狠狠桃花综合| 精品国产1区二区| 日韩高清在线观看| 日本最新不卡在线| 蜜臀va亚洲va欧美va天堂| 欧美日本高清视频在线观看| 日韩成人精品在线| 精品乱码亚洲一区二区不卡| 自拍偷拍国产亚洲| 亚洲成av人片一区二区三区| 色偷偷成人一区二区三区91| 中文成人综合网| 国产精品亚洲一区二区三区在线| 日韩欧美亚洲一区二区| 亚洲国产视频a| 日本高清视频一区二区| 综合自拍亚洲综合图不卡区| 99久久99久久精品国产片果冻| 久久久久九九视频| 黄色日韩网站视频| 欧美mv日韩mv| 91亚洲精品乱码久久久久久蜜桃| 亚洲国产精品国自产拍av| 91日韩在线专区| 亚洲激情图片qvod| 欧美日韩性生活| 精品一区二区三区免费| 国产婷婷色一区二区三区在线| 久久成人18免费观看| 国产网红主播福利一区二区| jiyouzz国产精品久久| 亚洲超丰满肉感bbw| 久久伊人蜜桃av一区二区| av在线播放一区二区三区| 日韩精品乱码av一区二区| 亚洲国产经典视频| 国产呦精品一区二区三区网站| 555www色欧美视频| 91免费国产在线| 香港成人在线视频| 制服丝袜亚洲精品中文字幕| 97se亚洲国产综合自在线不卡| 偷拍亚洲欧洲综合| 亚洲欧美日本韩国| 欧美激情一区在线| 久久久久国产精品麻豆ai换脸| 欧美高清一级片在线| 国产女主播视频一区二区| 99re这里都是精品| 日韩国产在线观看一区| 欧美激情在线一区二区三区| 欧美视频一区二区| 国产成人免费高清| 五月天激情综合网| 中文字幕不卡在线播放| 欧美日韩不卡在线| 9人人澡人人爽人人精品| 日韩综合在线视频| 亚洲图片欧美激情| 制服丝袜在线91| 日本道在线观看一区二区| 国产综合一区二区| 日本特黄久久久高潮| 中文字幕制服丝袜一区二区三区| 欧美日韩视频专区在线播放| 国产精品自在在线| 青青草97国产精品免费观看| 国产精品三级av| 久久精品亚洲乱码伦伦中文| 91免费精品国自产拍在线不卡 | 欧美日韩一区二区欧美激情| 国产精品亚洲第一区在线暖暖韩国| 亚洲不卡av一区二区三区| 亚洲欧洲99久久| 中文字幕高清不卡| 国产日产亚洲精品系列| 色综合天天综合色综合av| 国产成人在线视频网站| 国产精品正在播放| 久久99国内精品| 黑人精品欧美一区二区蜜桃| 久久精品免费观看| 国内精品久久久久影院一蜜桃|