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

Implement index_select using oneDNN #2426

Open
knowledgaction opened this issue Jan 16, 2025 · 1 comment
Open

Implement index_select using oneDNN #2426

knowledgaction opened this issue Jan 16, 2025 · 1 comment
Assignees
Labels

Comments

@knowledgaction
Copy link

I want to implement the index_select operation. Can it be implemented using oneDNN? If so, could you provide an example program? Thank you.

@shu1chen
Copy link
Contributor

Hello @knowledgaction, oneDNN offers the binary_select operation, which performs a conditional elementwise select operation. However, this is different from the index_select operation.
oneDNN does not provide a direct equivalent to the index_select operation, and implementing index_select using oneDNN is not straightforward.
Could you please provide more details about your specific requirements? Specifically, what are the use cases in which you intend to implement index_select using oneDNN?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants