guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/01: gnu: Add Vc.


From: Leo Famulari
Subject: 01/01: gnu: Add Vc.
Date: Wed, 5 Oct 2016 16:49:52 +0000 (UTC)

lfam pushed a commit to branch master
in repository guix.

commit 517318adf04f645812d833f66f1505eebbed77e8
Author: Leo Famulari <address@hidden>
Date:   Fri Sep 30 13:38:20 2016 -0400

    gnu: Add Vc.
    
    * gnu/packages/maths.scm (vc): New variable.
---
 gnu/packages/maths.scm |   34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index a00b38a..6442564 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -2629,3 +2629,37 @@ the same amount of space as the original point 
representation.  This is useful
 when using the Gilbert curve as a space filling curve through a
 high-dimensional space where not all demensions have the same cardinality.")
     (license license:lgpl2.1+)))
+
+(define-public vc
+  (package
+    (name "vc")
+    (version "1.2.0")
+    (source
+      (origin (method url-fetch)
+              (uri (string-append "https://github.com/VcDevel/Vc/releases/";
+                                  "download/" version "/Vc-" version 
".tar.gz"))
+              (sha256
+               (base32
+                "1rh6dhqar3y07n4xqyml0sa0v48qv3ch9dc3yc2in855hlh4vnqi"))))
+    (build-system cmake-build-system)
+    (arguments
+     '(#:configure-flags
+       '("-DBUILD_TESTING=ON")))
+    (synopsis "SIMD vector classes for C++")
+    (description "Vc provides portable, zero-overhead C++ types for explicitly
+data-parallel programming.  It is a library designed to ease explicit
+vectorization of C++ code.  Its types enable explicitly stating data-parallel
+operations on multiple values.  The parallelism is therefore added via the type
+system.  Vc has an intuitive API and provides portability between different
+compilers and compiler versions as well as portability between different vector
+instruction sets.  Thus, an application written with Vc can be compiled for:
address@hidden
address@hidden AVX and AVX2
address@hidden SSE2 upto SSE4.2 or SSE4a
address@hidden Scalar
address@hidden MIC
address@hidden NEON (in development)
address@hidden NVIDIA GPUs / CUDA (in development)
address@hidden enumerate\n")
+    (home-page "https://github.com/VcDevel/Vc";)
+    (license license:bsd-3)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]