Lines Matching refs:detail
685 namespace detail { namespace
761 namespace detail { \
938 struct param_traits<detail:: token,param_name> \
1183 class Device : public detail::Wrapper<cl_device_id>
1188 Device() : detail::Wrapper<cl_type>() { } in Device()
1190 Device(const Device& device) : detail::Wrapper<cl_type>(device) { } in Device()
1195 detail::Wrapper<cl_type>::operator=(rhs); in operator =()
1203 return detail::errHandler( in getInfo()
1204 detail::getInfo(&::clGetDeviceInfo, object_, name, param), in getInfo()
1209 detail::param_traits<detail::cl_device_info, name>::param_type
1212 typename detail::param_traits< in getInfo()
1213 detail::cl_device_info, name>::param_type param; in getInfo()
1240 return detail::errHandler(err, __CREATE_SUB_DEVICES); in createSubDevices()
1246 return detail::errHandler(err, __CREATE_SUB_DEVICES); in createSubDevices()
1258 class Platform : public detail::Wrapper<cl_platform_id>
1265 Platform() : detail::Wrapper<cl_type>() { } in Platform()
1267 Platform(const Platform& platform) : detail::Wrapper<cl_type>(platform) { } in Platform()
1272 detail::Wrapper<cl_type>::operator=(rhs); in operator =()
1279 return detail::errHandler( in getInfo()
1280 detail::getInfo(&::clGetPlatformInfo, object_, name, param), in getInfo()
1285 detail::param_traits<detail::cl_platform_info, name>::param_type
1288 typename detail::param_traits< in getInfo()
1289 detail::cl_platform_info, name>::param_type param; in getInfo()
1304 return detail::errHandler(err, __GET_DEVICE_IDS_ERR); in getDevices()
1310 return detail::errHandler(err, __GET_DEVICE_IDS_ERR); in getDevices()
1369 return detail::errHandler(err, __GET_DEVICE_IDS_ERR); in getDevices()
1382 return detail::errHandler(err, __GET_DEVICE_IDS_ERR); in getDevices()
1396 return detail::errHandler(err, __GET_PLATFORM_IDS_ERR); in get()
1403 return detail::errHandler(err, __GET_PLATFORM_IDS_ERR); in get()
1417 class Context : public detail::Wrapper<cl_context>
1437 detail::errHandler(error, __CREATE_CONTEXT_FROM_TYPE_ERR); in Context()
1458 detail::errHandler(error, __CREATE_CONTEXT_FROM_TYPE_ERR); in Context()
1464 Context() : detail::Wrapper<cl_type>() { } in Context()
1466 Context(const Context& context) : detail::Wrapper<cl_type>(context) { } in Context()
1471 detail::Wrapper<cl_type>::operator=(rhs); in operator =()
1479 return detail::errHandler( in getInfo()
1480 detail::getInfo(&::clGetContextInfo, object_, name, param), in getInfo()
1485 detail::param_traits<detail::cl_context_info, name>::param_type
1488 typename detail::param_traits< in getInfo()
1489 detail::cl_context_info, name>::param_type param; in getInfo()
1511 return detail::errHandler(err, __GET_SUPPORTED_IMAGE_FORMATS_ERR); in getSupportedImageFormats()
1524 return detail::errHandler(err, __GET_SUPPORTED_IMAGE_FORMATS_ERR); in getSupportedImageFormats()
1537 class Event : public detail::Wrapper<cl_event>
1540 Event() : detail::Wrapper<cl_type>() { } in Event()
1542 Event(const Event& event) : detail::Wrapper<cl_type>(event) { } in Event()
1547 detail::Wrapper<cl_type>::operator=(rhs); in operator =()
1555 return detail::errHandler( in getInfo()
1556 detail::getInfo(&::clGetEventInfo, object_, name, param), in getInfo()
1561 detail::param_traits<detail::cl_event_info, name>::param_type
1564 typename detail::param_traits< in getInfo()
1565 detail::cl_event_info, name>::param_type param; in getInfo()
1576 return detail::errHandler(detail::getInfo( in getProfilingInfo()
1582 detail::param_traits<detail::cl_profiling_info, name>::param_type
1585 typename detail::param_traits< in getProfilingInfo()
1586 detail::cl_profiling_info, name>::param_type param; in getProfilingInfo()
1596 return detail::errHandler( in wait()
1607 return detail::errHandler( in setCallback()
1620 return detail::errHandler( in waitForEvents()
1645 detail::errHandler(error, __CREATE_USER_EVENT_ERR); in UserEvent()
1665 return detail::errHandler( in setStatus()
1675 return detail::errHandler( in WaitForEvents()
1684 class Memory : public detail::Wrapper<cl_mem>
1687 Memory() : detail::Wrapper<cl_type>() { } in Memory()
1689 Memory(const Memory& memory) : detail::Wrapper<cl_type>(memory) { } in Memory()
1694 detail::Wrapper<cl_type>::operator=(rhs); in operator =()
1702 return detail::errHandler( in getInfo()
1703 detail::getInfo(&::clGetMemObjectInfo, object_, name, param), in getInfo()
1708 detail::param_traits<detail::cl_mem_info, name>::param_type
1711 typename detail::param_traits< in getInfo()
1712 detail::cl_mem_info, name>::param_type param; in getInfo()
1725 return detail::errHandler( in setDestructorCallback()
1754 detail::errHandler(error, __CREATE_BUFFER_ERR); in Buffer()
1788 detail::errHandler(error, __CREATE_SUBBUFFER_ERR); in createSubBuffer()
1822 detail::errHandler(error, __CREATE_GL_BUFFER_ERR); in BufferD3D10()
1861 detail::errHandler(error, __CREATE_GL_BUFFER_ERR); in BufferGL()
1883 return detail::errHandler( in getObjectInfo()
1908 detail::errHandler(error, __CREATE_GL_BUFFER_ERR); in BufferRenderGL()
1930 return detail::errHandler( in getObjectInfo()
1957 return detail::errHandler( in getImageInfo()
1958 detail::getInfo(&::clGetImageInfo, object_, name, param), in getImageInfo()
1963 detail::param_traits<detail::cl_image_info, name>::param_type
1966 typename detail::param_traits< in getImageInfo()
1967 detail::cl_image_info, name>::param_type param; in getImageInfo()
1996 detail::errHandler(error, __CREATE_IMAGE2D_ERR); in Image2D()
2038 detail::errHandler(error, __CREATE_GL_BUFFER_ERR); in Image2DGL()
2080 detail::errHandler(error, __CREATE_IMAGE3D_ERR); in Image3D()
2122 detail::errHandler(error, __CREATE_GL_BUFFER_ERR); in Image3DGL()
2144 class Sampler : public detail::Wrapper<cl_sampler>
2164 detail::errHandler(error, __CREATE_SAMPLER_ERR); in Sampler()
2170 Sampler(const Sampler& sampler) : detail::Wrapper<cl_type>(sampler) { } in Sampler()
2175 detail::Wrapper<cl_type>::operator=(rhs); in operator =()
2183 return detail::errHandler( in getInfo()
2184 detail::getInfo(&::clGetSamplerInfo, object_, name, param), in getInfo()
2189 detail::param_traits<detail::cl_sampler_info, name>::param_type
2192 typename detail::param_traits< in getInfo()
2193 detail::cl_sampler_info, name>::param_type param; in getInfo()
2258 namespace detail { namespace
2289 class Kernel : public detail::Wrapper<cl_kernel>
2296 Kernel(const Kernel& kernel) : detail::Wrapper<cl_type>(kernel) { } in Kernel()
2301 detail::Wrapper<cl_type>::operator=(rhs); in operator =()
2309 return detail::errHandler( in getInfo()
2310 detail::getInfo(&::clGetKernelInfo, object_, name, param), in getInfo()
2315 detail::param_traits<detail::cl_kernel_info, name>::param_type
2318 typename detail::param_traits< in getInfo()
2319 detail::cl_kernel_info, name>::param_type param; in getInfo()
2331 return detail::errHandler( in getWorkGroupInfo()
2332 detail::getInfo( in getWorkGroupInfo()
2338 detail::param_traits<detail::cl_kernel_work_group_info, name>::param_type
2341 typename detail::param_traits< in getWorkGroupInfo()
2342 detail::cl_kernel_work_group_info, name>::param_type param; in getWorkGroupInfo()
2353 return detail::errHandler( in setArg()
2357 detail::KernelArgumentHandler<T>::size(value), in setArg()
2358 detail::KernelArgumentHandler<T>::ptr(value)), in setArg()
2364 return detail::errHandler( in setArg()
2386 class Program : public detail::Wrapper<cl_program>
2411 detail::errHandler(error, __CREATE_PROGRAM_WITH_SOURCE_ERR); in Program()
2441 detail::errHandler(error, __CREATE_PROGRAM_WITH_BINARY_ERR); in Program()
2449 Program(const Program& program) : detail::Wrapper<cl_type>(program) { } in Program()
2454 detail::Wrapper<cl_type>::operator=(rhs); in operator =()
2465 return detail::errHandler( in build()
2480 return detail::errHandler( in getInfo()
2481 detail::getInfo(&::clGetProgramInfo, object_, name, param), in getInfo()
2486 detail::param_traits<detail::cl_program_info, name>::param_type
2489 typename detail::param_traits< in getInfo()
2490 detail::cl_program_info, name>::param_type param; in getInfo()
2502 return detail::errHandler( in getBuildInfo()
2503 detail::getInfo( in getBuildInfo()
2509 detail::param_traits<detail::cl_program_build_info, name>::param_type
2512 typename detail::param_traits< in getBuildInfo()
2513 detail::cl_program_build_info, name>::param_type param; in getBuildInfo()
2526 return detail::errHandler(err, __CREATE_KERNELS_IN_PROGRAM_ERR); in createKernels()
2533 return detail::errHandler(err, __CREATE_KERNELS_IN_PROGRAM_ERR); in createKernels()
2548 detail::errHandler(error, __CREATE_KERNEL_ERR); in __GET_INFO_HELPER_WITH_RETAIN()
2559 class CommandQueue : public detail::Wrapper<cl_command_queue>
2572 detail::errHandler(error, __CREATE_COMMAND_QUEUE_ERR); in CommandQueue()
2580 CommandQueue(const CommandQueue& commandQueue) : detail::Wrapper<cl_type>(commandQueue) { } in CommandQueue()
2585 detail::Wrapper<cl_type>::operator=(rhs); in operator =()
2593 return detail::errHandler( in getInfo()
2594 detail::getInfo( in getInfo()
2600 detail::param_traits<detail::cl_command_queue_info, name>::param_type
2603 typename detail::param_traits< in getInfo()
2604 detail::cl_command_queue_info, name>::param_type param; in getInfo()
2621 return detail::errHandler( in enqueueReadBuffer()
2640 return detail::errHandler( in enqueueWriteBuffer()
2659 return detail::errHandler( in enqueueCopyBuffer()
2683 return detail::errHandler( in enqueueReadBufferRect()
2717 return detail::errHandler( in enqueueWriteBufferRect()
2749 return detail::errHandler( in enqueueCopyBufferRect()
2779 return detail::errHandler( in enqueueReadImage()
2800 return detail::errHandler( in enqueueWriteImage()
2819 return detail::errHandler( in enqueueCopyImage()
2838 return detail::errHandler( in enqueueCopyImageToBuffer()
2857 return detail::errHandler( in enqueueCopyBufferToImage()
2885 detail::errHandler(error, __ENQUEUE_MAP_BUFFER_ERR); in enqueueMapBuffer()
2914 detail::errHandler(error, __ENQUEUE_MAP_IMAGE_ERR); in enqueueMapImage()
2927 return detail::errHandler( in enqueueUnmapMemObject()
2944 return detail::errHandler( in enqueueNDRangeKernel()
2961 return detail::errHandler( in enqueueTask()
2988 return detail::errHandler( in enqueueNativeKernel()
3002 return detail::errHandler( in enqueueMarker()
3009 return detail::errHandler( in enqueueWaitForEvents()
3022 return detail::errHandler( in enqueueAcquireGLObjects()
3038 return detail::errHandler( in enqueueReleaseGLObjects()
3067 return detail::errHandler( in enqueueAcquireD3D10Objects()
3086 return detail::errHandler( in enqueueReleaseD3D10Objects()
3100 return detail::errHandler( in enqueueBarrier()
3107 return detail::errHandler(::clFlush(object_), __FLUSH_ERR); in flush()
3112 return detail::errHandler(::clFinish(object_), __FINISH_ERR); in finish()