Uh oh!
There was an error while loading. Please reload this page.
Addressed "Very high" Coverity issue: dereferencing null pointer - #1369
Conversation
Ensured that `create_property_list` always returns an not-null unique pointer by creating an default-constructed property_list for the fall-through. With this change we no longer need to branches for call to sycl::queue constructor, since propList is always available.
View rendered docs @ https://intelpython.github.io/dpctl/pulls/1369/index.html |
coveralls
commented
Aug 25, 2023
Array API standard conformance tests for dpctl=0.14.6dev4=py310ha25a700_15 ran successfully. |
Uh oh!
There was an error while loading. Please reload this page.
| propList = | ||
| std::make_unique<property_list>(sycl::property::queue::in_order()); | ||
| } | ||
| else { |
There was a problem hiding this comment.
I was not aware SYCL runtime allows an empty property_list. The change is good.
Uh oh!
There was an error while loading. Please reload this page.
Remove unneeded static keyword in definition of create_property_list function in anonymous namespace
Array API standard conformance tests for dpctl=0.14.6dev4=py310ha25a700_29 ran successfully. |
Deleted rendered PR docs from intelpython.github.com/dpctl, latest should be updated shortly. 🤞 |
Array API standard conformance tests for dpctl=0.14.6dev4=py310ha25a700_29 ran successfully. |
Ensured that
create_property_listalways returns an not-null unique pointer by creating an default-constructedproperty_listfor the fall-through.With this change we no longer need two branches for call to
sycl::queueconstructor, sincepropListis always available.