git: acfc52ae2cea - main - math/vdt: New port: Fast and inline implementations of mathematical functions
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 26 Dec 2022 08:17:36 UTC
The branch main has been updated by eduardo:
URL: https://cgit.FreeBSD.org/ports/commit/?id=acfc52ae2cea4108d8b45034ae0146e8d4a03f0f
commit acfc52ae2cea4108d8b45034ae0146e8d4a03f0f
Author: Erik Jensen <erik@tenku.dk>
AuthorDate: 2022-12-26 08:13:22 +0000
Commit: Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2022-12-26 08:16:37 +0000
math/vdt: New port: Fast and inline implementations of mathematical functions
vectorised math:
- A collection of fast and inline implementations of mathematical functions.
- The functions can be used in autovectorised loops.
- Double and single precision implementations are available.
- No overhead present, no intrinsics used.
- A scalar (T(T)) and array signature (void(const unsigned int,T*,T*))
are provided.
Born and developed at CERN, it is used, among the others, by LHC
experiments and the Geant4 simulation toolkit.
Much of the VDT code is inspired by the well known Cephes mathematical
library.
WWW: https://github.com/dpiparo/vdt
PR: 267717, 268292
---
math/Makefile | 1 +
math/vdt/Makefile | 19 +++++++++++++++++++
math/vdt/distinfo | 3 +++
math/vdt/pkg-descr | 13 +++++++++++++
math/vdt/pkg-plist | 16 ++++++++++++++++
5 files changed, 52 insertions(+)
diff --git a/math/Makefile b/math/Makefile
index c6374d77dabb..4c59c69777fc 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -1167,6 +1167,7 @@
SUBDIR += universal
SUBDIR += unuran
SUBDIR += vampire
+ SUBDIR += vdt
SUBDIR += verdict
SUBDIR += viennacl
SUBDIR += vinci
diff --git a/math/vdt/Makefile b/math/vdt/Makefile
new file mode 100644
index 000000000000..91a154e5d92b
--- /dev/null
+++ b/math/vdt/Makefile
@@ -0,0 +1,19 @@
+PORTNAME= vdt
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.4.4
+CATEGORIES= math devel science
+
+MAINTAINER= erik@tenku.dk
+COMMENT= Fast and inline implementations of mathematical functions
+WWW= https://github.com/dpiparo/vdt
+
+LICENSE= LGPL3+
+LICENSE_FILE= ${WRKSRC}/Licence.txt
+
+USES= cmake
+USE_GITHUB= yes
+GH_ACCOUNT= dpiparo
+
+CMAKE_OFF= SSE
+
+.include <bsd.port.mk>
diff --git a/math/vdt/distinfo b/math/vdt/distinfo
new file mode 100644
index 000000000000..67c3424ab6ac
--- /dev/null
+++ b/math/vdt/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1671959994
+SHA256 (dpiparo-vdt-v0.4.4_GH0.tar.gz) = 8b1664b45ec82042152f89d171dd962aea9bb35ac53c8eebb35df1cb9c34e498
+SIZE (dpiparo-vdt-v0.4.4_GH0.tar.gz) = 59957
diff --git a/math/vdt/pkg-descr b/math/vdt/pkg-descr
new file mode 100644
index 000000000000..81f0b8df9986
--- /dev/null
+++ b/math/vdt/pkg-descr
@@ -0,0 +1,13 @@
+vectorised math:
+ - A collection of fast and inline implementations of mathematical functions.
+ - The functions can be used in autovectorised loops.
+ - Double and single precision implementations are available.
+ - No overhead present, no intrinsics used.
+ - A scalar (T(T)) and array signature (void(const unsigned int,T*,T*))
+ are provided.
+
+Born and developed at CERN, it is used, among the others, by LHC
+experiments and the Geant4 simulation toolkit.
+
+Much of the VDT code is inspired by the well known Cephes mathematical
+library.
diff --git a/math/vdt/pkg-plist b/math/vdt/pkg-plist
new file mode 100644
index 000000000000..dec5a69b02ec
--- /dev/null
+++ b/math/vdt/pkg-plist
@@ -0,0 +1,16 @@
+include/vdt/asin.h
+include/vdt/atan.h
+include/vdt/tanh.h
+include/vdt/atan2.h
+include/vdt/cos.h
+include/vdt/exp.h
+include/vdt/identity.h
+include/vdt/inv.h
+include/vdt/log.h
+include/vdt/sincos.h
+include/vdt/sin.h
+include/vdt/sqrt.h
+include/vdt/tan.h
+include/vdt/vdtcore_common.h
+include/vdt/vdtMath.h
+lib/libvdt.so