Skip to content

[SYCL] update for run-on-host-intel #5414

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

Conversation

cperkinsintel
Copy link
Contributor

the deprecated run-on-host-intel is still being used. Need to update it to prevent errors on cleanup.

Signed-off-by: Chris Perkins [email protected]

…it to prevent errors on cleanup.

Signed-off-by: Chris Perkins <[email protected]>
@cperkinsintel cperkinsintel requested a review from a team as a code owner January 28, 2022 02:14
Comment on lines +2143 to +2145
ArgsBlob[0] = (void *)CopyReqs;
ArgsBlob[1] = (void *)CopyHostKernel;
ArgsBlob[2] = (void *)CopyNDRDesc;
Copy link
Contributor

Choose a reason for hiding this comment

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

NIT: Would it be better to wrap these into a struct passed as a single first argument?

Copy link
Contributor

@smaslov-intel smaslov-intel left a comment

Choose a reason for hiding this comment

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

LGTM. Is it possible to cover this with a test?

@pvchupin
Copy link
Contributor

LGTM. Is it possible to cover this with a test?

Yes, @dm-vodopyanov and @cperkinsintel working on the test. They will follow up with separate PR.

@pvchupin pvchupin merged commit 5373ccb into intel:sycl Jan 29, 2022
dm-vodopyanov added a commit that referenced this pull request Feb 3, 2022
This patch adds unit test for #5414.
This test creates ExecCGCommand with some known values needed in RT to
restore context in host task. After that we start enqueueing and verify
the correctness of these values in mocked piEnqueueNativeKernel func.
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