Re: [Mesa-dev] [PATCH] clover: Add a stub implementation of clCreateImage() v3

2014-05-01 Thread Francisco Jerez
Tom Stellard writes: > Now that we are uisng the OpenCL 1.2 headers, applications expect all > the OpenCL 1.2 functions to be implemented. > > This fixes linking errors with the piglit CL tests. > > v2: > - Use c++ features > - Fix error code handling > > v3: > - Move into api/util.hpp >

[Mesa-dev] [PATCH] clover: Add a stub implementation of clCreateImage() v3

2014-05-01 Thread Tom Stellard
Now that we are uisng the OpenCL 1.2 headers, applications expect all the OpenCL 1.2 functions to be implemented. This fixes linking errors with the piglit CL tests. v2: - Use c++ features - Fix error code handling v3: - Move into api/util.hpp - Fix indentation --- src/gallium/state_tr

[Mesa-dev] [PATCH] clover: Add a stub implementation of clCreateImage() v2

2014-05-01 Thread Tom Stellard
Now that we are uisng the OpenCL 1.2 headers, applications expect all the OpenCL 1.2 functions to be implemented. This fixes linking errors with the piglit CL tests. v2: - Use c++ features - Fix error code handling --- src/gallium/state_trackers/clover/api/dispatch.cpp | 2 +- src/gallium/s

Re: [Mesa-dev] [PATCH] clover: Add a stub implementation of clCreateImage()

2014-05-01 Thread Francisco Jerez
Francisco Jerez writes: > Tom Stellard writes: > >> Now that we are uisng the OpenCL 1.2 headers, applications expect all >> the OpenCL 1.2 functions to be implemented. >> >> This fixes linking errors with the piglit CL tests. >> --- >> src/gallium/state_trackers/clover/api/dispatch.cpp | 2 +-

Re: [Mesa-dev] [PATCH] clover: Add a stub implementation of clCreateImage()

2014-05-01 Thread Francisco Jerez
Tom Stellard writes: > Now that we are uisng the OpenCL 1.2 headers, applications expect all > the OpenCL 1.2 functions to be implemented. > > This fixes linking errors with the piglit CL tests. > --- > src/gallium/state_trackers/clover/api/dispatch.cpp | 2 +- > src/gallium/state_trackers/clov

[Mesa-dev] [PATCH] clover: Add a stub implementation of clCreateImage()

2014-04-30 Thread Tom Stellard
Now that we are uisng the OpenCL 1.2 headers, applications expect all the OpenCL 1.2 functions to be implemented. This fixes linking errors with the piglit CL tests. --- src/gallium/state_trackers/clover/api/dispatch.cpp | 2 +- src/gallium/state_trackers/clover/api/dispatch.hpp | 8 +++- s