|
@@ -0,0 +1,15 @@
|
|
|
+config BR2_PACKAGE_CLPEAK
|
|
|
+ bool "clpeak"
|
|
|
+ depends on BR2_PACKAGE_HAS_LIBOPENCL
|
|
|
+ depends on BR2_INSTALL_LIBSTDCPP
|
|
|
+ depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
|
|
|
+ select BR2_PACKAGE_OPENCL_CLHPP
|
|
|
+ help
|
|
|
+ clpeak is a tool that profiles OpenCL devices
|
|
|
+ to find their peak capacities
|
|
|
+
|
|
|
+ https://github.com/krrishnarraj/clpeak
|
|
|
+
|
|
|
+comment "clpeak needs an OpenCL provider, a toolchain w/ C++, gcc >= 4.8"
|
|
|
+ depends on !BR2_PACKAGE_HAS_LIBOPENCL \
|
|
|
+ || !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
|