Lines Matching refs:cl_int
213 cl_int err_;
219 Error(cl_int err, const char * errStr = NULL) : err_(err), errStr_(errStr) in Error()
242 const cl_int err(void) const { return err_; } in err()
691 static cl_int
702 static cl_int get(Func f, cl_uint name, VECTOR_CLASS<T>* param) in get()
705 cl_int err = f(name, 0, NULL, &required); in get()
725 static cl_int
741 static cl_int get(Func f, cl_uint name, STRING_CLASS* param) in get()
744 cl_int err = f(name, 0, NULL, &required); in get()
765 static cl_int get(Func f, cl_uint name, CPP_TYPE* param) \
932 template <typename enum_type, cl_int Name>
958 inline cl_int
968 cl_int operator ()( in operator ()()
977 cl_int operator ()( in operator ()()
983 inline cl_int
992 inline cl_int
1008 static cl_int retain(cl_device_id) in retain()
1011 static cl_int release(cl_device_id) in release()
1019 static cl_int retain(cl_platform_id) in retain()
1022 static cl_int release(cl_platform_id) in release()
1029 static cl_int retain(cl_context context) in retain()
1031 static cl_int release(cl_context context) in release()
1038 static cl_int retain(cl_command_queue queue) in retain()
1040 static cl_int release(cl_command_queue queue) in release()
1047 static cl_int retain(cl_mem memory) in retain()
1049 static cl_int release(cl_mem memory) in release()
1056 static cl_int retain(cl_sampler sampler) in retain()
1058 static cl_int release(cl_sampler sampler) in release()
1065 static cl_int retain(cl_program program) in retain()
1067 static cl_int release(cl_program program) in release()
1074 static cl_int retain(cl_kernel kernel) in retain()
1076 static cl_int release(cl_kernel kernel) in release()
1083 static cl_int retain(cl_event event) in retain()
1085 static cl_int release(cl_event event) in release()
1126 cl_int retain() const in retain()
1131 cl_int release() const in release()
1138 static inline cl_int errHandler ( in errHandler()
1139 cl_int err, in errHandler()
1148 static inline cl_int errHandler (cl_int err, const char * errStr = NULL) in errHandler()
1201 cl_int getInfo(cl_device_info name, T* param) const in getInfo()
1208 template <cl_int name> typename
1210 getInfo(cl_int* err = NULL) const in getInfo()
1214 cl_int result = getInfo(name, ¶m); in getInfo()
1222 cl_int createSubDevices( in createSubDevices()
1226 typedef CL_API_ENTRY cl_int in createSubDevices()
1238 cl_int err = pfn_clCreateSubDevicesEXT(object_, properties, 0, NULL, &n); in createSubDevices()
1277 cl_int getInfo(cl_platform_info name, STRING_CLASS* param) const in getInfo()
1284 template <cl_int name> typename
1286 getInfo(cl_int* err = NULL) const in getInfo()
1290 cl_int result = getInfo(name, ¶m); in getInfo()
1297 cl_int getDevices( in getDevices()
1302 cl_int err = ::clGetDeviceIDs(object_, type, 0, NULL, &n); in getDevices()
1341 cl_int getDevices( in getDevices()
1347 typedef CL_API_ENTRY cl_int (CL_API_CALL *PFN_clGetDeviceIDsFromD3D10KHR)( in getDevices()
1360 cl_int err = pfn_clGetDeviceIDsFromD3D10KHR( in getDevices()
1390 static cl_int get( in get()
1394 cl_int err = ::clGetPlatformIDs(0, NULL, &n); in get()
1411 static inline cl_int
1429 cl_int* err = NULL) in Context()
1431 cl_int error; in Context()
1452 cl_int* err = NULL) in Context()
1454 cl_int error; in Context()
1477 cl_int getInfo(cl_context_info name, T* param) const in getInfo()
1484 template <cl_int name> typename
1486 getInfo(cl_int* err = NULL) const in getInfo()
1490 cl_int result = getInfo(name, ¶m); in getInfo()
1497 cl_int getSupportedImageFormats( in getSupportedImageFormats()
1503 cl_int err = ::clGetSupportedImageFormats( in getSupportedImageFormats()
1553 cl_int getInfo(cl_event_info name, T* param) const in getInfo()
1560 template <cl_int name> typename
1562 getInfo(cl_int* err = NULL) const in getInfo()
1566 cl_int result = getInfo(name, ¶m); in getInfo()
1574 cl_int getProfilingInfo(cl_profiling_info name, T* param) const in getProfilingInfo()
1581 template <cl_int name> typename
1583 getProfilingInfo(cl_int* err = NULL) const in getProfilingInfo()
1587 cl_int result = getProfilingInfo(name, ¶m); in getProfilingInfo()
1594 cl_int wait() const in wait()
1602 cl_int setCallback( in setCallback() argument
1603 cl_int type, in setCallback()
1604 void (CL_CALLBACK * pfn_notify)(cl_event, cl_int, void *), in setCallback()
1617 static cl_int
1638 cl_int * err = NULL) in UserEvent()
1640 cl_int error; in UserEvent()
1663 cl_int setStatus(cl_int status) in setStatus()
1672 inline static cl_int
1700 cl_int getInfo(cl_mem_info name, T* param) const in getInfo()
1707 template <cl_int name> typename
1709 getInfo(cl_int* err = NULL) const in getInfo()
1713 cl_int result = getInfo(name, ¶m); in getInfo()
1721 cl_int setDestructorCallback( in setDestructorCallback()
1749 cl_int* err = NULL) in Buffer()
1751 cl_int error; in Buffer()
1777 cl_int * err = NULL) in createSubBuffer()
1780 cl_int error; in createSubBuffer()
1804 cl_int* errcode_ret);
1810 cl_int * err = NULL) in BufferD3D10()
1815 cl_int error; in BufferD3D10()
1852 cl_int * err = NULL) in BufferGL()
1854 cl_int error; in BufferGL()
1879 cl_int getObjectInfo( in getObjectInfo()
1899 cl_int * err = NULL) in BufferRenderGL()
1901 cl_int error; in BufferRenderGL()
1926 cl_int getObjectInfo( in getObjectInfo()
1955 cl_int getImageInfo(cl_image_info name, T* param) const in getImageInfo()
1962 template <cl_int name> typename
1964 getImageInfo(cl_int* err = NULL) const in getImageInfo()
1968 cl_int result = getImageInfo(name, ¶m); in getImageInfo()
1990 cl_int* err = NULL) in Image2D()
1992 cl_int error; in Image2D()
2027 cl_int * err = NULL) in Image2DGL()
2029 cl_int error; in Image2DGL()
2073 cl_int* err = NULL) in Image3D()
2075 cl_int error; in Image3D()
2111 cl_int * err = NULL) in Image3DGL()
2113 cl_int error; in Image3DGL()
2154 cl_int* err = NULL) in Sampler()
2156 cl_int error; in Sampler()
2181 cl_int getInfo(cl_sampler_info name, T* param) const in getInfo()
2188 template <cl_int name> typename
2190 getInfo(cl_int* err = NULL) const in getInfo()
2194 cl_int result = getInfo(name, ¶m); in getInfo()
2292 inline Kernel(const Program& program, const char* name, cl_int* err = NULL);
2307 cl_int getInfo(cl_kernel_info name, T* param) const in getInfo()
2314 template <cl_int name> typename
2316 getInfo(cl_int* err = NULL) const in getInfo()
2320 cl_int result = getInfo(name, ¶m); in getInfo()
2328 cl_int getWorkGroupInfo( in getWorkGroupInfo()
2337 template <cl_int name> typename
2339 getWorkGroupInfo(const Device& device, cl_int* err = NULL) const in getWorkGroupInfo()
2343 cl_int result = getWorkGroupInfo(device, name, ¶m); in getWorkGroupInfo()
2351 cl_int setArg(cl_uint index, T value) in setArg()
2362 cl_int setArg(cl_uint index, ::size_t size, void* argPtr) in setArg()
2395 cl_int* err = NULL) in Program()
2397 cl_int error; in Program()
2421 VECTOR_CLASS<cl_int>* binaryStatus = NULL, in Program()
2422 cl_int* err = NULL) in Program()
2424 cl_int error; in Program()
2438 ? (cl_int*) &binaryStatus->front() in Program()
2459 cl_int build( in build()
2478 cl_int getInfo(cl_program_info name, T* param) const in getInfo()
2485 template <cl_int name> typename
2487 getInfo(cl_int* err = NULL) const in getInfo()
2491 cl_int result = getInfo(name, ¶m); in getInfo()
2499 cl_int getBuildInfo( in getBuildInfo()
2508 template <cl_int name> typename
2510 getBuildInfo(const Device& device, cl_int* err = NULL) const in getBuildInfo()
2514 cl_int result = getBuildInfo(device, name, ¶m); in getBuildInfo()
2521 cl_int createKernels(VECTOR_CLASS<Kernel>* kernels) in createKernels()
2524 cl_int err = ::clCreateKernelsInProgram(object_, 0, NULL, &numKernels); in createKernels()
2543 inline Kernel::Kernel(const Program& program, const char* name, cl_int* err) in __GET_INFO_HELPER_WITH_RETAIN()
2545 cl_int error; in __GET_INFO_HELPER_WITH_RETAIN()
2566 cl_int* err = NULL) in CommandQueue()
2568 cl_int error; in CommandQueue()
2591 cl_int getInfo(cl_command_queue_info name, T* param) const in getInfo()
2599 template <cl_int name> typename
2601 getInfo(cl_int* err = NULL) const in getInfo()
2605 cl_int result = getInfo(name, ¶m); in getInfo()
2612 cl_int enqueueReadBuffer( in enqueueReadBuffer()
2631 cl_int enqueueWriteBuffer( in enqueueWriteBuffer()
2650 cl_int enqueueCopyBuffer( in enqueueCopyBuffer()
2669 cl_int enqueueReadBufferRect( in enqueueReadBufferRect()
2703 cl_int enqueueWriteBufferRect( in enqueueWriteBufferRect()
2736 cl_int enqueueCopyBufferRect( in enqueueCopyBufferRect()
2768 cl_int enqueueReadImage( in enqueueReadImage()
2789 cl_int enqueueWriteImage( in enqueueWriteImage()
2810 cl_int enqueueCopyImage( in enqueueCopyImage()
2829 cl_int enqueueCopyImageToBuffer( in enqueueCopyImageToBuffer()
2848 cl_int enqueueCopyBufferToImage( in enqueueCopyBufferToImage()
2875 cl_int* err = NULL) const in enqueueMapBuffer()
2877 cl_int error; in enqueueMapBuffer()
2902 cl_int* err = NULL) const in enqueueMapImage()
2904 cl_int error; in enqueueMapImage()
2921 cl_int enqueueUnmapMemObject( in enqueueUnmapMemObject()
2936 cl_int enqueueNDRangeKernel( in enqueueNDRangeKernel()
2956 cl_int enqueueTask( in enqueueTask()
2970 cl_int enqueueNativeKernel( in enqueueNativeKernel()
3000 cl_int enqueueMarker(Event* event = NULL) const in enqueueMarker()
3007 cl_int enqueueWaitForEvents(const VECTOR_CLASS<Event>& events) const in enqueueWaitForEvents()
3017 cl_int enqueueAcquireGLObjects( in enqueueAcquireGLObjects()
3033 cl_int enqueueReleaseGLObjects( in enqueueReleaseGLObjects()
3050 typedef CL_API_ENTRY cl_int (CL_API_CALL *PFN_clEnqueueAcquireD3D10ObjectsKHR)(
3054 typedef CL_API_ENTRY cl_int (CL_API_CALL *PFN_clEnqueueReleaseD3D10ObjectsKHR)(
3059 cl_int enqueueAcquireD3D10Objects( in enqueueAcquireD3D10Objects()
3078 cl_int enqueueReleaseD3D10Objects( in enqueueReleaseD3D10Objects()
3098 cl_int enqueueBarrier() const in enqueueBarrier()
3105 cl_int flush() const in flush()
3110 cl_int finish() const in finish()
3134 cl_int err_;
3156 cl_int getError() { return err_; } in getError()