diff options
author | Francisco Jerez <[email protected]> | 2012-05-12 19:33:33 +0200 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2012-05-12 19:43:06 +0200 |
commit | b70736fa82c29e83a5ad222f58cfe8aa3b910c88 (patch) | |
tree | 0318fcc60155f765edee21af523f497ab5cd3164 /src/gallium/state_trackers | |
parent | fcab4d4a34a28ec153612e41d5850884c5ccbfb9 (diff) |
clover: Fix build on i386.
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r-- | src/gallium/state_trackers/clover/core/device.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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<size_t> _cl_device_id::max_block_size() const { - return get_compute_param<uint64_t>(pipe, PIPE_COMPUTE_CAP_MAX_BLOCK_SIZE); + auto v = get_compute_param<uint64_t>(pipe, PIPE_COMPUTE_CAP_MAX_BLOCK_SIZE); + return { v.begin(), v.end() }; } std::string |