- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi ,
while trying to port an application developed in C++ and calls python AI routines (embedding python) which is working fine to DPC++ application face the following issues
1. the called from outside the kernel function in DPC++ , function is declared and defined with SYCL_EXTERNAL as below
extern SYCL_EXTERNAL int call_python();
SYCL_EXTERNAL int call_python() {...}
but still ware getting compilation error as "error : SYCL kernel cannot call an undefined function without SYCL_EXTERNAL attribute" .
does it mean that every function being called by function call_python also need to be declared and defined with SYCL_EXTERNAL ??? ( we have limited option of change as it is 3rd party code)
2. is there a way to call call_python () function, from inside the kernel function in DPC++ i.e. parallel_for(...)
Regards,
Manoranjan
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Could you send me the minimal error reproducible source code if possible?
Thanks,
Rahul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Just a quick reminder to attach your code snippet.
Thanks,
Rahul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I have not heard back from you, so I will close this thread. Feel free to post a new question, if you still have issues.
--Rahul
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page