-
Notifications
You must be signed in to change notification settings - Fork 477
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WIP: Add runner for run-recipe (#8608)
A run-recipe defines how to execute a graph model using XRT. This changes contain a stand-alone runner class that reads and executes a run-recipe json file. The idea is to have tools geneate the run-recipe along with xclbin and control code for kernels. The format (schema) of the recipe json is loosely defined. The implementation of the runner drove some of the defintion of the json format. A run-recipe is associated with exactly one xclbin which, when loaded into a region (partition) on the device, can run the recipe. This is work-in-progress and is base-lined and validated for today's NPU TXN control code. The runner will change shortly when we obsolete xclbin for NPU. The recipe will not work with Alveo as the runner uses xrt::runlist for execution and xrt::runlist is not supposed in Alveo. Signed-off-by: Soren Soe <[email protected]>
- Loading branch information
Showing
16 changed files
with
2,648 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# Copyright (C) 2024 Advanced Micro Devices, Inc. All rights reserved. | ||
add_library(core_common_runner_objects OBJECT | ||
runner.cpp | ||
cpu.cpp | ||
) | ||
|
||
target_include_directories(core_common_runner_objects | ||
PRIVATE | ||
${XRT_SOURCE_DIR}/runtime_src | ||
) | ||
|
Oops, something went wrong.