Skip to content

Commit f7c308b

Browse files
committed
install tbb message
1 parent b175f0c commit f7c308b

1 file changed

Lines changed: 12 additions & 4 deletions

File tree

‎README.md‎

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,19 @@
11
# Deep Learning From Scratch Using Modern C++
22

3+
## Pre install
4+
5+
Use `std::execution::par` parallel execution. They are used to specify the execution policy of parallel algorithms. so, install tbb!
6+
7+
```console
8+
foo@bar:~$ sudo apt -y install libtbb-dev
9+
```
10+
311
## Build
412

513
Build with Clang-12.
614

715
```console
8-
foo@bar:ch00$ bazel build --config=clang_config //main:hello-world
16+
foo@bar:template/for-class$ bazel build --config=clang_config //main:hello-world
917
```
1018

1119
## Test
@@ -23,14 +31,14 @@ foo@bar:~$ sudo apt -y install uftrace valgrind
2331
Test hello-world program with uftrace in terminal.
2432

2533
```console
26-
foo@bar:ch00$ uftrace ./bazel-bin/main/hello-world
34+
foo@bar:template/for-class$ uftrace ./bazel-bin/main/hello-world
2735
```
2836
### valgrind
2937

3038
Test hello-world program with valgrind in terminal.
3139

3240
```console
33-
foo@bar:ch00$ valgrind ./bazel-bin/main/hello-world
41+
foo@bar:template/for-class$ valgrind ./bazel-bin/main/hello-world
3442
```
3543

3644
## lint
@@ -45,7 +53,7 @@ foo@bar:~$ echo "export PATH=\$PATH:\$HOME/.local/bin" >> .bashrc && source .bas
4553
And do lint.
4654

4755
```console
48-
foo@bar:ch00$ cpplint main/hello-world.cc
56+
foo@bar:template/for-class$ cpplint main/hello-world.cc
4957
```
5058

5159
# Reference

0 commit comments

Comments
 (0)