Lines Matching defs:const
80 * const char * helloStr = "__kernel void "
214 const char * errStr_;
219 Error(cl_int err, const char * errStr = NULL) : err_(err), errStr_(errStr)
228 virtual const char * what() const throw ()
242 const cl_int err(void) const { return err_; }
368 string& operator=(const string& rhs)
392 string(const string& rhs)
404 ::size_t size(void) const { return size_; }
405 ::size_t length(void) const { return size(); }
407 const char * c_str(void) const { return (str_) ? str_ : "";}
447 unsigned int size(void) const
458 void push_back (const T& x)
478 vector(const vector<T, N>& vec) :
487 vector(unsigned int size, const T& val = T()) :
496 vector<T, N>& operator=(const vector<T, N>& rhs)
526 operator const T* () const { return data_; }
528 bool empty (void) const
533 unsigned int max_size (void) const
538 unsigned int capacity () const
548 T operator[](int index) const
666 const T& front(void) const
671 const T& back(void) const
967 Func f_; const Arg0& arg0_;
976 Func f_; const Arg0& arg0_; const Arg1& arg1_;
984 getInfo(Func f, const Arg0& arg0, cl_uint name, T* param)
993 getInfo(Func f, const Arg0& arg0, const Arg1& arg1, cl_uint name, T* param)
1106 Wrapper(const Wrapper<cl_type>& rhs)
1112 Wrapper<cl_type>& operator = (const Wrapper<cl_type>& rhs)
1120 cl_type operator ()() const { return object_; }
1126 cl_int retain() const
1131 cl_int release() const
1140 const char * errStr = NULL) throw(Error)
1148 static inline cl_int errHandler (cl_int err, const char * errStr = NULL)
1170 ImageFormat& operator = (const ImageFormat& rhs)
1190 Device(const Device& device) : detail::Wrapper<cl_type>(device) { }
1192 Device& operator = (const Device& rhs)
1201 cl_int getInfo(cl_device_info name, T* param) const
1210 getInfo(cl_int* err = NULL) const
1223 const cl_device_partition_property_ext * properties,
1229 const cl_device_partition_property_ext * /* properties */,
1261 static const Platform null();
1267 Platform(const Platform& platform) : detail::Wrapper<cl_type>(platform) { }
1269 Platform& operator = (const Platform& rhs)
1277 cl_int getInfo(cl_platform_info name, STRING_CLASS* param) const
1286 getInfo(cl_int* err = NULL) const
1299 VECTOR_CLASS<Device>* devices) const
1345 VECTOR_CLASS<Device>* devices) const
1421 const VECTOR_CLASS<Device>& devices,
1424 const char *,
1425 const void *,
1447 const char *,
1448 const void *,
1466 Context(const Context& context) : detail::Wrapper<cl_type>(context) { }
1468 Context& operator = (const Context& rhs)
1477 cl_int getInfo(cl_context_info name, T* param) const
1486 getInfo(cl_int* err = NULL) const
1500 VECTOR_CLASS<ImageFormat>* formats) const
1542 Event(const Event& event) : detail::Wrapper<cl_type>(event) { }
1544 Event& operator = (const Event& rhs)
1553 cl_int getInfo(cl_event_info name, T* param) const
1562 getInfo(cl_int* err = NULL) const
1574 cl_int getProfilingInfo(cl_profiling_info name, T* param) const
1583 getProfilingInfo(cl_int* err = NULL) const
1594 cl_int wait() const
1618 waitForEvents(const VECTOR_CLASS<Event>& events)
1637 const Context& context,
1653 UserEvent(const UserEvent& event) : Event(event) { }
1655 UserEvent& operator = (const UserEvent& rhs)
1673 WaitForEvents(const VECTOR_CLASS<Event>& events)
1689 Memory(const Memory& memory) : detail::Wrapper<cl_type>(memory) { }
1691 Memory& operator = (const Memory& rhs)
1700 cl_int getInfo(cl_mem_info name, T* param) const
1709 getInfo(cl_int* err = NULL) const
1745 const Context& context,
1762 Buffer(const Buffer& buffer) : Memory(buffer) { }
1764 Buffer& operator = (const Buffer& rhs)
1776 const void * buffer_create_info,
1807 const Context& context,
1830 BufferD3D10(const BufferD3D10& buffer) : Buffer(buffer) { }
1832 BufferD3D10& operator = (const BufferD3D10& rhs)
1849 const Context& context,
1869 BufferGL(const BufferGL& buffer) : Buffer(buffer) { }
1871 BufferGL& operator = (const BufferGL& rhs)
1896 const Context& context,
1916 BufferRenderGL(const BufferGL& buffer) : Buffer(buffer) { }
1918 BufferRenderGL& operator = (const BufferRenderGL& rhs)
1944 Image(const Image& image) : Memory(image) { }
1946 Image& operator = (const Image& rhs)
1955 cl_int getImageInfo(cl_image_info name, T* param) const
1964 getImageInfo(cl_int* err = NULL) const
1983 const Context& context,
2004 Image2D(const Image2D& image2D) : Image(image2D) { }
2006 Image2D& operator = (const Image2D& rhs)
2022 const Context& context,
2046 Image2DGL(const Image2DGL& image) : Image2D(image) { }
2048 Image2DGL& operator = (const Image2DGL& rhs)
2064 const Context& context,
2088 Image3D(const Image3D& image3D) : Image(image3D) { }
2090 Image3D& operator = (const Image3D& rhs)
2106 const Context& context,
2130 Image3DGL(const Image3DGL& image) : Image3D(image) { }
2132 Image3DGL& operator = (const Image3DGL& rhs)
2150 const Context& context,
2170 Sampler(const Sampler& sampler) : detail::Wrapper<cl_type>(sampler) { }
2172 Sampler& operator = (const Sampler& rhs)
2181 cl_int getInfo(cl_sampler_info name, T* param) const
2190 getInfo(cl_int* err = NULL) const
2243 operator const ::size_t*() const { return (const ::size_t*) sizes_; }
2244 ::size_t dimensions() const { return dimensions_; }
2247 static const NDRange NullRange;
2263 static ::size_t size(const T&) { return sizeof(T); }
2270 static ::size_t size(const LocalSpaceArg& value) { return value.size_; }
2292 inline Kernel(const Program& program, const char* name, cl_int* err = NULL);
2296 Kernel(const Kernel& kernel) : detail::Wrapper<cl_type>(kernel) { }
2298 Kernel& operator = (const Kernel& rhs)
2307 cl_int getInfo(cl_kernel_info name, T* param) const
2316 getInfo(cl_int* err = NULL) const
2329 const Device& device, cl_kernel_work_group_info name, T* param) const
2339 getWorkGroupInfo(const Device& device, cl_int* err = NULL) const
2370 const CommandQueue& queue,
2371 const NDRange& offset,
2372 const NDRange& global,
2373 const NDRange& local);
2376 const CommandQueue& queue,
2377 const NDRange& global,
2378 const NDRange& local);
2389 typedef VECTOR_CLASS<std::pair<const void*, ::size_t> > Binaries;
2390 typedef VECTOR_CLASS<std::pair<const char*, ::size_t> > Sources;
2393 const Context& context,
2394 const Sources& sources,
2399 const ::size_t n = (::size_t)sources.size();
2401 const char** strings = (const char**) alloca(n * sizeof(const char*));
2418 const Context& context,
2419 const VECTOR_CLASS<Device>& devices,
2420 const Binaries& binaries,
2425 const ::size_t n = binaries.size();
2427 const unsigned char** images = (const unsigned char**) alloca(n * sizeof(const void*));
2430 images[i] = (const unsigned char*)binaries[(int)i].first;
2449 Program(const Program& program) : detail::Wrapper<cl_type>(program) { }
2451 Program& operator = (const Program& rhs)
2460 const VECTOR_CLASS<Device>& devices,
2461 const char* options = NULL,
2463 void* data = NULL) const
2478 cl_int getInfo(cl_program_info name, T* param) const
2487 getInfo(cl_int* err = NULL) const
2500 const Device& device, cl_program_build_info name, T* param) const
2510 getBuildInfo(const Device& device, cl_int* err = NULL) const
2543 inline Kernel::Kernel(const Program& program, const char* name, cl_int* err)
2563 const Context& context,
2564 const Device& device,
2580 CommandQueue(const CommandQueue& commandQueue) : detail::Wrapper<cl_type>(commandQueue) { }
2582 CommandQueue& operator = (const CommandQueue& rhs)
2591 cl_int getInfo(cl_command_queue_info name, T* param) const
2601 getInfo(cl_int* err = NULL) const
2613 const Buffer& buffer,
2618 const VECTOR_CLASS<Event>* events = NULL,
2619 Event* event = NULL) const
2632 const Buffer& buffer,
2636 const void* ptr,
2637 const VECTOR_CLASS<Event>* events = NULL,
2638 Event* event = NULL) const
2651 const Buffer& src,
2652 const Buffer& dst,
2656 const VECTOR_CLASS<Event>* events = NULL,
2657 Event* event = NULL) const
2670 const Buffer& buffer,
2672 const size_t<3>& buffer_offset,
2673 const size_t<3>& host_offset,
2674 const size_t<3>& region,
2680 const VECTOR_CLASS<Event>* events = NULL,
2681 Event* event = NULL) const
2688 (const ::size_t *)buffer_offset,
2689 (const ::size_t *)host_offset,
2690 (const ::size_t *)region,
2704 const Buffer& buffer,
2706 const size_t<3>& buffer_offset,
2707 const size_t<3>& host_offset,
2708 const size_t<3>& region,
2714 const VECTOR_CLASS<Event>* events = NULL,
2715 Event* event = NULL) const
2722 (const ::size_t *)buffer_offset,
2723 (const ::size_t *)host_offset,
2724 (const ::size_t *)region,
2737 const Buffer& src,
2738 const Buffer& dst,
2739 const size_t<3>& src_origin,
2740 const size_t<3>& dst_origin,
2741 const size_t<3>& region,
2746 const VECTOR_CLASS<Event>* events = NULL,
2747 Event* event = NULL) const
2754 (const ::size_t *)src_origin,
2755 (const ::size_t *)dst_origin,
2756 (const ::size_t *)region,
2769 const Image& image,
2771 const size_t<3>& origin,
2772 const size_t<3>& region,
2776 const VECTOR_CLASS<Event>* events = NULL,
2777 Event* event = NULL) const
2781 object_, image(), blocking, (const ::size_t *) origin,
2782 (const ::size_t *) region, row_pitch, slice_pitch, ptr,
2790 const Image& image,
2792 const size_t<3>& origin,
2793 const size_t<3>& region,
2797 const VECTOR_CLASS<Event>* events = NULL,
2798 Event* event = NULL) const
2802 object_, image(), blocking, (const ::size_t *) origin,
2803 (const ::size_t *) region, row_pitch, slice_pitch, ptr,
2811 const Image& src,
2812 const Image& dst,
2813 const size_t<3>& src_origin,
2814 const size_t<3>& dst_origin,
2815 const size_t<3>& region,
2816 const VECTOR_CLASS<Event>* events = NULL,
2817 Event* event = NULL) const
2821 object_, src(), dst(), (const ::size_t *) src_origin,
2822 (const ::size_t *)dst_origin, (const ::size_t *) region,
2830 const Image& src,
2831 const Buffer& dst,
2832 const size_t<3>& src_origin,
2833 const size_t<3>& region,
2835 const VECTOR_CLASS<Event>* events = NULL,
2836 Event* event = NULL) const
2840 object_, src(), dst(), (const ::size_t *) src_origin,
2841 (const ::size_t *) region, dst_offset,
2849 const Buffer& src,
2850 const Image& dst,
2852 const size_t<3>& dst_origin,
2853 const size_t<3>& region,
2854 const VECTOR_CLASS<Event>* events = NULL,
2855 Event* event = NULL) const
2860 (const ::size_t *) dst_origin, (const ::size_t *) region,
2868 const Buffer& buffer,
2873 const VECTOR_CLASS<Event>* events = NULL,
2875 cl_int* err = NULL) const
2893 const Image& buffer,
2896 const size_t<3>& origin,
2897 const size_t<3>& region,
2900 const VECTOR_CLASS<Event>* events = NULL,
2902 cl_int* err = NULL) const
2907 (const ::size_t *) origin, (const ::size_t *) region,
2922 const Memory& memory,
2924 const VECTOR_CLASS<Event>* events = NULL,
2925 Event* event = NULL) const
2937 const Kernel& kernel,
2938 const NDRange& offset,
2939 const NDRange& global,
2940 const NDRange& local,
2941 const VECTOR_CLASS<Event>* events = NULL,
2942 Event* event = NULL) const
2947 offset.dimensions() != 0 ? (const ::size_t*) offset : NULL,
2948 (const ::size_t*) global,
2949 local.dimensions() != 0 ? (const ::size_t*) local : NULL,
2957 const Kernel& kernel,
2958 const VECTOR_CLASS<Event>* events = NULL,
2959 Event* event = NULL) const
2973 const VECTOR_CLASS<Memory>* mem_objects = NULL,
2974 const VECTOR_CLASS<const void*>* mem_locs = NULL,
2975 const VECTOR_CLASS<Event>* events = NULL,
2976 Event* event = NULL) const
2993 (mem_locs != NULL) ? (const void **) &mem_locs->front() : NULL,
3000 cl_int enqueueMarker(Event* event = NULL) const
3007 cl_int enqueueWaitForEvents(const VECTOR_CLASS<Event>& events) const
3013 (const cl_event*) &events.front()),
3018 const VECTOR_CLASS<Memory>* mem_objects = NULL,
3019 const VECTOR_CLASS<Event>* events = NULL,
3020 Event* event = NULL) const
3026 (mem_objects != NULL) ? (const cl_mem *) &mem_objects->front(): NULL,
3034 const VECTOR_CLASS<Memory>* mem_objects = NULL,
3035 const VECTOR_CLASS<Event>* events = NULL,
3036 Event* event = NULL) const
3042 (mem_objects != NULL) ? (const cl_mem *) &mem_objects->front(): NULL,
3052 const cl_mem* mem_objects, cl_uint num_events_in_wait_list,
3053 const cl_event* event_wait_list, cl_event* event);
3056 const cl_mem* mem_objects, cl_uint num_events_in_wait_list,
3057 const cl_event* event_wait_list, cl_event* event);
3060 const VECTOR_CLASS<Memory>* mem_objects = NULL,
3061 const VECTOR_CLASS<Event>* events = NULL,
3062 Event* event = NULL) const
3071 (mem_objects != NULL) ? (const cl_mem *) &mem_objects->front(): NULL,
3079 const VECTOR_CLASS<Memory>* mem_objects = NULL,
3080 const VECTOR_CLASS<Event>* events = NULL,
3081 Event* event = NULL) const
3090 (mem_objects != NULL) ? (const cl_mem *) &mem_objects->front(): NULL,
3098 cl_int enqueueBarrier() const
3105 cl_int flush() const
3110 cl_int finish() const
3139 const Kernel& kernel,
3140 const CommandQueue& queue,
3141 const NDRange& offset,
3142 const NDRange& global,
3143 const NDRange& local) :
3152 KernelFunctor& operator=(const KernelFunctor& rhs);
3154 KernelFunctor(const KernelFunctor& rhs);
3158 inline Event operator()(const VECTOR_CLASS<Event>* events = NULL);
3162 const A1& a1,
3163 const VECTOR_CLASS<Event>* events = NULL);
3167 const A1& a1,
3168 const A2& a2,
3169 const VECTOR_CLASS<Event>* events = NULL);
3173 const A1& a1,
3174 const A2& a2,
3175 const A3& a3,
3176 const VECTOR_CLASS<Event>* events = NULL);
3180 const A1& a1,
3181 const A2& a2,
3182 const A3& a3,
3183 const A4& a4,
3184 const VECTOR_CLASS<Event>* events = NULL);
3188 const A1& a1,
3189 const A2& a2,
3190 const A3& a3,
3191 const A4& a4,
3192 const A5& a5,
3193 const VECTOR_CLASS<Event>* events = NULL);
3197 const A1& a1,
3198 const A2& a2,
3199 const A3& a3,
3200 const A4& a4,
3201 const A5& a5,
3202 const A6& a6,
3203 const VECTOR_CLASS<Event>* events = NULL);
3208 const A1& a1,
3209 const A2& a2,
3210 const A3& a3,
3211 const A4& a4,
3212 const A5& a5,
3213 const A6& a6,
3214 const A7& a7,
3215 const VECTOR_CLASS<Event>* events = NULL);
3220 const A1& a1,
3221 const A2& a2,
3222 const A3& a3,
3223 const A4& a4,
3224 const A5& a5,
3225 const A6& a6,
3226 const A7& a7,
3227 const A8& a8,
3228 const VECTOR_CLASS<Event>* events = NULL);
3233 const A1& a1,
3234 const A2& a2,
3235 const A3& a3,
3236 const A4& a4,
3237 const A5& a5,
3238 const A6& a6,
3239 const A7& a7,
3240 const A8& a8,
3241 const A9& a9,
3242 const VECTOR_CLASS<Event>* events = NULL);
3247 const A1& a1,
3248 const A2& a2,
3249 const A3& a3,
3250 const A4& a4,
3251 const A5& a5,
3252 const A6& a6,
3253 const A7& a7,
3254 const A8& a8,
3255 const A9& a9,
3256 const A10& a10,
3257 const VECTOR_CLASS<Event>* events = NULL);
3263 const A1& a1,
3264 const A2& a2,
3265 const A3& a3,
3266 const A4& a4,
3267 const A5& a5,
3268 const A6& a6,
3269 const A7& a7,
3270 const A8& a8,
3271 const A9& a9,
3272 const A10& a10,
3273 const A11& a11,
3274 const VECTOR_CLASS<Event>* events = NULL);
3280 const A1& a1,
3281 const A2& a2,
3282 const A3& a3,
3283 const A4& a4,
3284 const A5& a5,
3285 const A6& a6,
3286 const A7& a7,
3287 const A8& a8,
3288 const A9& a9,
3289 const A10& a10,
3290 const A11& a11,
3291 const A12& a12,
3292 const VECTOR_CLASS<Event>* events = NULL);
3298 const A1& a1,
3299 const A2& a2,
3300 const A3& a3,
3301 const A4& a4,
3302 const A5& a5,
3303 const A6& a6,
3304 const A7& a7,
3305 const A8& a8,
3306 const A9& a9,
3307 const A10& a10,
3308 const A11& a11,
3309 const A12& a12,
3310 const A13& a13,
3311 const VECTOR_CLASS<Event>* events = NULL);
3317 const A1& a1,
3318 const A2& a2,
3319 const A3& a3,
3320 const A4& a4,
3321 const A5& a5,
3322 const A6& a6,
3323 const A7& a7,
3324 const A8& a8,
3325 const A9& a9,
3326 const A10& a10,
3327 const A11& a11,
3328 const A12& a12,
3329 const A13& a13,
3330 const A14& a14,
3331 const VECTOR_CLASS<Event>* events = NULL);
3337 const A1& a1,
3338 const A2& a2,
3339 const A3& a3,
3340 const A4& a4,
3341 const A5& a5,
3342 const A6& a6,
3343 const A7& a7,
3344 const A8& a8,
3345 const A9& a9,
3346 const A10& a10,
3347 const A11& a11,
3348 const A12& a12,
3349 const A13& a13,
3350 const A14& a14,
3351 const A15& a15,
3352 const VECTOR_CLASS<Event>* events = NULL);
3356 const CommandQueue& queue,
3357 const NDRange& offset,
3358 const NDRange& global,
3359 const NDRange& local)
3365 const CommandQueue& queue,
3366 const NDRange& global,
3367 const NDRange& local)
3372 inline KernelFunctor& KernelFunctor::operator=(const KernelFunctor& rhs)
3387 inline KernelFunctor::KernelFunctor(const KernelFunctor& rhs) :
3396 Event KernelFunctor::operator()(const VECTOR_CLASS<Event>* events)
3413 const A1& a1,
3414 const VECTOR_CLASS<Event>* events)
3433 const A1& a1,
3434 const A2& a2,
3435 const VECTOR_CLASS<Event>* events)
3455 const A1& a1,
3456 const A2& a2,
3457 const A3& a3,
3458 const VECTOR_CLASS<Event>* events)
3479 const A1& a1,
3480 const A2& a2,
3481 const A3& a3,
3482 const A4& a4,
3483 const VECTOR_CLASS<Event>* events)
3505 const A1& a1,
3506 const A2& a2,
3507 const A3& a3,
3508 const A4& a4,
3509 const A5& a5,
3510 const VECTOR_CLASS<Event>* events)
3534 const A1& a1,
3535 const A2& a2,
3536 const A3& a3,
3537 const A4& a4,
3538 const A5& a5,
3539 const A6& a6,
3540 const VECTOR_CLASS<Event>* events)
3565 const A1& a1,
3566 const A2& a2,
3567 const A3& a3,
3568 const A4& a4,
3569 const A5& a5,
3570 const A6& a6,
3571 const A7& a7,
3572 const VECTOR_CLASS<Event>* events)
3598 const A1& a1,
3599 const A2& a2,
3600 const A3& a3,
3601 const A4& a4,
3602 const A5& a5,
3603 const A6& a6,
3604 const A7& a7,
3605 const A8& a8,
3606 const VECTOR_CLASS<Event>* events)
3633 const A1& a1,
3634 const A2& a2,
3635 const A3& a3,
3636 const A4& a4,
3637 const A5& a5,
3638 const A6& a6,
3639 const A7& a7,
3640 const A8& a8,
3641 const A9& a9,
3642 const VECTOR_CLASS<Event>* events)
3670 const A1& a1,
3671 const A2& a2,
3672 const A3& a3,
3673 const A4& a4,
3674 const A5& a5,
3675 const A6& a6,
3676 const A7& a7,
3677 const A8& a8,
3678 const A9& a9,
3679 const A10& a10,
3680 const VECTOR_CLASS<Event>* events)
3710 const A1& a1,
3711 const A2& a2,
3712 const A3& a3,
3713 const A4& a4,
3714 const A5& a5,
3715 const A6& a6,
3716 const A7& a7,
3717 const A8& a8,
3718 const A9& a9,
3719 const A10& a10,
3720 const A11& a11,
3721 const VECTOR_CLASS<Event>* events)
3752 const A1& a1,
3753 const A2& a2,
3754 const A3& a3,
3755 const A4& a4,
3756 const A5& a5,
3757 const A6& a6,
3758 const A7& a7,
3759 const A8& a8,
3760 const A9& a9,
3761 const A10& a10,
3762 const A11& a11,
3763 const A12& a12,
3764 const VECTOR_CLASS<Event>* events)
3796 const A1& a1,
3797 const A2& a2,
3798 const A3& a3,
3799 const A4& a4,
3800 const A5& a5,
3801 const A6& a6,
3802 const A7& a7,
3803 const A8& a8,
3804 const A9& a9,
3805 const A10& a10,
3806 const A11& a11,
3807 const A12& a12,
3808 const A13& a13,
3809 const VECTOR_CLASS<Event>* events)
3842 const A1& a1,
3843 const A2& a2,
3844 const A3& a3,
3845 const A4& a4,
3846 const A5& a5,
3847 const A6& a6,
3848 const A7& a7,
3849 const A8& a8,
3850 const A9& a9,
3851 const A10& a10,
3852 const A11& a11,
3853 const A12& a12,
3854 const A13& a13,
3855 const A14& a14,
3856 const VECTOR_CLASS<Event>* events)
3890 const A1& a1,
3891 const A2& a2,
3892 const A3& a3,
3893 const A4& a4,
3894 const A5& a5,
3895 const A6& a6,
3896 const A7& a7,
3897 const A8& a8,
3898 const A9& a9,
3899 const A10& a10,
3900 const A11& a11,
3901 const A12& a12,
3902 const A13& a13,
3903 const A14& a14,
3904 const A15& a15,
3905 const VECTOR_CLASS<Event>* events)