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

generic:sycl: Inner Product FWD #2248

Merged
merged 2 commits into from
Dec 19, 2024

Conversation

sgeor255
Copy link
Contributor

Checklist

General

  • Do all unit and benchdnn tests (make test and make test_benchdnn_*) pass locally for each commit?
  • Have you formatted the code using clang-format?

@sgeor255 sgeor255 requested review from a team as code owners December 11, 2024 15:39
@github-actions github-actions bot added documentation A request to change/fix/improve the documentation. Codeowner: @oneapi-src/onednn-doc platform:gpu-nvidia Codeowner: @oneapi-src/onednn-gpu-nvidia platform:gpu-generic Codeowner: @oneapi-src/onednn-gpu-generic labels Dec 11, 2024
@sgeor255 sgeor255 force-pushed the atharva/inner_product_fwd branch 2 times, most recently from e9de548 to 0754aa7 Compare December 11, 2024 15:47

primitive_desc_iterator_t it(engine,
reinterpret_cast<op_desc_t *>(&matmul_desc), &matmul_attr, nullptr);
if (!it.is_initialized()) return status::invalid_arguments;
Copy link
Contributor

Choose a reason for hiding this comment

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

Seems the correct status to be returned here is status::out_of_memory

Copy link
Contributor

Choose a reason for hiding this comment

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

The most likely reason for the iterator to fail to return a primitive_desc is unimplemented. But indeed, we don't have a way to forward the a status from the iterator.

Copy link
Contributor

Choose a reason for hiding this comment

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

Done, it seems most of the similar patterns return out_of_memory indeed.

Rbiessy and others added 2 commits December 18, 2024 15:27
@Rbiessy Rbiessy force-pushed the atharva/inner_product_fwd branch from 0754aa7 to 4b84d79 Compare December 18, 2024 15:30
@github-actions github-actions bot added the component:tests Codeowner: @oneapi-src/onednn-arch label Dec 18, 2024
@Rbiessy Rbiessy merged commit 908955e into uxlfoundation:main Dec 19, 2024
16 of 18 checks passed
@vpirogov vpirogov added this to the v3.7 milestone Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:tests Codeowner: @oneapi-src/onednn-arch documentation A request to change/fix/improve the documentation. Codeowner: @oneapi-src/onednn-doc platform:gpu-generic Codeowner: @oneapi-src/onednn-gpu-generic platform:gpu-nvidia Codeowner: @oneapi-src/onednn-gpu-nvidia
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants