Skip to content

Commit

Permalink
Fixup guide
Browse files Browse the repository at this point in the history
  • Loading branch information
jgmelber committed Oct 29, 2024
1 parent f9327be commit 1647915
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 15 deletions.
26 changes: 14 additions & 12 deletions programming_guide/section-4/section-4b/run_makefile.lit
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
// (c) Copyright 2024 Advanced Micro Devices, Inc.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
// REQUIRES: ryzen_ai, peano
//
// RUN: make -f %S/Makefile clean
// RUN: CHESS=false make -f %S/Makefile
// RUN: %run_on_npu make -f %S/Makefile run | FileCheck %s
// RUN: %run_on_npu make -f %S/Makefile run_py | FileCheck %s
// RUN: make -f %S/Makefile clean
// RUN: CHESS=false %run_on_npu make -f %S/Makefile trace | FileCheck %s
// RUN: CHESS=false %run_on_npu make -f %S/Makefile trace_py | FileCheck %s
// CHECK: PASS!
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
// REQUIRES: ryzen_ai, peano
//
// RUN: mkdir -p test_peano
// RUN: cd test_peano
// RUN: make -f %S/Makefile clean
// RUN: env CHESS=false make -f %S/Makefile
// RUN: %run_on_npu make -f %S/Makefile run | FileCheck %s
// RUN: %run_on_npu make -f %S/Makefile run_py | FileCheck %s
// RUN: make -f %S/Makefile clean
// RUN: env CHESS=false %run_on_npu make -f %S/Makefile trace | FileCheck %s
// RUN: env CHESS=false %run_on_npu make -f %S/Makefile trace_py | FileCheck %s
// CHECK: PASS!
6 changes: 3 additions & 3 deletions programming_guide/section-4/section-4b/run_makefile_chess.lit
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
// RUN: mkdir -p test_chess
// RUN: cd test_chess
// RUN: make -f %S/Makefile clean
// RUN: CHESS=true make -f %S/Makefile
// RUN: env CHESS=true make -f %S/Makefile
// RUN: %run_on_npu make -f %S/Makefile run | FileCheck %s
// RUN: %run_on_npu make -f %S/Makefile run_py | FileCheck %s
// RUN: %run_on_npu make -f %S/Makefile trace | FileCheck %s
// RUN: make -f %S/Makefile clean
// RUN: CHESS=true %run_on_npu make -f %S/Makefile trace | FileCheck %s
// RUN: CHESS=true %run_on_npu make -f %S/Makefile trace_py | FileCheck %s
// RUN: env CHESS=true %run_on_npu make -f %S/Makefile trace | FileCheck %s
// RUN: env CHESS=true %run_on_npu make -f %S/Makefile trace_py | FileCheck %s
// CHECK: PASS!

0 comments on commit 1647915

Please sign in to comment.