Skip to content

Commit d442395

Browse files
committed
Revert "Rename examples to operators"
This reverts commit 345fcb4.
1 parent 8941533 commit d442395

File tree

114 files changed

+184
-189
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

114 files changed

+184
-189
lines changed

.github/workflows/test-examples.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
uses: ./.github/actions/build
4343
with:
4444
env_name: ci_env
45-
cmake_extra_flags: "-DBUILD_EXAMPLES=ON -DBUILD_OPERATORS=OFF"
45+
cmake_extra_flags: "-DBUILD_APPLICATIONS=ON -DBUILD_EXAMPLES=OFF"
4646

4747
- name: Run examples
4848
id: test

CMakeLists.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ endif()
6060
set(IRONCLAD_MLIR_AIE_RUNTIME_DIR "${IRONCLAD_MLIR_AIE_DIR}/runtime_lib/x86_64/test_lib/" CACHE PATH "Path to built/installed test_lib from MLIR_AIE")
6161

6262
# More Options
63-
option(BUILD_OPERATORS "Build operators" ON)
64-
option(BUILD_EXAMPLES "Build example applications" OFF)
63+
option(BUILD_EXAMPLES "Build operators" ON)
64+
option(BUILD_APPLICATIONS "Build example applications" OFF)
6565
option(EXTENSIVE_TESTING "Generate a larger number of operators and tests" OFF)
6666

6767
message(STATUS "IRONCLAD_PEANO_DIR: ${IRONCLAD_PEANO_DIR}")
@@ -93,15 +93,15 @@ ironclad_compiler_warnings(ironclad)
9393
# Add kernels
9494
add_subdirectory(aie_kernels)
9595

96-
# Add operators
96+
# Add examples
9797
# Pass the architecure to support aie2p
98-
if (BUILD_OPERATORS)
99-
add_subdirectory(operators)
98+
if (BUILD_EXAMPLES)
99+
add_subdirectory(example)
100100
endif()
101101

102102
# Add example applications
103-
if (BUILD_EXAMPLES)
104-
add_subdirectory(examples)
103+
if (BUILD_APPLICATIONS)
104+
add_subdirectory(applications)
105105
endif()
106106

107107
generate_aie_ci_test_list("ci_tests.py")

README.md

Lines changed: 20 additions & 20 deletions

REUSE.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ SPDX-PackageSupplier = "Advanced Micro Devices, Inc."
44
SPDX-PackageDownloadLocation = "https://github.com/AARInternal/ironclad"
55

66
[[annotations]]
7-
path = "examples/llama_3.2_1b/prompt.txt"
7+
path = "applications/llama_3.2_1b/prompt.txt"
88
precedence = "closest"
99
SPDX-FileCopyrightText = "Public Domain"
1010
SPDX-License-Identifier = "CC0-1.0"
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)