Skip to content

Commit b972b8b

Browse files
committed
Update user guide to run test on simulator
Signed-off-by: Arun Rangasamy <arangasa@qti.qualcomm.com>
1 parent 7a39f69 commit b972b8b

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

docs/user-guide.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -286,11 +286,12 @@ which linalg-hexagon-opt
286286
lit triton/build/cmake.linux-x86_64-cpython-${PYTHON_VERSION}/third_party/qcom_hexagon_backend/test/
287287
```
288288

289-
*NOTE*: Steps 3 and 4 are only applicable if you have access to a Qualcomm Hexagon NPU device.
290-
If you do not have access to such a device, you can skip these steps; however, please contact us at [hexagon-mlir.support@qti.qualcomm.com](mailto:hexagon-mlir.support@qti.qualcomm.com) for assistance in obtaining access to a test device.
289+
*NOTE*: Steps 3 and 4 are applicable for running tests on Qualcomm Hexagon NPU devices or on simulator.
290+
For assistance in obtaining access to a test device, please contact us at [hexagon-mlir.support@qti.qualcomm.com](mailto:hexagon-mlir.support@qti.qualcomm.com).
291291

292292
### Step 3: Run Triton Test
293293
If you have access to a Qualcomm NPU device, please set the variables ANDROID_HOST and ANDROID_SERIAL to the host name and hexagon device number.
294+
If you do not have access to a Qualcomm NPU device, you can still run the test on hexagon simulator. Please set RUN_ON_SIM environment variable to 1 before running the tests.
294295
You can then run an end-to-end compilation and execution flow using the following command:
295296
```bash
296297
# Compile and execute a simple Triton kernel

0 commit comments

Comments
 (0)