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] Migration support for CUDA driver error APIs and cudaErrorr_enum #1425

Open
wants to merge 1 commit into
base: SYCLomatic
Choose a base branch
from

Conversation

TejaX-Alaghari
Copy link
Contributor

[Feature]: Added support for migration of -

  • CUDA Error Driver APIs - cuGetErrorName, cuGetErrorString
  • CUDA Error Enum Type - cudaError_enum) and
  • CUDA Error Enum Value - cudaErrorInvalidConfiguration

Signed-off-by: TejaX, Alaghari [email protected]

@TejaX-Alaghari TejaX-Alaghari changed the title [SYCLomatic] Migration support for cud driver error APIs and cudaErrorr_enum [SYCLomatic] Migration support for CUDA driver error APIs and cudaErrorr_enum Nov 16, 2023
@@ -84,6 +84,10 @@ ENTRY(cudaGetErrorString, cudaGetErrorString, true, NO_FLAG, P0, "Successful")
ENTRY(cudaGetLastError, cudaGetLastError, true, NO_FLAG, P0, "DPCT1010")
ENTRY(cudaPeekAtLastError, cudaPeekAtLastError, true, NO_FLAG, P0, "DPCT1026/DPCT1027")

// error handling functions of driver API
ENTRY(cuGetErrorName, cuGetErrorName, true, NO_FLAG, P0, "Successful")
Copy link
Contributor

Choose a reason for hiding this comment

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

I think there are already cuGetErrorName and cuGetErrorString in

ENTRY(cuGetErrorName, cuGetErrorName, false, NO_FLAG, P4, "comment")

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for pointing that out @wenhuiNi.

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