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

[Device Global] Autodiscovery change #100

Merged
merged 1 commit into from
Apr 6, 2022

Conversation

sherry-yuan
Copy link
Contributor

@sherry-yuan sherry-yuan commented Apr 4, 2022

Autodiscovery help bridge the communication between backend and runtime.

The autodiscovery will contain the following information for a device global:

  1. device global name
  2. device global address
  3. device global size

The autodiscovery will be in the following format:
<number of device global> <number of field in each device global> [(<name>, <address>, <size>), (...), ...]

The autodiscovery change came from #65

Copy link
Contributor

@pcolberg pcolberg left a comment

Choose a reason for hiding this comment

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

Thanks @sherry-yuan for your great work on device_global 🙂

@sherry-yuan sherry-yuan requested a review from pcolberg April 4, 2022 21:33
Copy link
Contributor

@pcolberg pcolberg left a comment

Choose a reason for hiding this comment

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

Thanks @sherry-yuan, looks good! I am still unsure about the integer types which you should be able to answer by copying what the compiler does.

Copy link
Contributor

@pcolberg pcolberg left a comment

Choose a reason for hiding this comment

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

Thanks @sherry-yuan for your patience, almost done 😅

Autodiscovery help bridge the communication between backend and runtime.

The autodiscovery will contain the following information for a device global:
1. device global name
2. device global address
3. device global size

The autodiscovery will be in the following format:
<number of device global> <number of field in each device global> [(<name>, <address>, <size>), (...), ...]
@pcolberg pcolberg merged commit 83a27ea into intel:main Apr 6, 2022
pcolberg added a commit to pcolberg/fpga-runtime-for-opencl that referenced this pull request Apr 22, 2022
The stringstream err_ss is only used within the function, and the
contents must be assigned to err_str which is returned to the caller.

This amends intel#100

Signed-off-by: Peter Colberg <peter.colberg@intel.com>
pcolberg added a commit that referenced this pull request Apr 25, 2022
The stringstream err_ss is only used within the function, and the
contents must be assigned to err_str which is returned to the caller.

This amends #100

Signed-off-by: Peter Colberg <peter.colberg@intel.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants