[High Performance Computing] {Udacity} L3: Intro to the Work-Span Model

https://s3.amazonaws.com/content.udacity-data.com/courses/gt-cse6220/Course+Notes/Lesson1-1+Introduction+(1).pdf

two parts:

1, task represented by DAG

edges << operations => better for parallelism

2, programming model defining DAG

work span analysis

https://maths-people.anu.edu.au/~brent/pub/pub022.html

second condition

brent‘s theorem:

https://crd-legacy.lbl.gov/~dhbailey/dhbpapers/twelve-ways.pdf

The correct answer depends on the situation.

The Holy Grail for span is to find a poly-logarithmic algorithm

replace par-for with a procedure call

for i loop, the y[i]s are independent from each other

but for j loop, every component depends on y[i]

eg

j loop is linear and executed by n times.

t[:] ← A[i,:] \cdot x[:]

linear work and logarithmic span (look at the forth slide of this page)

https://www.cprogramming.com/parallelism.html

原文地址:https://www.cnblogs.com/ecoflex/p/10888011.html

时间: 2024-10-09 04:31:26

[High Performance Computing] {Udacity} L3: Intro to the Work-Span Model的相关文章

[High Performance Computing] {Udacity} L4: Intro to OpenMP

Getting started with OpenMP These instructions for getting started with OpenMP are repeated in Project 0. They are included here for those students who wish to program with OpenMP now. Vagrant Your first task is to set-up Vagrant on your machine if y

[High Performance Computing] {Udacity} L5: Comparison-based Sorting

Please download and read: Introduction to Algorithms, Third Edition, Chapter 27 Multithreaded Algorithms by Thomas H. Cormen, Charles E. Leiserson, Ronald L. Rivest, Clifford Stein at: Intro To Algorithms course note: https://s3.amazonaws.com/content

[High Performance Computing] {Udacity} L1: Course Information

原文地址:https://www.cnblogs.com/ecoflex/p/10885348.html

A simple model for describing basic sources of possible performance problems

A simple model for describing basic sources of possible performance problems In this section we describe a simple model for describing basic sources of possible performance problems. The model is expressed in terms of operating system observables of

370 门免费编程与计算机科学在线课程

简评:这篇文章为大家整理出 370 门精选的免费高质量编程计算机科学类的课程(涵盖程序语言.人工智能.深度学习与机器学习等热门话题).这370 门课程是从 Class Central数据库里面的 7000 门课程挑选出来的,每个课程的 Rating(评价)也是由该网站上获取下来的平均值. 370 门课程里面根据难易程度被分为: 入门 中级 进阶 所收录的大部分教程都已经更新完毕了,你可以按照自己的节奏(Self Paced)随时观看学习,有小部分教程还在持续更新至中,当然了,它们全都是免费的!

Github 的一个免费编程书籍列表

Index Ada Agda Alef Android APL Arduino ASP.NET MVC Assembly Language Non-X86 AutoHotkey Autotools Awk Bash Basic BETA C C# C++ Chapel Cilk Clojure COBOL CoffeeScript ColdFusion Cool Coq D Dart DB2 Delphi / Pascal DTrace Elasticsearch Emacs Erlang F#

计算机类免费电子书共享

列表最早来自stackoverflow上的一个问题:List of freely available programming books 现在在github上进行维护:free-programming-books List of Free Programming Books This list initially was a clone of stackoverflow - List of freely available programming books by George Stocker.

Github上的1000多本免费电子书重磅来袭!

这个GIthub库的免费电子书资源绝对值得你拥有,赶紧收藏吧! 以前 StackOverFlow 也给出了一个免费电子书列表,现在在Github上可以看到时刻保持更新的列表了. 瞥一眼下面的书籍分类目录,你就能知道这个免费电子书库的含金量了吧.记得一定要看几本,千万别下载了大量书籍而束之高阁! 行动重于空想! Github地址:     https://github.com/vhf/free-programming-books/blob/master/free-programming-books

清华论文模板

thuthesis.cls 1 %% 2 %% This is file `thuthesis.cls', 3 %% generated with the docstrip utility. 4 %% 5 %% The original source files were: 6 %% 7 %% thuthesis.dtx (with options: `cls') 8 %% 9 %% This is a generated file. 10 %% 11 %% Copyright (C) 2005