| 6501 | |
| 6502 | #if CL_HPP_TARGET_OPENCL_VERSION >= 120 |
| 6503 | cl_int compile( |
| 6504 | const char* options = nullptr, |
| 6505 | void (CL_CALLBACK * notifyFptr)(cl_program, void *) = nullptr, |
| 6506 | void* data = nullptr) const |
| 6507 | { |
| 6508 | cl_int error = ::clCompileProgram( |
| 6509 | object_, |
| 6510 | 0, |
| 6511 | nullptr, |
| 6512 | options, |
| 6513 | 0, |
| 6514 | nullptr, |
| 6515 | nullptr, |
| 6516 | notifyFptr, |
| 6517 | data); |
| 6518 | return detail::buildErrHandler(error, __COMPILE_PROGRAM_ERR, getBuildInfo<CL_PROGRAM_BUILD_LOG>()); |
| 6519 | } |
| 6520 | #endif // CL_HPP_TARGET_OPENCL_VERSION >= 120 |
| 6521 | |
| 6522 | template <typename T> |
no test coverage detected