| 5464 | } |
| 5465 | |
| 5466 | inline Kernel::Kernel(const Program& program, const char* name, cl_int* err) |
| 5467 | { |
| 5468 | cl_int error; |
| 5469 | |
| 5470 | object_ = ::clCreateKernel(program(), name, &error); |
| 5471 | detail::errHandler(error, __CREATE_KERNEL_ERR); |
| 5472 | |
| 5473 | if (err != NULL) { |
| 5474 | *err = error; |
| 5475 | } |
| 5476 | |
| 5477 | } |
| 5478 | |
| 5479 | /*! \class CommandQueue |
| 5480 | * \brief CommandQueue interface for cl_command_queue. |
nothing calls this directly
no test coverage detected