clover: fix build failure since bfd695e

Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
This commit is contained in:
Serge Martin 2016-02-13 23:39:22 +01:00 committed by Samuel Pitoiset
parent 565aa69970
commit a4cff1859e
1 changed files with 3 additions and 3 deletions

View File

@ -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);