OpenCL Bug: Unrecognized Token during Kernel Compilation
Posted 9reyson
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了OpenCL Bug: Unrecognized Token during Kernel Compilation相关的知识,希望对你有一定的参考价值。
通过从.cl文件中读入程序内容,然后build,结果发生Unrecognized Token during Kernel Compilation的错误。
解决方案在以下论坛中看到:
https://forums.khronos.org/showthread.php/8574-Unrecognized-Token-during-Kernel-Compilation
program_handle = fopen(file_name[i], "r");
改成:
program_handle = fopen(file_name[i], "rb");
以上是关于OpenCL Bug: Unrecognized Token during Kernel Compilation的主要内容,如果未能解决你的问题,请参考以下文章
iOS-unrecognized selector crash防护
rk3588编译opencv 出现 c++: error: unrecognized command-line option ‘--param=ipcp-unit-growth=100000’;
为啥 smtp.gmail.com 返回 Unrecognized 命令?