Skip to content

Commit dbc033f

Browse files
committed
cleanup
1 parent 6ee0db4 commit dbc033f

3 files changed

Lines changed: 17 additions & 16 deletions

File tree

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ jobs:
5252
5353
- name: Build Quarto Manual
5454
run: |
55-
quarto render ./Manual-new-src/quarto --to html
55+
quarto render ./Manual-new-src --to html
5656
mkdir -p build/Manual-new
57-
cp -R ./Manual-new-src/quarto/docs-quarto/. ./build/Manual-new/
57+
cp -R ./Manual-new-src/docs-quarto/. ./build/Manual-new/
5858
5959
- name: Upload artifact
6060
uses: actions/upload-pages-artifact@v3

For-Developers/amd-lumi-debug.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ This note summarizes is about debugging on **LUMI** with **AMD ROCm**, especiall
66

77
---
88

9+
910
## Typical failure
1011

1112
A representative runtime error was:
@@ -253,8 +254,7 @@ This helps map Kokkos bounds check backtraces to source locations.
253254
export ROCM_DEBUG_AGENT_OPTIONS="--all --save-code-objects"
254255
srun -n 1 ./your_exe ...
255256
```
256-
6. Narrow the problem to a single kernel with fences and labels.
257-
7. Treat “bug disappears under debug agent” as evidence of a timing sensitive bug, not a fix.
257+
7. Narrow the problem to a single kernel with fences and labels.
258+
8. Treat “bug disappears under debug agent” as evidence of a timing sensitive bug, not a fix.
258259

259260
---
260-

build-local.sh

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
11
#!/bin/bash
22
mkdir -p build/uploads build/logos
3-
find . -name "*.adoc" -print0 | while IFS= read -r -d '' file;
3+
find . \( -path './build' -o -path './build/*' -o -path './.git' -o -path './.git/*' \) -prune -o -type f -name "*.adoc" -print0 | while IFS= read -r -d '' file;
44
do
5-
out="build/${file%.adoc}.html"
6-
mkdir -p "$(dirname "$out")"
7-
asciidoctor \
8-
-a stylesheet="$PWD/stylesheets/readthedocs.css" \
9-
-d book \
10-
--base-dir "$PWD" \
11-
-o "$out" \
12-
"$file"
5+
out="build/${file%.adoc}.html"
6+
outpdf="build/${file%.adoc}.pdf"
7+
8+
mkdir -p "$(dirname "$out")"
9+
asciidoctor \
10+
-a stylesheet="$PWD/stylesheets/readthedocs.css" \
11+
-d book \
12+
--base-dir "$PWD" \
13+
-o "$out" \
14+
"$file"
1315
done
1416
cp -rv uploads/* build/uploads 2>/dev/null || true
1517
cp -rv logos/* build/logos 2>/dev/null || true
16-
find . -type d -name "reference-data" -print0 | while IFS= read -r -d '' dir;
18+
find . \( -path './build' -o -path './build/*' -o -path './.git' -o -path './.git/*' \) -prune -o -type d -name "reference-data" -print0 | while IFS= read -r -d '' dir;
1719
do
1820
target="build/${dir#./}"
1921
mkdir -p "$(dirname "$target")"
@@ -26,4 +28,3 @@ do
2628
cp "$asset" "$target"
2729
done
2830
echo "Build complete. Open build/index.html (or relevant .html) in browser."
29-

0 commit comments

Comments
 (0)