Skip to content

AttributeError when calling addressof_ref in SyclContext #484

Closed

Description

@diptorupd

The attribute _ctx_ref was renamed to _ctxt_ref but the addressof_ref function was not updated. Calling SyclContext.addressof_ref causes and AttributeError for this reason:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "dpctl/_sycl_context.pyx", line 353, in dpctl._sycl_context.SyclContext.addressof_ref
AttributeError: 'dpctl._sycl_context.SyclContext' object has no attribute '_ctx_ref'

Activity

  1. added
    bug
    on Jun 1, 2021
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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions