Skip to content

Commit 36c8913

Browse files
authored
Merge pull request #826 from jszuppe/fix-cacheline-rettype
Fix type for CL_DEVICE_GLOBAL_MEM_CACHELINE_SIZE
2 parents 0035290 + 2904664 commit 36c8913

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/boost/compute/device.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ BOOST_COMPUTE_DETAIL_DEFINE_GET_INFO_SPECIALIZATIONS(device,
554554
((std::string, CL_DEVICE_EXTENSIONS))
555555
((cl_ulong, CL_DEVICE_GLOBAL_MEM_CACHE_SIZE))
556556
((cl_device_mem_cache_type, CL_DEVICE_GLOBAL_MEM_CACHE_TYPE))
557-
((cl_ulong, CL_DEVICE_GLOBAL_MEM_CACHELINE_SIZE))
557+
((cl_uint, CL_DEVICE_GLOBAL_MEM_CACHELINE_SIZE))
558558
((cl_ulong, CL_DEVICE_GLOBAL_MEM_SIZE))
559559
((bool, CL_DEVICE_IMAGE_SUPPORT))
560560
((size_t, CL_DEVICE_IMAGE2D_MAX_HEIGHT))

0 commit comments

Comments
 (0)