Search:

Type: Posts; User: Tanek

Search: Search took 0.00 seconds.

  1. Replies
    99
    Views
    67,034

    Re: OpenCL C++ Bindings

    Very likely there's something I'm not getting about shared_ptr as well, we're not allowed to use it here yet since we have to support compilers as old as GCC 3.2 so I don't have that much experience...
  2. Replies
    99
    Views
    67,034

    Re: OpenCL C++ Bindings

    If cl::Wrapper was an implementation of shared_ptr it would not be the parent of all the class of OpenCL or is there something I don't get? Also the constructor and destructor of Image2D are using...
  3. Replies
    99
    Views
    67,034

    Re: OpenCL C++ Bindings

    You can also write your own very simplified shared_ptr and give an option to the user to use the implementation they want (like you did for vector and string). I question more the design (using a...
  4. Replies
    99
    Views
    67,034

    Re: OpenCL C++ Bindings

    Hi,

    I was beginning writing my one C++ wrapper when I saw in fact there was already one. But I was a little bit surprised on how you handle ressource management with reference counting... Why just...
Results 1 to 4 of 7