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

Add accel_id parameter to simulation_streaming_kernel_start() function #282

Merged
merged 1 commit into from
Mar 13, 2023

Conversation

IlanTruanovsky
Copy link
Contributor

@IlanTruanovsky IlanTruanovsky commented Feb 24, 2023

This commit changes the signature of the simulation_streaming_kernel_start() function to allow for the code to pass in an accel_id argument. The purpose of this parameter is to tell the simulator which kernel should start. The simulator uses this information to send a start signal to the kernel with id accel_id.

@IlanTruanovsky IlanTruanovsky force-pushed the sim-stream-cra branch 2 times, most recently from b54670c to a6c4dfc Compare March 9, 2023 21:36
@IlanTruanovsky IlanTruanovsky marked this pull request as ready for review March 9, 2023 21:37
@IlanTruanovsky IlanTruanovsky requested a review from pcolberg March 9, 2023 21:37
@IlanTruanovsky
Copy link
Contributor Author

@pcolberg this is ready for review now. Thanks!

@IlanTruanovsky IlanTruanovsky changed the title Runtime test PR Add done_cra_writes function to the HAL Mar 9, 2023
@IlanTruanovsky IlanTruanovsky changed the title Add done_cra_writes function to the HAL Add simulation_streaming_interface_done_cra_writes function to the HAL Mar 9, 2023
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 @IlanTruanovsky, looks good. Passing on to @zibaiwan for final review.

@pcolberg pcolberg requested a review from zibaiwan March 9, 2023 22:01
@IlanTruanovsky
Copy link
Contributor Author

I have changed the implementation to only modify the simulation_streaming_kernel_start() function.

I'll rebase once internal testing has passed.

In the meantime, can @pcolberg take another look?

@IlanTruanovsky IlanTruanovsky requested a review from pcolberg March 10, 2023 15:11
zibaiwan
zibaiwan previously approved these changes Mar 10, 2023
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.

Thanks Ilan and Peter. The change looks good to me. We can merge once the integration testing passed. Ilan please provide a descriptive commit message briefly explaining why the mmd API changed and what's the accel_id used for while you are rebasing (basically what you have in the PR description).

@IlanTruanovsky IlanTruanovsky changed the title Add simulation_streaming_interface_done_cra_writes function to the HAL Add accel_id parameter to simulation_streaming_kernel_start() function Mar 10, 2023
@IlanTruanovsky IlanTruanovsky force-pushed the sim-stream-cra branch 2 times, most recently from d22a7b4 to 7a8eab7 Compare March 13, 2023 14:42
…ction

This commit changes the signature of the `simulation_streaming_kernel_start()` function to allow for the code to pass in an `accel_id` argument. The purpose of this parameter is to tell the simulator which kernel should start. The simulator uses this information to send a start signal to the kernel with id `accel_id`.
@zibaiwan zibaiwan self-requested a review March 13, 2023 15:29
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.

Looks good to me! Thanks Ilan!

@zibaiwan zibaiwan merged commit f4988e1 into intel:main Mar 13, 2023
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.

3 participants