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

[SYCLomatic] Enable migration of cudaStreamCaptureStatus enum and SYCL graphs exp option #1908

Open
wants to merge 7 commits into
base: SYCLomatic
Choose a base branch
from

Conversation

daiyaan-ahmed6
Copy link
Contributor

Signed-off-by: Daiyaan Ahmed [email protected]

@daiyaan-ahmed6 daiyaan-ahmed6 force-pushed the cudaStreamCaptureStatus_enum branch from 3b99638 to ad5ede2 Compare May 3, 2024 06:04
Signed-off-by: Ahmed, Daiyaan <[email protected]>
Signed-off-by: Ahmed, Daiyaan <[email protected]>
Copy link
Contributor

@tomflinda tomflinda left a comment

Choose a reason for hiding this comment

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

LGTM

clang/lib/DPCT/ASTTraversal.cpp Outdated Show resolved Hide resolved
Signed-off-by: Ahmed, Daiyaan <[email protected]>
Signed-off-by: Ahmed, Daiyaan <[email protected]>
@@ -758,6 +758,10 @@ DPCT_ENUM_OPTION(
"bindless_images", int(ExperimentalFeatures::Exp_BindlessImages),
"Experimental extension that allows use of bindless images APIs.\n",
false),
DPCT_OPTION_ENUM_VALUE(
"graphs", int(ExperimentalFeatures::Exp_Graphs),
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
"graphs", int(ExperimentalFeatures::Exp_Graphs),
"graph", int(ExperimentalFeatures::Exp_Graphs),

// CHECK-NEXT: DPCT1027:{{[0-9]+}}: The call to cudaStreamIsCapturing was replaced with 0 because SYCL currently does not support capture operations on queues.
// CHECK-NEXT: */
// CHECK: MY_ERROR_CHECKER(0);
MY_ERROR_CHECKER(cudaStreamIsCapturing(s0, &captureStatus));
Copy link
Contributor

Choose a reason for hiding this comment

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

from queue_state, can it know the a queue is in Capturing status?

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.

5 participants