Skip to content

Suggested improvement to API docs #962

Closed

Description

@diptorupd

I need to use the max_work_item_sizes property of SyclDevice in Numba-dpex. The API doc does not specify the return type of the property, nor does it specify the deprecation warning. Both these things should be specified in the docstring so that one does not need to refer the source code.

Activity

  1. self-assigned this
    on Nov 4, 2022
  2. oleksandr-pavlyk commented on Nov 4, 2022

    @oleksandr-pavlyk
    Contributor

    Following changes in DPC++, dpctl.SyclDevice.max_work_item_sizes is deprecated, superseded by

    • dpctl.SyclDevice.max_work_item_sizes1d
    • dpctl.SyclDevice.max_work_item_sizes2d
    • dpctl.SyclDevice.max_work_item_sizes3d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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