From 527b78af50cbad73210e7059d1a1408ea3c6ae1a Mon Sep 17 00:00:00 2001 From: Dilum Aluthge Date: Wed, 6 Jan 2021 00:42:15 -0500 Subject: [PATCH 1/2] Remind the user to start Julia with multiple threads --- docs/src/getting-started.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/src/getting-started.md b/docs/src/getting-started.md index b43a3e1..6384b0b 100644 --- a/docs/src/getting-started.md +++ b/docs/src/getting-started.md @@ -31,3 +31,8 @@ C = Octavian.matmul(A, B) # (multi-threaded) multiply A×B and return the resul C == A * B ``` + +Remember to start Julia with multiple threads with e.g. one of the following: +- `julia -t auto` +- `julia -t 4` +- Set the `JULIA_NUM_THREADS` environment variable to `4` **before** starting Julia From 590133f21e0e19bac1a43e3276c57098b84037ec Mon Sep 17 00:00:00 2001 From: Dilum Aluthge Date: Wed, 6 Jan 2021 00:42:57 -0500 Subject: [PATCH 2/2] Remind the user to start Julia with multiple threads --- docs/src/getting-started.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/src/getting-started.md b/docs/src/getting-started.md index 6384b0b..22e55ec 100644 --- a/docs/src/getting-started.md +++ b/docs/src/getting-started.md @@ -6,6 +6,11 @@ CurrentModule = Octavian ## Multi-threaded matrix multiplication: `matmul!` and `matmul` +Remember to start Julia with multiple threads with e.g. one of the following: +- `julia -t auto` +- `julia -t 4` +- Set the `JULIA_NUM_THREADS` environment variable to `4` **before** starting Julia + ```@repl using Octavian @@ -31,8 +36,3 @@ C = Octavian.matmul(A, B) # (multi-threaded) multiply A×B and return the resul C == A * B ``` - -Remember to start Julia with multiple threads with e.g. one of the following: -- `julia -t auto` -- `julia -t 4` -- Set the `JULIA_NUM_THREADS` environment variable to `4` **before** starting Julia