-
Notifications
You must be signed in to change notification settings - Fork 1k
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
generic:sycl: Inner Product FWD #2248
Conversation
e9de548
to
0754aa7
Compare
|
||
primitive_desc_iterator_t it(engine, | ||
reinterpret_cast<op_desc_t *>(&matmul_desc), &matmul_attr, nullptr); | ||
if (!it.is_initialized()) return status::invalid_arguments; |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
Co-authored-by: Atharva Dubey <atharvadubey26@gmail.com>
0754aa7
to
4b84d79
Compare
Checklist
General
make test
andmake test_benchdnn_*
) pass locally for each commit?