| 2607 | }; |
| 2608 | namespace detail { |
| 2609 | static inline cl_int buildErrHandler( |
| 2610 | cl_int err, |
| 2611 | const char * errStr, |
| 2612 | const BuildLogType &buildLogs) |
| 2613 | { |
| 2614 | if (err != CL_SUCCESS) { |
| 2615 | throw BuildError(err, errStr, buildLogs); |
| 2616 | } |
| 2617 | return err; |
| 2618 | } |
| 2619 | } // namespace detail |
| 2620 | |
| 2621 | #else |
no test coverage detected