Advertisemen
To fix this error, note that it occurs when attempting to build any *.cl file. Firstly change the *.cl extension to *.c. i.e. kernel.cl to kernel.c
You still won't be able to build the code because the C compiler won't like "__kernel" and "__global"
In Solution Explorer, right click the *.c file and go to Properties and then Exclude it from Build
Advertisemen
Tidak ada komentar:
Posting Komentar