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

[MHA] Implement MIOPEN_BACKEND_OPERATION_RNG_DESCRIPTOR C API Class #2874

Merged

Conversation

scerzh
Copy link
Collaborator

@scerzh scerzh commented Apr 4, 2024

Issue #2842

Tasks:

MIOPEN_BACKEND_OPERATION_RNG_DESCRIPTOR

  • C functions and tests

C API -> BackendOperationRngDescriptor (polymorphic) -> OperationRngBuilder -> OperationRng

BackendOperationRngDescriptor, a polymorphic descriptor class, is utilized by C-API functions to handle create/set/finalize/get/execute requests. The class is developed in this PR.

Builder pattern is used for set and finalize API requests. Builder is part of previous PR #2873

OperationRng class represents a random number generator node in an operation graph.

This PR closes #2842

@junliume junliume merged commit 986377d into sg/graphapi-operation-rng-builder Apr 6, 2024
140 checks passed
@scerzh scerzh deleted the sg/graphapi-operation-rng-api branch April 11, 2024 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[MHA] Implement random number generator descriptor in Graph API
2 participants