jeremyong/opencl_in_action

<kernel>:9:1: error: source file is not valid UTF-8

Closed this issue · 1 comments

When fopen kernel file, read as binary instead of text mode is required.

If with text mode (i.e. fopen(xxx.cl, "r") ) on MSVC will cause error

source file is not valid UTF-8