returns true if the device supports clLinkProgram
| 113 | |
| 114 | // returns true if the device supports clLinkProgram |
| 115 | inline bool supports_link_program(const boost::compute::device &device) |
| 116 | { |
| 117 | // unimplemented in POCL |
| 118 | return !is_pocl_device(device); |
| 119 | } |
| 120 | |
| 121 | // See https://github.com/pocl/pocl/issues/577, POCL fails when a program |
| 122 | // with incorrect code is built for the 2nd time |
no test coverage detected