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

[FEA]: Add functionality to retrieve types from the graph #4714

Open
2 tasks done
jnke2016 opened this issue Oct 10, 2024 · 0 comments
Open
2 tasks done

[FEA]: Add functionality to retrieve types from the graph #4714

jnke2016 opened this issue Oct 10, 2024 · 0 comments
Labels
? - Needs Triage Need team to review and classify feature request New feature or request

Comments

@jnke2016
Copy link
Contributor

Is this a new feature, an improvement, or a change to existing functionality?

New Feature

How would you describe the priority of this feature request

Low (would be nice)

Please provide a clear description of problem this feature solves

Our C/C++ API requires type matching. For instance in PageRank, It requires the graph's vertex type and initial guess vertex type to match . Failing to enforce that will lead to a type mismatch error hence, the python API leverages a python function ensure_valid_dtype to enforce the type if the user fails to and return a warning. However, the type is extracted from the internal edge which is odd since we have a C method that can retrieve the graph's type include the vertex_t, edge_t and weight_t. Furthermore, we also have a method in the CAPI that can return the type from a device array view cugraph_type_erased_device_array_view_type which can also be leveraged.

Describe your ideal solution

Add/expose method to retrieve types from the graph

Describe any alternatives you have considered

No response

Additional context

No response

Code of Conduct

  • I agree to follow cuGraph's Code of Conduct
  • I have searched the open feature requests and have found no duplicates for this feature request
@jnke2016 jnke2016 added ? - Needs Triage Need team to review and classify feature request New feature or request labels Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
? - Needs Triage Need team to review and classify feature request New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant