xref: /OK3568_Linux_fs/buildroot/package/clpeak/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyunconfig BR2_PACKAGE_CLPEAK
2*4882a593Smuzhiyun	bool "clpeak"
3*4882a593Smuzhiyun	depends on BR2_PACKAGE_HAS_LIBOPENCL
4*4882a593Smuzhiyun	depends on BR2_INSTALL_LIBSTDCPP
5*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
6*4882a593Smuzhiyun	select BR2_PACKAGE_OPENCL_CLHPP
7*4882a593Smuzhiyun	help
8*4882a593Smuzhiyun	  clpeak is a tool that profiles OpenCL devices
9*4882a593Smuzhiyun	  to find their peak capacities
10*4882a593Smuzhiyun
11*4882a593Smuzhiyun	  https://github.com/krrishnarraj/clpeak
12*4882a593Smuzhiyun
13*4882a593Smuzhiyuncomment "clpeak needs an OpenCL provider, a toolchain w/ C++, gcc >= 4.8"
14*4882a593Smuzhiyun	depends on !BR2_PACKAGE_HAS_LIBOPENCL \
15*4882a593Smuzhiyun		|| !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
16