From b70736fa82c29e83a5ad222f58cfe8aa3b910c88 Mon Sep 17 00:00:00 2001 From: Francisco Jerez Date: Sat, 12 May 2012 19:33:33 +0200 Subject: [PATCH] clover: Fix build on i386. --- src/gallium/state_trackers/clover/core/device.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gallium/state_trackers/clover/core/device.cpp b/src/gallium/state_trackers/clover/core/device.cpp index 59e43af075d..1f40010b019 100644 --- a/src/gallium/state_trackers/clover/core/device.cpp +++ b/src/gallium/state_trackers/clover/core/device.cpp @@ -146,7 +146,8 @@ _cl_device_id::max_threads_per_block() const { std::vector _cl_device_id::max_block_size() const { - return get_compute_param(pipe, PIPE_COMPUTE_CAP_MAX_BLOCK_SIZE); + auto v = get_compute_param(pipe, PIPE_COMPUTE_CAP_MAX_BLOCK_SIZE); + return { v.begin(), v.end() }; } std::string -- 2.30.2