[Mesa-dev] [PATCH v3] clover: fix build failure since bfd695e

eocallaghan at alterapraxis.com eocallaghan at alterapraxis.com
Sat Feb 13 23:15:48 UTC 2016


Thanks kindly.

Reviewed-by: Edward O'Callaghan <eocallaghan at alterapraxis.com>

On 2016-02-14 09:39, Serge Martin wrote:
> ---
>  src/gallium/state_trackers/clover/core/kernel.cpp | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/src/gallium/state_trackers/clover/core/kernel.cpp
> b/src/gallium/state_trackers/clover/core/kernel.cpp
> index 41b3852..8396be9 100644
> --- a/src/gallium/state_trackers/clover/core/kernel.cpp
> +++ b/src/gallium/state_trackers/clover/core/kernel.cpp
> @@ -76,9 +76,9 @@ kernel::launch(command_queue &q,
>                                exec.g_buffers.data(), 
> g_handles.data());
> 
>     // Fill information for the launch_grid() call.
> -   info.block = pad_vector(q, block_size, 1).data(),
> -   info.grid = pad_vector(q, reduced_grid_size, 1).data(),
> -   info.pc = find(name_equals(_name), m.sysm).offset;
> +   copy(pad_vector(q, block_size, 1), info.block);
> +   copy(pad_vector(q, reduced_grid_size, 1), info.grid);
> +   info.pc = find(name_equals(_name), m.syms).offset;
>     info.input = exec.input.data();
> 
>     q.pipe->launch_grid(q.pipe, &info);



More information about the mesa-dev mailing list