clover: fix build failure since bfd695e
authorSerge Martin <edb+mesa@sigluy.net>
Sat, 13 Feb 2016 22:39:22 +0000 (23:39 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Sun, 14 Feb 2016 10:00:29 +0000 (11:00 +0100)
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
src/gallium/state_trackers/clover/core/kernel.cpp

index 41b38521474894b99ffee48c5cfb7eb4a8d7b218..8396be915536111ebaeccc7e9aee0959ce4e8833 100644 (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);