own vote
favor
I have been working on an c/c++ OpenCL solution for the past few weeks now. For my solution, I need to pass a class from my CPU(Host) to GPU(Device). When I try to pass the class as an argument it gives an error "Unknown Type-Identifier Class" in INTEL architecture. My doubt whether OpenCL on Intel Platform does it allow us to pass a class to kernel.
I am working on Microsoft visual studio 2015. My doubt is
1. How can a pass a class to my Kernel.
2. Can I use SYCL/ Does Intel HD 530 support SYCL ?
3. I have also seen SPIR, can I use SPIR to pass class to the kernel
i) My plaform just supports openCL2.0(Its Intel i5 6600, 6th Gen)
ii) If it supports SPIR, please provide any links
iii) In some resource it says SPIR is only supported on CPU ?
However, with respect to OpenCL I am not able to find any references and No examples related to this query. I would be really thankful to any help with regards to this issue. I have posted the same question on stack overflow website also but to no avail. If someone would be kind enough to help me this query.