Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A python infrastructure #10

Merged
merged 38 commits into from
May 23, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
6d8b75e
Added initial Dockerfile for Phism
May 10, 2021
4062876
Added test command for polybench
May 10, 2021
4736125
Added docker instructions to README.md
May 10, 2021
b31dc72
Added required package for Vitis HLS
May 10, 2021
4c8ff31
Format
May 10, 2021
c1b46a9
Added initial template for cosim script in pb-flow
May 11, 2021
3ab8afb
Added script for co-simulations - results unverified
May 12, 2021
cce1984
Updated cosim script
May 13, 2021
676cb35
Updated docs and scripts
kumasento May 10, 2021
08da29d
Updated CI script to use the latest build script
kumasento May 10, 2021
f43260b
Self host workflow (#6)
kumasento May 10, 2021
0661ca9
Try out self-hosted workflow
kumasento May 10, 2021
d79a043
Reverted libclang prefix configure
kumasento May 10, 2021
91e6480
Improved the README a bit
kumasento May 12, 2021
38059ca
Ignore debug directories
kumasento May 13, 2021
3bf5a77
Added docker instructions to README.md
May 10, 2021
34e4306
New DOCKER doc
kumasento May 13, 2021
9ea494c
Refactorized pb-flow with getopts
kumasento May 13, 2021
8f9b469
Added LD_LIBRARY_PATH into Dockerfile
May 13, 2021
e7e49ab
Updated Makefile with the latest pb-flow options
May 13, 2021
efb74ed
Fixed path error for utilities
kumasento May 14, 2021
cc39e82
Renamed GitHub workflow
kumasento May 14, 2021
3d40a01
Updated docs and scripts
kumasento May 10, 2021
5e2b2a5
Merge branch 'main' of github.com:kumasento/phism into cosim
kumasento May 14, 2021
1e97886
Add synth & cosim to CI
kumasento May 14, 2021
8e8c3ba
Fixed llvm hash problem
kumasento May 14, 2021
4e75276
Fixed a typo in path
kumasento May 14, 2021
f679e1e
Ask to build locally instead of /tmp
kumasento May 14, 2021
3202223
README updated, removed cosim in CI
kumasento May 15, 2021
f99a111
Removed workflow MD5 from LLVM cache
kumasento May 15, 2021
7f82b17
Add constant propagation to fix loop bounds
kumasento May 15, 2021
113249f
Added Ninja detection and fixed CC/CXX issue
kumasento May 15, 2021
8556859
Fixed various Polygeist issues
kumasento May 17, 2021
8777ec4
Python stuff
kumasento May 20, 2021
53935f4
Merge branch 'main' of github.com:kumasento/phism into py
kumasento May 20, 2021
9c40140
Partial updates to the py branch
kumasento May 21, 2021
5e0057d
Python implemented pb-flow
kumasento May 21, 2021
b40c25e
Added --dataset option
kumasento May 22, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,8 @@ root = true
[*]
end_of_line = lf
insert_final_newline = true

# Python
[*.py]
indent_style = space
indent_size = 4
143 changes: 143 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,146 @@ build/

# Temporary output
/tmp*


# ------------------------------- Python Ignores ---------------------------

# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
cover/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
.pybuilder/
target/

# Jupyter Notebook
.ipynb_checkpoints

# IPython
profile_default/
ipython_config.py

# pyenv
# For a library or package, you might want to ignore these files since the code is
# intended to run in multiple environments; otherwise, check them in:
# .python-version

# pipenv
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
# However, in case of collaboration, if having platform-specific dependencies or dependencies
# having no cross-platform support, pipenv may install dependencies that don't work, or not
# install all needed dependencies.
#Pipfile.lock

# PEP 582; used by e.g. github.com/David-OConnor/pyflow
__pypackages__/

# Celery stuff
celerybeat-schedule
celerybeat.pid

# SageMath parsed files
*.sage.py

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/
.dmypy.json
dmypy.json

# Pyre type checker
.pyre/

# pytype static type analyzer
.pytype/

# Cython debug symbols
cython_debug/

151 changes: 151 additions & 0 deletions notebooks/polybench-results.ipynb

Large diffs are not rendered by default.

Empty file added python/__init__.py
Empty file.
Empty file added python/utils/__init__.py
Empty file.
Loading