-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update AE review & close dbg outputs
- Loading branch information
Showing
22 changed files
with
80 additions
and
110 deletions.
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
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
File renamed without changes.
File renamed without changes.
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
add_subdirectory(pag_validation) | ||
add_subdirectory(pass_validation) | ||
add_subdirectory(perflowgraph_validation) | ||
add_subdirectory(perflowgraph_validation) | ||
add_subdirectory(model_validation) |
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,2 @@ | ||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/model_validation.py ${CMAKE_CURRENT_BINARY_DIR}/model_validation.py COPYONLY) | ||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/cg.B.8 ${CMAKE_CURRENT_BINARY_DIR}/cg.B.8 COPYONLY) |
Binary file not shown.
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,15 @@ | ||
import sys | ||
import os | ||
proj_dir = os.environ['BAGUA_DIR'] | ||
sys.path.append(proj_dir + r"/python") | ||
import json | ||
import perflow as pf | ||
from pag import * | ||
|
||
pflow = pf.PerFlow() | ||
|
||
# Run the binary and return program abstraction graphs | ||
tdpag, ppag = pflow.run(binary = "./cg.B.8", cmd = "srun -n 8 -p V132 ./cg.B.8", nprocs = 8) | ||
|
||
# Directly use a builtin model | ||
pflow.mpi_profiler_model(tdpag = tdpag, ppag = ppag) |
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
set(THREADS_PREFER_PTHREAD_FLAG ON) | ||
find_package(Threads REQUIRED) | ||
add_executable(pthread_test pthread_test.cpp) | ||
target_compile_options(pthread_test PRIVATE -O0 -g) | ||
target_link_libraries(pthread_test PRIVATE Threads::Threads) | ||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/critical_path_pass.py ${CMAKE_CURRENT_BINARY_DIR}/critical_path_pass.py COPYONLY) | ||
add_executable(pthread pthread.cpp) | ||
target_compile_options(pthread PRIVATE -O0 -g) | ||
target_link_libraries(pthread PRIVATE Threads::Threads) | ||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/pass_validation.py ${CMAKE_CURRENT_BINARY_DIR}/pass_validation.py COPYONLY) |
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
File renamed without changes.
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/mpi_profiler.py ${CMAKE_CURRENT_BINARY_DIR}/mpi_profiler.py COPYONLY) | ||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/perflowgraph_validation.py ${CMAKE_CURRENT_BINARY_DIR}/perflowgraph_validation.py COPYONLY) | ||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/cg.B.8 ${CMAKE_CURRENT_BINARY_DIR}/cg.B.8 COPYONLY) |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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