Skip to content

Failed to build TypeError exception #998

Closed

Description

@antonwolfy

The example code should cause TypeError exception in dpctl:

import numpy
import dpctl.tensor as dpt
obj = dpt.empty((6,), dtype=numpy.object_)

but it failed to build the exception due to bellow error:

File dpctl/tensor/_usmarray.pyx:193, in dpctl.tensor._usmarray.usm_ndarray.__cinit__()

TypeError: can only concatenate str (not "numpy.dtype[object_]") to str

Activity

  1. added 7 commits that reference this issue on Nov 24, 2022
    17692eb
    ab8b89f
    77211e4
    1538b7d
    7d010b1
    4b3d735
    05cb7fc
  2. added a commit that references this issue on Nov 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions