| 87 | {} |
| 88 | |
| 89 | bool BuildTask::execute() |
| 90 | { |
| 91 | cl_int err_code = |
| 92 | clBuildProgram(m_program, 0, NULL, m_options.c_str(), NULL, NULL); |
| 93 | if (CL_SUCCESS == err_code) return true; |
| 94 | |
| 95 | setErrorLog(m_program); |
| 96 | return false; |
| 97 | } |
| 98 | |
| 99 | // |
| 100 | // SpirBuildTask |
no test coverage detected