From 2904664177eb992665bf081fbb382be8e121d067 Mon Sep 17 00:00:00 2001 From: Jakub Szuppe Date: Fri, 15 Feb 2019 22:22:49 +0100 Subject: [PATCH] Fix type for CL_DEVICE_GLOBAL_MEM_CACHELINE_SIZE Fixes #825 --- include/boost/compute/device.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/compute/device.hpp b/include/boost/compute/device.hpp index 80eff287b..c9282c5f3 100644 --- a/include/boost/compute/device.hpp +++ b/include/boost/compute/device.hpp @@ -554,7 +554,7 @@ BOOST_COMPUTE_DETAIL_DEFINE_GET_INFO_SPECIALIZATIONS(device, ((std::string, CL_DEVICE_EXTENSIONS)) ((cl_ulong, CL_DEVICE_GLOBAL_MEM_CACHE_SIZE)) ((cl_device_mem_cache_type, CL_DEVICE_GLOBAL_MEM_CACHE_TYPE)) - ((cl_ulong, CL_DEVICE_GLOBAL_MEM_CACHELINE_SIZE)) + ((cl_uint, CL_DEVICE_GLOBAL_MEM_CACHELINE_SIZE)) ((cl_ulong, CL_DEVICE_GLOBAL_MEM_SIZE)) ((bool, CL_DEVICE_IMAGE_SUPPORT)) ((size_t, CL_DEVICE_IMAGE2D_MAX_HEIGHT))