You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
dpctl should generate C headers for use of dpctl Python objects with Python C-API #171
changed the title [-]DPCTL should generate C header for use of dpctl Python objects with Python C-API[/-][+]DPCTL should generate C headers for use of dpctl Python objects with Python C-API[/+]on Nov 6, 2020
changed the title [-]DPCTL should generate C headers for use of dpctl Python objects with Python C-API[/-][+]dpctl should generate C headers for use of dpctl Python objects with Python C-API[/+]on Apr 15, 2021
Activity
[-]DPCTL should generate C header for use of dpctl Python objects with Python C-API[/-][+]DPCTL should generate C headers for use of dpctl Python objects with Python C-API[/+]oleksandr-pavlyk commentedon Nov 9, 2020
Here is a discussion on SO: https://stackoverflow.com/questions/40572073/how-to-create-a-public-cython-function-that-can-receive-c-struct-instance-or-p
I adapted example written by @pelson based on suggestion in that SO post to Python3 and use in conda environment: https://github.com/oleksandr-pavlyk/calling_publicly_declared_cython_from_c
oleksandr-pavlyk commentedon Nov 9, 2020
Another useful repo: https://github.com/ashwinvis/cython_capi
[-]DPCTL should generate C headers for use of dpctl Python objects with Python C-API[/-][+]dpctl should generate C headers for use of dpctl Python objects with Python C-API[/+]diptorupd commentedon Apr 15, 2021
@oleksandr-pavlyk was this issue addressed by #218?
diptorupd commentedon Apr 16, 2021
@oleksandr-pavlyk is going to add an example and close the issue.
diptorupd commentedon Apr 27, 2021
@oleksandr-pavlyk ping!
oleksandr-pavlyk commentedon Apr 27, 2021
Will work on this next week. Changes in #218 should have been sufficient, but having an example is both a proof of that and a seed to promote adoption
diptorupd commentedon Nov 17, 2021
@oleksandr-pavlyk I believe the ticket can be closed?
oleksandr-pavlyk commentedon Nov 18, 2021
What is still missing is a single
"dpctl.h"to include to work with Python C-API ofdpctlclasses.I think we should also have the same single header
"syclinterface.h".oleksandr-pavlyk commentedon Dec 25, 2021
This has now been implemented in #685. Closing.