Skip to content

Commit 62f0833

Browse files
authored
Peano lit enablement No2 (#3233)
Signed-off-by: thomthehound <thomthehound@gmail.com>
1 parent f318160 commit 62f0833

189 files changed

Lines changed: 332 additions & 161 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
// (c) Copyright 2026 Advanced Micro Devices, Inc.
22
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
33
//
4-
// REQUIRES: ryzen_ai, peano
4+
// REQUIRES: ryzen_ai, peano
55
//
6-
// RUN: %run_on_npu1% python3 %S/transform.py
7-
// RUN: %run_on_npu2% python3 %S/transform.py
8-
// RUN: %run_on_npu1% python3 %S/transform_binary.py
9-
// RUN: %run_on_npu2% python3 %S/transform_binary.py
10-
// RUN: %run_on_npu1% python3 %S/transform_parallel.py
11-
// RUN: %run_on_npu2% python3 %S/transform_parallel.py
12-
// RUN: %run_on_npu1% python3 %S/transform_parallel_binary.py
13-
// RUN: %run_on_npu2% python3 %S/transform_parallel_binary.py
14-
// RUN: %run_on_npu1% python3 %S/for_each.py
15-
// RUN: %run_on_npu2% python3 %S/for_each.py
6+
// RUN: %run_on_npu1% %python %S/transform.py
7+
// RUN: %run_on_npu2% %python %S/transform.py
8+
// RUN: %run_on_npu1% %python %S/transform_binary.py
9+
// RUN: %run_on_npu2% %python %S/transform_binary.py
10+
// RUN: %run_on_npu1% %python %S/transform_parallel.py
11+
// RUN: %run_on_npu2% %python %S/transform_parallel.py
12+
// RUN: %run_on_npu1% %python %S/transform_parallel_binary.py
13+
// RUN: %run_on_npu2% %python %S/transform_parallel_binary.py
14+
// RUN: %run_on_npu1% %python %S/for_each.py
15+
// RUN: %run_on_npu2% %python %S/for_each.py

programming_examples/basic/chaining_channels/run_strix_makefile.lit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
33
//
44
// REQUIRES: ryzen_ai_npu2, peano
5+
// REQUIRES: makefile_examples
56
//
67
// RUN: mkdir -p test_stx
78
// RUN: cd test_stx

programming_examples/basic/custom_dma/run_strix_makefile.lit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
33
//
44
// REQUIRES: ryzen_ai_npu2, peano
5+
// REQUIRES: makefile_examples
56
//
67
// RUN: mkdir -p test_stx
78
// RUN: cd test_stx

programming_examples/basic/dma_compression/run_jit.lit

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
//
44
// REQUIRES: ryzen_ai, peano
55
//
6-
// RUN: %run_on_npu1% python3 %S/test_dma_compression.py
7-
// RUN: %run_on_npu2% python3 %S/test_dma_compression.py
6+
// RUN: %run_on_npu1% %python %S/test_dma_compression.py
7+
// RUN: %run_on_npu2% %python %S/test_dma_compression.py

programming_examples/basic/event_trace/run_makefile.lit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
33
//
44
// REQUIRES: ryzen_ai_npu1
5+
// REQUIRES: makefile_examples
56
//
67
// RUN: mkdir -p test_npu1
78
// RUN: cd test_npu1

programming_examples/basic/event_trace/run_strix_makefile.lit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
33
//
44
// REQUIRES: ryzen_ai_npu2
5+
// REQUIRES: makefile_examples
56
//
67
// RUN: mkdir -p test_npu2
78
// RUN: cd test_npu2

programming_examples/basic/lit.local.cfg

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,3 @@
77
# (c) Copyright 2023 AMD Inc.
88

99
config.suffixes = ['.lit']
10-
11-
if 'AIE2' not in config.vitis_components:
12-
config.unsupported = True

programming_examples/basic/matrix_multiplication/cascade/tests/run_makefile.lit

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
33
//
44
// REQUIRES: ryzen_ai_npu1, peano
5+
// REQUIRES: makefile_examples
56
//
67
// RUN: make -f %S/../Makefile clean
7-
// RUN: make -f %S/../Makefile
8+
// RUN: make -f %S/../Makefile
89
// RUN: %run_on_npu1% make -f %S/../Makefile run

programming_examples/basic/matrix_multiplication/matrix_vector/tests/run_makefile.lit

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
33
//
44
// REQUIRES: ryzen_ai_npu1, peano
5+
// REQUIRES: makefile_examples
56
//
67
// RUN: mkdir -p test
78
// RUN: cd test
89
// RUN: make -f %S/../Makefile clean
9-
// RUN: make -f %S/../Makefile
10+
// RUN: make -f %S/../Makefile
1011
// RUN: %run_on_npu1% make -f %S/../Makefile run

programming_examples/basic/matrix_multiplication/matrix_vector/tests/run_makefile_chess.lit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
33
//
44
// REQUIRES: ryzen_ai_npu1, chess
5+
// REQUIRES: makefile_examples
56
//
67
// RUN: mkdir -p test_chess
78
// RUN: cd test_chess

0 commit comments

Comments
 (0)