Port details on branch 2022Q3 |
- fxdiv C/C++ header-only library for division via FP inverse multiplication
- g20181121 devel =0 g20181121Version of this port present on the latest quarterly branch.
- Maintainer: yuri@FreeBSD.org
- Port Added: 2019-08-17 19:13:11
- Last Update: 2022-09-07 21:58:51
- Commit Hash: fb16dfe
- License: MIT
- WWW:
- https://github.com/Maratyszcza/FXdiv
- Description:
- Header-only library for division via fixed-point multiplication by inverse.
On modern CPUs and GPUs integer division is several times slower than
multiplication. FXdiv implements an algorithm to replace an integer division
with a multiplication and two shifts. This algorithm improves performance when
an application performs repeated divisions by the same divisor.
Features:
* Integer division for uint32_t, uint64_t, and size_t
* Header-only library, no installation or build required
* Compatible with C99, C++, OpenCL, and CUDA
* Uses platform-specific compiler intrinsics for optimal performance
* Covered with unit tests and microbenchmarks
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- To install the port:
- cd /usr/ports/devel/fxdiv/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/fxdiv
- pkg install fxdiv
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: fxdiv
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1566067960
SHA256 (Maratyszcza-FXdiv-g20181121-f8c5354_GH0.tar.gz) = 94258c95f737916127ab70df1aa79d39575ed48dc6d23155a89747122d5d7797
SIZE (Maratyszcza-FXdiv-g20181121-f8c5354_GH0.tar.gz) = 8792
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- cmake : devel/cmake-core
- ninja : devel/ninja
- This port is required by:
- for Build
-
- devel/pthreadpool
- misc/py-pytorch
- misc/pytorch
Configuration Options:
- No options to configure
- Options name:
- devel_fxdiv
- USES:
- cmake
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|