Skip to content

Commit

Permalink
Fix vck5000 tests in programming examples (#1301)
Browse files Browse the repository at this point in the history
vector_scalar_mul is repaired for vck5000
vector_reduce_min is removed for vck5000 due to lack of aie1 micro-kernel
  • Loading branch information
fifield authored Apr 18, 2024
1 parent 0bea50a commit 6503b14
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 155 deletions.
9 changes: 0 additions & 9 deletions programming_examples/basic/vector_reduce_min/run_vck5000.lit

This file was deleted.

141 changes: 0 additions & 141 deletions programming_examples/basic/vector_reduce_min/test_vck5000.cpp

This file was deleted.

9 changes: 4 additions & 5 deletions programming_examples/basic/vector_scalar_mul/run_vck5000.lit
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
// (c) Copyright 2023 Advanced Micro Devices, Inc.
// (c) Copyright 2024 Advanced Micro Devices, Inc.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
// REQUIRES: hsa
// REQUIRES: hsa, chess
//
// RUN: xchesscc_wrapper aie -I %aietools/include -c %S/../../../aie_kernels/generic/scale.cc -o ./scale.o
// RUN: xchesscc_wrapper aie -I %aietools/include -c %S/scale.cc -o ./scale.o
// RUN: %python %S/aie2.py xcvc1902 6 > ./aie.mlir
// RUN: %python aiecc.py %VitisSysrootFlag% --host-target=%aieHostTargetTriplet% %link_against_hsa% ./aie.mlir -I%host_runtime_lib%/test_lib/include %extraAieCcFlags% %S/test_vck5000.cpp -o test.elf -L%host_runtime_lib%/test_lib/lib -ltest_lib
// RUN: %run_on_vck5000 ./test.elf

// RU: %run_on_vck5000 ./test.elf

0 comments on commit 6503b14

Please sign in to comment.