جميع الكتب

مهني

1 Markets I: The Ecosystem and Exchange-Traded Marketsالأسواق عبر الإنترنت 2 Markets II: Rates, FX and Creditالأسواق عبر الإنترنت 3 Markets III: Commodities, Energy and Cryptoالأسواق عبر الإنترنت 4 Quantitative Methodsالأساليب عبر الإنترنت 5 Derivatives and Volatilityالمشتقات عبر الإنترنت 6 Rates, Credit, XVA and Riskالفائدة والائتمان والمخاطر عبر الإنترنت 7 Research Craft: Predictors, Backtests, Measurement, Portfoliosالبحث عبر الإنترنت 8 Strategies I: Equities and Futuresالاستراتيجيات عبر الإنترنت 9 Strategies II: Volatility, Relative Value, Macro and the Bank Desksالاستراتيجيات عبر الإنترنت 10 Microstructure and Executionالتنفيذ عبر الإنترنت 11 Market Making and High-Frequency Tradingصناعة السوق عبر الإنترنت 12 Machine Learning for Marketsتعلم الآلة عبر الإنترنت 13 Low-Latency Softwareالتكنولوجيا عبر الإنترنت 14 Networks, Hardware and Trading Infrastructureالتكنولوجيا عبر الإنترنت 15 Research, Data and Risk Platformsالتكنولوجيا عبر الإنترنت 16 The Desk and the Firmالشركة عبر الإنترنت 17 The Industry: Firms, Roles and Careersالمسارات المهنية عبر الإنترنت 18 Interviews I: Maths, Probability and Speedالمسارات المهنية عبر الإنترنت 19 Interviews II: Markets, Trading Games and the Final Roundالمسارات المهنية عبر الإنترنت 20 Interviews III: Codeالمسارات المهنية عبر الإنترنت
التطبيقات حول المدرب تسجيل الدخول ابدأ القراءة

Computer Science · المسرد

ما معنى Parallel reduction, prefix sum؟

يُعرف أيضًا باسم: parallel reduction · prefix sum

Definition 24.8 University Computer Science — Year 3 · الفصل 24 — Parallel Programming

A parallel reduction combines nn values with an associative operation, such as ++ or max⁡\max, by a tree of combinations: work n−1n - 1, span ⌈log⁡2n⌉\lceil \log_2 n \rceil. The prefix sum, or scan, of a0,…,an−1a_0, \ldots, a_{n-1} is the sequence of running totals: inclusive, a0+⋯+aia_0 + \cdots + a_i at position ii, or exclusive, a0+⋯+ai−1a_0 + \cdots + a_{i-1}, which starts with 0.

Blelloch’s scan on the rain of eight days, in tenths of a millimetre, row by row as scan.rs prints it; shaded cells written in that round, even when the value stays the same. After the up-sweep the last cell holds the total, 133; it is replaced by 0 and the down-sweep ends with the exclusive running totals.
Blelloch’s scan on the rain of eight days, in tenths of a millimetre, row by row as scan.rs prints it; shaded cells written in that round, even when the value stays the same. After the up-sweep the last cell holds the total, 133; it is replaced by 0 and the down-sweep ends with the exclusive running totals.
اقرأ في الفصل →