Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r59119 - in sandbox/numeric_bindings/libs/numeric/bindings/tools/templates: . level1
From: rutger_at_[hidden]
Date: 2010-01-18 04:55:16


Author: rutger
Date: 2010-01-18 04:55:15 EST (Mon, 18 Jan 2010)
New Revision: 59119
URL: http://svn.boost.org/trac/boost/changeset/59119

Log:
added support for prec_dot

Added:
   sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/level1/prec_dot.hpp
      - copied, changed from r59110, /sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/level1/sdot.hpp
Removed:
   sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/level1/sdot.hpp
Text files modified:
   sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/blas_grouping.hpp | 2 ++
   sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/level1/prec_dot.hpp | 21 ++++++++++++++++++++-
   2 files changed, 22 insertions(+), 1 deletions(-)

Modified: sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/blas_grouping.hpp
==============================================================================
--- sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/blas_grouping.hpp (original)
+++ sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/blas_grouping.hpp 2010-01-18 04:55:15 EST (Mon, 18 Jan 2010)
@@ -62,4 +62,6 @@
 complex
 $TEMPLATE[blas.precision.IZAMAX]
 double
+$TEMPLATE[blas.group.DSDOT]
+PREC_DOT
 $TEMPLATE[end]

Copied: sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/level1/prec_dot.hpp (from r59110, /sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/level1/sdot.hpp)
==============================================================================
--- /sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/level1/sdot.hpp (original)
+++ sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/level1/prec_dot.hpp 2010-01-18 04:55:15 EST (Mon, 18 Jan 2010)
@@ -1,4 +1,23 @@
-$TEMPLATE[sdot.all.cblas_alias]
+$TEMPLATE[prec_dot.all.remove_argument_value_type_prepend]
+X,Y
+$TEMPLATE[prec_dot.all.arguments]
+ N (input) INTEGER
+ The length of array X
+ INCX (input) INTEGER
+ The increment of X
+ INCY (input) INTEGER
+ The increment of Y
+ X (input) DATATYPE array of length (N)
+ Y (input) DATATYPE array of length (N)
+$TEMPLATE[prec_dot.all.cblas_alias]
 SY,Y
 SX,X
+$TEMPLATE[prec_dot.all.N.trait]
+size,X
+$TEMPLATE[prec_dot.all.INCX.trait]
+stride,X
+$TEMPLATE[prec_dot.all.INCY.trait]
+stride,Y
+$TEMPLATE[prec_dot.all.level1_return_type]
+double
 $TEMPLATE[end]

Deleted: sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/level1/sdot.hpp
==============================================================================
--- sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/level1/sdot.hpp 2010-01-18 04:55:15 EST (Mon, 18 Jan 2010)
+++ (empty file)
@@ -1,4 +0,0 @@
-$TEMPLATE[sdot.all.cblas_alias]
-SY,Y
-SX,X
-$TEMPLATE[end]


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk