Skip to content

Commit 9a93e24

Browse files
Typos and tidy up
1 parent 1c67f35 commit 9a93e24

File tree

7 files changed

+14
-1666
lines changed

7 files changed

+14
-1666
lines changed

_config.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,4 @@ html:
3939
# table-width: 100% # (optional) stretch tables too
4040

4141
execute:
42-
execute_notebooks: "force"
43-
exclude_patterns:
44-
- 'lessons/theory.ipynb'
45-
- 'lessons/spack.ipynb'
46-
- 'lessons/slurm.ipynb'
47-
- 'lessons/conways_game_of_life.ipynb'
48-
- 'lessons/profiling.ipynb'
49-
- 'lessons/temperature_diffusion.ipynb'
42+
execute_notebooks: "force"

lessons/conways_game_of_life.ipynb

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -454,28 +454,6 @@
454454
"### Finer Grained Timing Information\n",
455455
"Our next step is to quantify those differences by measuring exactly how long each stage takes (pure computation, data transfers, grid initialisation, etc.) and to pinpoint where the bulk of the time is spent. The following section will address these questions by introducing profiling techniques."
456456
]
457-
},
458-
{
459-
"cell_type": "code",
460-
"execution_count": null,
461-
"id": "c278feb1-bfad-4799-b21a-f3c9c922e2a3",
462-
"metadata": {
463-
"editable": true,
464-
"slideshow": {
465-
"slide_type": ""
466-
},
467-
"tags": []
468-
},
469-
"outputs": [],
470-
"source": []
471-
},
472-
{
473-
"cell_type": "code",
474-
"execution_count": null,
475-
"id": "5f2165de-735a-46d9-867f-3a58fa2e8007",
476-
"metadata": {},
477-
"outputs": [],
478-
"source": []
479457
}
480458
],
481459
"metadata": {

lessons/profiling.ipynb

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -511,18 +511,6 @@
511511
"```"
512512
]
513513
},
514-
{
515-
"cell_type": "markdown",
516-
"id": "03db6331-fff6-4a1c-ba7c-c83133e119b9",
517-
"metadata": {
518-
"editable": true,
519-
"slideshow": {
520-
"slide_type": ""
521-
},
522-
"tags": []
523-
},
524-
"source": []
525-
},
526514
{
527515
"cell_type": "markdown",
528516
"id": "c2187d99-e201-495c-a234-49ac50ca9317",
@@ -550,20 +538,6 @@
550538
"- **Memory access patterns**: This is more advanced, but if diving into custom kernel, coalesced memory access (accessing consecutive memory addresses in threads that are next to each other) is important for performance. Uncoalesced or random access can slow down even if arithmetic is small.\n",
551539
"- **Use specialised libraries**: For certain tasks, libraries like cuDNN (deep neural nets), cuBLAS (linear algebra), etc., are heavily optimised. Always prefer a library call (e.g., `cp.fft` or `cp.linalg`) over writing your own, if it fits the need, because those are likely tuned for performance.\n"
552540
]
553-
},
554-
{
555-
"cell_type": "code",
556-
"execution_count": null,
557-
"id": "e015244d-0653-4b91-bbee-b51be8eec8a7",
558-
"metadata": {
559-
"editable": true,
560-
"slideshow": {
561-
"slide_type": ""
562-
},
563-
"tags": []
564-
},
565-
"outputs": [],
566-
"source": []
567541
}
568542
],
569543
"metadata": {

lessons/slurm.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
"$ squeue -u your_username\n",
7171
"```\n",
7272
"\n",
73-
"This shows all your jobs (use `squeue` alone to see everyon's jobs, but that can be long on busy systems. Typical `squeue` output columns include: \n",
73+
"This shows all your jobs (use `squeue` alone to see everyone's jobs, but that can be long on busy systems. Typical `squeue` output columns include: \n",
7474
"- **JOBID**: The job ID (e.g. 123456) \n",
7575
"- **PARTITION**: Which partition/queue is it in?.\n",
7676
"- **NAME**: the job name. \n",

0 commit comments

Comments
 (0)