We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 056fdea commit 3a91f2aCopy full SHA for 3a91f2a
onedal/datatypes/sycl_usm/data_conversion.cpp
@@ -156,7 +156,8 @@ py::dict construct_sua_iface(const dal::table& input) {
156
// for constructing DPCTL usm_ndarray or DPNP ndarray with zero-copy on python level.
157
const auto kind = input.get_kind();
158
if (kind != dal::homogen_table::kind())
159
- report_problem_to_sua_iface(": only homogen tables are supported");
+ throw py::attribute_error(
160
+ "__sycl_usm_array_interface__ not available: only homogen tables are supported");
161
162
const auto& homogen_input = reinterpret_cast<const dal::homogen_table&>(input);
163
0 commit comments