Search:

Type: Posts; User: Steve132

Search: Search took 0.00 seconds.

  1. You dont' have to do either. Accept a const...

    You dont' have to do either. Accept a const reference to a vector of strings as an argument. Make the user create the vector. Better yet, just use a templated iterator to a string, let the user do...
  2. More stuff. This is my code for building an...

    More stuff. This is my code for building an openCL program:

    try{
    program.build(devices,compiledefs.c_str());
    }
    catch(const cl::Error& e)
    {
    throw std::runtime_error(std::string("Build...
  3. I have some big ones. The first is HUGE: Make...

    I have some big ones.

    The first is HUGE: Make cl::Error populate its what() string with the function call, the error code AND a string describing WHAT happened. When I catch an exception from...
Results 1 to 3 of 3