Skip to content

Commit a754fcb

Browse files
committed
kernel::get_work_group_info() should be const
1 parent 415e7a0 commit a754fcb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/boost/compute/kernel.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ class kernel
197197
///
198198
/// \see_opencl_ref{clGetKernelWorkGroupInfo}
199199
template<class T>
200-
T get_work_group_info(const device &device, cl_kernel_work_group_info info)
200+
T get_work_group_info(const device &device, cl_kernel_work_group_info info) const
201201
{
202202
return detail::get_object_info<T>(clGetKernelWorkGroupInfo, m_kernel, info, device.id());
203203
}

0 commit comments

Comments
 (0)