Port details |
- fxdiv C/C++ header-only library for division via FP inverse multiplication
- g20181121 devel =2 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
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- 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:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
07 Sep 2022 21:58:51 |
Stefan Eßer (se) |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
g20181121 07 Sep 2022 21:10:59 |
Stefan Eßer (se) |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
g20181121 07 Apr 2021 08:09:01 |
Mathieu Arnold (mat) |
One more small cleanup, forgotten yesterday.
Reported by: lwhsu |
g20181121 06 Apr 2021 14:31:07 |
Mathieu Arnold (mat) |
Remove # $FreeBSD$ from Makefiles. |
g20181121 17 Aug 2019 19:13:04 |
yuri |
New port: devel/fxdiv: C/C++ header-only library for division via FP inverse
multiplication |