Skip to content

Pass streaming control signal names to simulator #145

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

Merged
merged 2 commits into from
Jul 6, 2022
Merged

Pass streaming control signal names to simulator #145

merged 2 commits into from
Jul 6, 2022

Conversation

pcolberg
Copy link
Contributor

@pcolberg pcolberg commented Jul 4, 2022

For the case of streaming control kernels in IP authoring, when passing
the start and done signals to the simulator MMD, instead of the kernel
interface name, pass the full signal names from the auto-discovery
string. Before this change, the runtime would pass the kernel name,
e.g., _ZTSZ4mainE4MyIP without the prefix including the kernel index
in case of multiple kernels. After this change, the runtime passes the
full signal names, e.g., k0_ZTSZ4mainE4MyIP_streaming_start including
the kernel index prefix and the streaming control signal suffix.

This amends #103

Cc: @anandhv

@pcolberg pcolberg added the enhancement New feature or request label Jul 4, 2022
@pcolberg pcolberg added this to the 2022.3 milestone Jul 4, 2022
@pcolberg pcolberg self-assigned this Jul 4, 2022
@pcolberg pcolberg marked this pull request as draft July 4, 2022 21:36
pcolberg added 2 commits July 5, 2022 18:39
For the case of streaming control kernels in IP authoring, when passing
the start and done signals to the simulator MMD, instead of the kernel
interface name, pass the full signal names from the auto-discovery
string. Before this change, the runtime would pass the kernel name,
e.g., `_ZTSZ4mainE4MyIP` without the prefix including the kernel index
in case of multiple kernels. After this change, the runtime passes the
full signal names, e.g., `k0_ZTSZ4mainE4MyIP_streaming_start` including
the kernel index prefix and the streaming control signal suffix.

This amends #103

Signed-off-by: Peter Colberg <[email protected]>
@pcolberg pcolberg requested review from sophimao and zibaiwan July 5, 2022 22:46
@pcolberg pcolberg marked this pull request as ready for review July 5, 2022 22:46
Copy link
Contributor

@zibaiwan zibaiwan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks Peter!

Copy link
Contributor

@sophimao sophimao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Thank you Peter!

@pcolberg pcolberg merged commit 2f4db1e into intel:main Jul 6, 2022
@pcolberg pcolberg deleted the streaming-control-signals branch July 6, 2022 13:54
pcolberg added a commit that referenced this pull request Jul 6, 2022
ericxu233 pushed a commit to ericxu233/fpga-runtime-for-opencl that referenced this pull request Jul 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants