Skip to content

Commit 3252a9b

Browse files
committed
fixed typos
1 parent 684701b commit 3252a9b

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

Diff for: docs/src/lecture_10/lecture.md

+8-4
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ function juliaset_pixel(z₀, c)
108108
return UInt8(255)
109109
end
110110
```
111-
A nice property of fractals like Julia set is that the computation can be easily paralelized, since the value of each pixel is independent from the remaining. In our experiments, the level of granulity will be one column, since calculation of single pixel is so fast, that thread or process switching will have much higher overhead.
111+
A nice property of fractals like Julia set is that the computation can be easily paralelized, since the value of each pixel is independent from the remaining. In our experiments, the level of granurality will be one column, since calculation of single pixel is so fast, that thread or process switching will have much higher overhead.
112112
```julia
113113
function juliaset_column!(img, c, n, j)
114114
x = -2.0 + (j-1)*4.0/(n-1)
@@ -312,10 +312,15 @@ The execution time is much higher then what we have observed in the previous cas
312312
```julia
313313
@everywhere begin
314314
function juliaset_channel_worker(instructions, results)
315+
# println("worker $(myid()) has started")
315316
while true
317+
# println("worker $(myid()) is waiting for instructions")
316318
c, n, cols = take!(instructions)
319+
# println("worker $(myid()) is computing results")
317320
put!(results, (cols, juliaset_columns(c, n, cols)))
321+
# println("worker $(myid()) has computed results")
318322
end
323+
# println("worker $(myid()) has computed results")
319324
end
320325
end
321326

@@ -753,13 +758,12 @@ When deciding, what kind of paralelism to employ, consider following
753758
- `Transducers` thrives for (almost) the same code to support thread- and process-based paralelism.
754759

755760
### Materials
761+
- Complexity of thread schedulling [https://www.youtube.com/watch?v=YdiZa0Y3F3c](https://www.youtube.com/watch?v=YdiZa0Y3F3c)
762+
- [Malt.jl](https://github.com/JuliaPluto/Malt.jl) a library supporting process sandboxing (and killing)
756763
- [http://cecileane.github.io/computingtools/pages/notes1209.html](http://cecileane.github.io/computingtools/pages/notes1209.html)
757764
- [https://lucris.lub.lu.se/ws/portalfiles/portal/61129522/julia_parallel.pdf](https://lucris.lub.lu.se/ws/portalfiles/portal/61129522/julia_parallel.pdf)
758765
- [http://igoro.com/archive/gallery-of-processor-cache-effects/](http://igoro.com/archive/gallery-of-processor-cache-effects/)
759766
- [https://www.csd.uwo.ca/~mmorenom/cs2101a_moreno/Parallel_computing_with_Julia.pdf](https://www.csd.uwo.ca/~mmorenom/cs2101a_moreno/Parallel_computing_with_Julia.pdf)
760-
- Complexity of thread schedulling [https://www.youtube.com/watch?v=YdiZa0Y3F3c](https://www.youtube.com/watch?v=YdiZa0Y3F3c)
761-
- TapIR --- Teaching paralelism to Julia compiler [https://www.youtube.com/watch?v=-JyK5Xpk7jE](https://www.youtube.com/watch?v=-JyK5Xpk7jE)
762767
- Threads: [https://juliahighperformance.com/code/Chapter09.html](https://juliahighperformance.com/code/Chapter09.html)
763768
- Processes: [https://juliahighperformance.com/code/Chapter10.html](https://juliahighperformance.com/code/Chapter10.html)
764-
- Alan Adelman uses FLoops in [https://www.youtube.com/watch?v=dczkYlOM2sg](https://www.youtube.com/watch?v=dczkYlOM2sg)
765769
- Examples: ?Heat equation? from [https://hpc.llnl.gov/training/tutorials/](introduction-parallel-computing-tutorial#Examples(https://hpc.llnl.gov/training/tutorials/)

0 commit comments

Comments
 (0)