- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for reaching out to us.
We have made some changes to your source code in order to run without any errors. Please find the attached source code and the below screenshot to compile and run the code.
Please let us know if you face any issues while running the code.
Thanks & Regards,
Varsha
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks a lot for the response.
I have the following issues:
- When I uncomment findNext function, I see an error in at 'extern': invalid storage class for a class member
- I am trying to use findNext function inside findBest. Is there a way to do so?
I appreciate your help.
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We are working on your issue internally. We will get back to you soon.
Thanks & Regards,
Varsha
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @student4,
If you would like to call findNext() function from kernel and findNext() does not use non-static members of class Sample (vectors B and shat), then just add static keyword to fix the compilation:
static complex<float> findNext(sycl::accessor <complex<float>>BAccess)
{
complex<float> c = BAccess[0];
return c;
}
Thanks,
Mariya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @student4,
There was no feedback from you on this thread for a week.
I assume that the above recommendation helped and stop monitoring this thread.
Thanks,
Mariya

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page