Skip to content

Provide Cython declaration file for usage of SYCL objects #972

Closed

Description

@oleksandr-pavlyk

Integration of SYCL functions for use in Cython extensions requires author to redeclare SYCL runtime objects.

For example, see

https://github.com/IntelPython/sample-data-parallel-extensions/blob/2cd4743c4364633ad98129636ba0755bf038f0f2/common_ext/cy_kde.pyx#L21-L23

dpctl should provide dpctl/sycl.pxd file which would allow Cython authors to just import the declaration

from dpctl.sycl cimport queue as dpcpp_queue

Activity

  1. added
    enhancement
    on Nov 6, 2022
  2. added 2 commits that reference this issue on Nov 8, 2022
  3. oleksandr-pavlyk commented on Nov 14, 2022

    @oleksandr-pavlyk
    ContributorAuthor

    This has been implemented in PR #981

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions