kumquat-buildroot/package/volk/Config.in
Gwenhael Goavec-Merou 5f54ccb46f package/volk: new package
VOLK is the Vector-Optimized Library of Kernels

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Reviewed-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2022-07-26 20:40:17 +02:00

34 lines
1.4 KiB
Plaintext

comment "volk needs a toolchain w/ C++, NPTL, wchar, dynamic library"
depends on BR2_USE_MMU
depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
!BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS
config BR2_PACKAGE_VOLK
bool "volk"
depends on BR2_INSTALL_LIBSTDCPP
depends on !BR2_STATIC_LIBS
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
depends on BR2_USE_MMU # use fork()
depends on BR2_USE_WCHAR # boost
depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-filesystem
select BR2_PACKAGE_BOOST
select BR2_PACKAGE_BOOST_FILESYSTEM
select BR2_PACKAGE_BOOST_SYSTEM
help
VOLK is the Vector-Optimized Library of Kernels. It is a
library that contains kernels of hand-written SIMD code
for different mathematical operations. Since each SIMD
architecture can be very different and no compiler has yet
come along to handle vectorization properly or highly
efficiently, VOLK approaches the problem differently.
For each architecture or platform that a developer wishes
to vectorize for, a new proto-kernel is added to VOLK. At
runtime, VOLK will select the correct proto-kernel. In this
way, the users of VOLK call a kernel for performing the
operation that is platform/architecture agnostic. This
allows us to write portable SIMD code.
https://www.libvolk.org/