For faster navigation, this Iframe is preloading the Wikiwand page for 串流處理.

串流處理

此條目可参照英語維基百科相應條目来扩充。若您熟悉来源语言和主题,请协助参考外语维基百科扩充条目。请勿直接提交机械翻译,也不要翻译不可靠、低品质内容。依版权协议,译文需在编辑摘要注明来源,或于讨论页顶部标记((Translated page))标签。

串流處理(英語:Stream processing)是一種計算機編程範式,相當於數據流程編程事件流處理英语Event stream processing,和反應式編程[1] ,其允許一些應用更容易地利用了有限形式的並行處理。這些應用程序可以使用多個計算單元,例如圖形處理上的浮點運算器現場可編程門陣列(FPGAs)[2],而無需明確管理這些單元之間的分配,同步或通信。

串流處理範例通過限制可執行的並行計算來簡化並行軟件和硬件。給定一個數據序列(串流處理),一系列操作(內核函數)被應用到串流中的每個元素。例如:直播軟件。內核函數通常使用流水線(計算),並且嘗試優化本地片上內存重用,以便最大限度地減少帶寬損失,並通過外部存儲器交互。典型的是統一串流式傳輸,其中一個內核函數應用於流中的所有元素。由於內核和流抽象展現了數據依賴性,編譯器工具可以完全自動化和優化片上管理任務。串流處理硬件可以使用記分板例如,當依賴關係變得已知時啟動直接記憶體存取(DMA)。手動DMA管理的取消減少了軟件的複雜性,並且相關的硬件緩存I / O消除,減少了專用計算單元(例如算術邏輯單元)必須涉及服務的數據區域擴展。

在20世紀80年代,串流處理在數據流編程中得到了探索。一個例子是語言SISAL(單一賦值語言中的流和迭代)。

参考资料

  1. ^ 串流處理簡介. [2018-06-20]. (原始内容存档于2017-11-09). 
  2. ^ FCUDA:實現將CUDA內核高效彙編到FPGAs (PDF). [2018-06-20]. (原始内容 (PDF)存档于2014-06-04). 


{{bottomLinkPreText}} {{bottomLinkText}}
串流處理
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?