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

[COSIM][baseline] understand the mismatched latency between phism and csim #26

Open
kumasento opened this issue Sep 18, 2021 · 2 comments

Comments

@kumasento
Copy link
Owner

kumasento commented Sep 18, 2021

As shown in https://github.com/kumasento/phism/blob/main/notebooks/polybench-baseline-results.ipynb

image

  • gesummv
  • atax
  • gemm
@kumasento kumasento added question Further information is requested case study and removed question Further information is requested labels Sep 18, 2021
@jianyicheng
Copy link
Collaborator

jianyicheng commented Sep 19, 2021

There are many terms for latencies, and they are quite different, such as the latency in the synthesis report and the latency in the co-simulation report. In the figure, do latency mean the latency obtained by co-simulation of the baseline, and csim_latency mean the latency obtained by co-simulation of our work? Otherwise, it does not make sense...

Also, maybe we should also define what the baseline is, e.g. which optimization passes have been used.

@kumasento
Copy link
Owner Author

There are many terms for latencies, and they are quite different, such as the latency in the synthesis report and the latency in the co-simulation report. In the figure, do latency mean the latency obtained by co-simulation of the baseline, and csim_latency mean the latency obtained by co-simulation of our work? Otherwise, it does not make sense...

Also, maybe we should also define what the baseline is, e.g. which optimization passes have been used.

Good point - the baseline here is Phism w/o any transformations except -constant-args (as in the referenced notebook), and CSim takes input directly from the source C file. The latency numbers for both cases are from co-simulation, so I suppose they are comparable.

So the difference here is mainly from passing a self-transformed LLVM to Vitis, and passing the original C code. Hope this makes senses.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants