Skip to content

Commit

Permalink
Fix comments and an incorrect path
Browse files Browse the repository at this point in the history
  • Loading branch information
svuckovicTT committed Jan 22, 2025
1 parent 3ae7f53 commit 65bd4a6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/src/adding-an-op.md
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ ttrt run out.ttnn
After adding runtime support, we're ready to test our Op on silicon. All silicon tests are located
under `test/ttmlir/Silicon`. The process is similar to [adding a compiler unit test](#4-add-a-compiler-unit-test-for-the-op).

In our specific case, we create a unit test here: `test/ttmlir/Silicon/TTNN/simple_matmul.mlir`:
In our specific case, we create a unit test here:

#### `test/ttmlir/Silicon/TTNN/matmul/simple_matmul.mlir`
```mlir
Expand Down
11 changes: 8 additions & 3 deletions docs/src/emitc-testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@
To locally run EmitC tests:

```bash
llvm-lit -sv test/ttmlir/EmitC/TTNN # Generate flatbuffers and .cpp files
tools/ttnn-standalone/ci_compile_dylib.py # Compile .cpp files to shared objects
ttrt run --emitc build/test/ttmlir/EmitC/TTNN # Run flatbuffers + shared objects and compare results
# Generate flatbuffers and .cpp files
llvm-lit -sv test/ttmlir/EmitC/TTNN

# Compile .cpp files to shared objects
tools/ttnn-standalone/ci_compile_dylib.py

# Run flatbuffers + shared objects and compare results
ttrt run --emitc build/test/ttmlir/EmitC/TTNN
```

0 comments on commit 65bd4a6

Please sign in to comment.