Skip to content

Fixes the addressof_ref function of SyclContext and improves unit tests.#488

Merged
diptorupd merged 3 commits intoIntelPython:masterfrom
diptorupd:fix/issue_484
Jun 2, 2021
Merged

Fixes the addressof_ref function of SyclContext and improves unit tests.#488
diptorupd merged 3 commits intoIntelPython:masterfrom
diptorupd:fix/issue_484

Conversation

@diptorupd
Copy link
Copy Markdown
Contributor

Closes #484

  • Fixes a typo in the addressof_ref function of SyclContext that was causing an AttributeError and added a unit test for the member.
  • Also, added missing unit tests for SyclContext and removed the duplicate tests that were copied over from SyclDevice.

Diptorup Deb added 2 commits June 1, 2021 21:52
  - Added unit tests for __name__, __repr__, addressof_ref
  - Added an additional negative test for __eq__
  - Removed test fixtures for device members. These members are
    already tested for SyclDevice.
Comment thread dpctl/_sycl_context.pyx Outdated
@coveralls
Copy link
Copy Markdown
Collaborator

coveralls commented Jun 2, 2021

Coverage Status

Coverage increased (+0.1%) to 61.063% when pulling ff682d4 on diptorupd:fix/issue_484 into 0951961 on IntelPython:master.

@diptorupd diptorupd merged commit cbbd328 into IntelPython:master Jun 2, 2021
@diptorupd diptorupd deleted the fix/issue_484 branch June 2, 2021 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AttributeError when calling addressof_ref in SyclContext

3 participants