Lines Matching defs:Error
124 * catch (cl::Error err) {
126 * << "ERROR: "
207 /*! \class Error
210 class Error : public std::exception
216 /*! Create a new CL error exception for a given error code
219 Error(cl_int err, const char * errStr = NULL) : err_(err), errStr_(errStr)
222 ~Error() throw() {}
224 /*! \brief Get error string associated with exception
226 * \return A memory pointer to the error message string.
238 /*! \brief Get error code associated with exception
240 * \return The error code.
1140 const char * errStr = NULL) throw(Error)
1143 throw Error(err, errStr);
1338 * other than CL_SUCCESS is generated, then cl::Error exception is
1431 cl_int error;
1435 notifyFptr, data, &error);
1437 detail::errHandler(error, __CREATE_CONTEXT_FROM_TYPE_ERR);
1439 *err = error;
1454 cl_int error;
1456 properties, type, notifyFptr, data, &error);
1458 detail::errHandler(error, __CREATE_CONTEXT_FROM_TYPE_ERR);
1460 *err = error;
1640 cl_int error;
1643 &error);
1645 detail::errHandler(error, __CREATE_USER_EVENT_ERR);
1647 *err = error;
1751 cl_int error;
1752 object_ = ::clCreateBuffer(context(), flags, size, host_ptr, &error);
1754 detail::errHandler(error, __CREATE_BUFFER_ERR);
1756 *err = error;
1780 cl_int error;
1786 &error);
1788 detail::errHandler(error, __CREATE_SUBBUFFER_ERR);
1790 *err = error;
1815 cl_int error;
1820 &error);
1822 detail::errHandler(error, __CREATE_GL_BUFFER_ERR);
1824 *err = error;
1854 cl_int error;
1859 &error);
1861 detail::errHandler(error, __CREATE_GL_BUFFER_ERR);
1863 *err = error;
1901 cl_int error;
1906 &error);
1908 detail::errHandler(error, __CREATE_GL_BUFFER_ERR);
1910 *err = error;
1992 cl_int error;
1994 context(), flags,&format, width, height, row_pitch, host_ptr, &error);
1996 detail::errHandler(error, __CREATE_IMAGE2D_ERR);
1998 *err = error;
2029 cl_int error;
2036 &error);
2038 detail::errHandler(error, __CREATE_GL_BUFFER_ERR);
2040 *err = error;
2075 cl_int error;
2078 slice_pitch, host_ptr, &error);
2080 detail::errHandler(error, __CREATE_IMAGE3D_ERR);
2082 *err = error;
2113 cl_int error;
2120 &error);
2122 detail::errHandler(error, __CREATE_GL_BUFFER_ERR);
2124 *err = error;
2156 cl_int error;
2162 &error);
2164 detail::errHandler(error, __CREATE_SAMPLER_ERR);
2166 *err = error;
2397 cl_int error;
2409 context(), (cl_uint)n, strings, lengths, &error);
2411 detail::errHandler(error, __CREATE_PROGRAM_WITH_SOURCE_ERR);
2413 *err = error;
2424 cl_int error;
2439 : NULL, &error);
2441 detail::errHandler(error, __CREATE_PROGRAM_WITH_BINARY_ERR);
2443 *err = error;
2545 cl_int error;
2547 object_ = ::clCreateKernel(program(), name, &error);
2548 detail::errHandler(error, __CREATE_KERNEL_ERR);
2551 *err = error;
2568 cl_int error;
2570 context(), device(), properties, &error);
2572 detail::errHandler(error, __CREATE_COMMAND_QUEUE_ERR);
2574 *err = error;
2877 cl_int error;
2883 &error);
2885 detail::errHandler(error, __ENQUEUE_MAP_BUFFER_ERR);
2887 *err = error;
2904 cl_int error;
2912 &error);
2914 detail::errHandler(error, __ENQUEUE_MAP_IMAGE_ERR);
2916 *err = error;