Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r56373 - in sandbox/numeric_bindings/libs/numeric/bindings/tools/templates: level1 level2
From: rutger_at_[hidden]
Date: 2009-09-24 16:23:52


Author: rutger
Date: 2009-09-24 16:23:50 EDT (Thu, 24 Sep 2009)
New Revision: 56373
URL: http://svn.boost.org/trac/boost/changeset/56373

Log:
added cblas/blas template tags

Added:
   sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/level1/sdot.hpp (contents, props changed)
   sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/level2/gbmv.hpp (contents, props changed)
Text files modified:
   sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/level1/axpy.hpp | 2 ++
   sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/level1/rotm.hpp | 2 ++
   sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/level1/rotmg.hpp | 5 +++++
   sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/level1/scal.hpp | 2 ++
   sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/level2/gemv.hpp | 2 ++
   sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/level2/hpr.hpp | 2 ++
   sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/level2/spr2.hpp | 2 ++
   sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/level2/tbmv.hpp | 2 ++
   sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/level2/tbsv.hpp | 2 ++
   sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/level2/tpmv.hpp | 2 ++
   sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/level2/tpsv.hpp | 2 ++
   sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/level2/trmv.hpp | 2 ++
   sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/level2/trsv.hpp | 2 ++
   13 files changed, 29 insertions(+), 0 deletions(-)

Modified: sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/level1/axpy.hpp
==============================================================================
--- sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/level1/axpy.hpp (original)
+++ sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/level1/axpy.hpp 2009-09-24 16:23:50 EDT (Thu, 24 Sep 2009)
@@ -10,4 +10,6 @@
  A (input) DATATYPE variable alpha
  X (input) DATATYPE array of length (N)
  Y (output) DATATYPE array of length (N)
+$TEMPLATE[axpy.all.cblas_alias]
+A,ALPHA
 $TEMPLATE[end]

Modified: sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/level1/rotm.hpp
==============================================================================
--- sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/level1/rotm.hpp (original)
+++ sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/level1/rotm.hpp 2009-09-24 16:23:50 EDT (Thu, 24 Sep 2009)
@@ -1,3 +1,5 @@
 $TEMPLATE[rotm.all.remove_argument_value_type_prepend]
 X,Y,PARAM
+$TEMPLATE[rotm.all.cblas_alias]
+PARAM,P
 $TEMPLATE[end]

Modified: sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/level1/rotmg.hpp
==============================================================================
--- sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/level1/rotmg.hpp (original)
+++ sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/level1/rotmg.hpp 2009-09-24 16:23:50 EDT (Thu, 24 Sep 2009)
@@ -1,3 +1,8 @@
 $TEMPLATE[rotmg.all.remove_argument_value_type_prepend]
 D1,D2,X1,Y1
+$TEMPLATE[rotmg.all.cblas_alias]
+SPARAM,P
+DPARAM,P
+X1,D1
+Y1,D2
 $TEMPLATE[end]

Modified: sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/level1/scal.hpp
==============================================================================
--- sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/level1/scal.hpp (original)
+++ sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/level1/scal.hpp 2009-09-24 16:23:50 EDT (Thu, 24 Sep 2009)
@@ -7,4 +7,6 @@
            The increment of X
  X (input) DATATYPE array of length (N)
  A (input) DATATYPE
+$TEMPLATE[scal.all.cblas_alias]
+A,ALPHA
 $TEMPLATE[end]

Added: sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/level1/sdot.hpp
==============================================================================
--- (empty file)
+++ sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/level1/sdot.hpp 2009-09-24 16:23:50 EDT (Thu, 24 Sep 2009)
@@ -0,0 +1,4 @@
+$TEMPLATE[sdot.all.cblas_alias]
+SY,Y
+SX,X
+$TEMPLATE[end]

Added: sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/level2/gbmv.hpp
==============================================================================
--- (empty file)
+++ sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/level2/gbmv.hpp 2009-09-24 16:23:50 EDT (Thu, 24 Sep 2009)
@@ -0,0 +1,3 @@
+$TEMPLATE[gbmv.all.cblas_alias]
+TRANS,TRANSA
+$TEMPLATE[end]

Modified: sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/level2/gemv.hpp
==============================================================================
--- sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/level2/gemv.hpp (original)
+++ sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/level2/gemv.hpp 2009-09-24 16:23:50 EDT (Thu, 24 Sep 2009)
@@ -1,3 +1,5 @@
 $TEMPLATE[gemv.all.include_templates]
 blas_transform
+$TEMPLATE[gemv.all.cblas_alias]
+TRANS,TRANSA
 $TEMPLATE[end]

Modified: sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/level2/hpr.hpp
==============================================================================
--- sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/level2/hpr.hpp (original)
+++ sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/level2/hpr.hpp 2009-09-24 16:23:50 EDT (Thu, 24 Sep 2009)
@@ -2,4 +2,6 @@
 AP
 $TEMPLATE[hpr.all.UPLO.trait_of]
 AP
+$TEMPLATE[hpr.all.cblas_alias]
+AP,A
 $TEMPLATE[end]

Modified: sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/level2/spr2.hpp
==============================================================================
--- sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/level2/spr2.hpp (original)
+++ sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/level2/spr2.hpp 2009-09-24 16:23:50 EDT (Thu, 24 Sep 2009)
@@ -2,4 +2,6 @@
 AP
 $TEMPLATE[spr2.all.UPLO.trait_of]
 AP
+$TEMPLATE[spr2.all.cblas_alias]
+AP,A
 $TEMPLATE[end]

Modified: sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/level2/tbmv.hpp
==============================================================================
--- sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/level2/tbmv.hpp (original)
+++ sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/level2/tbmv.hpp 2009-09-24 16:23:50 EDT (Thu, 24 Sep 2009)
@@ -1,3 +1,5 @@
 $TEMPLATE[tbmv.all.UPLO.trait_of]
 A
+$TEMPLATE[tbmv.all.cblas_alias]
+TRANS,TRANSA
 $TEMPLATE[end]

Modified: sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/level2/tbsv.hpp
==============================================================================
--- sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/level2/tbsv.hpp (original)
+++ sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/level2/tbsv.hpp 2009-09-24 16:23:50 EDT (Thu, 24 Sep 2009)
@@ -1,3 +1,5 @@
 $TEMPLATE[tbsv.all.UPLO.trait_of]
 A
+$TEMPLATE[tbsv.all.cblas_alias]
+TRANS,TRANSA
 $TEMPLATE[end]

Modified: sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/level2/tpmv.hpp
==============================================================================
--- sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/level2/tpmv.hpp (original)
+++ sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/level2/tpmv.hpp 2009-09-24 16:23:50 EDT (Thu, 24 Sep 2009)
@@ -2,4 +2,6 @@
 AP
 $TEMPLATE[tpmv.all.UPLO.trait_of]
 AP
+$TEMPLATE[tpmv.all.cblas_alias]
+TRANS,TRANSA
 $TEMPLATE[end]

Modified: sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/level2/tpsv.hpp
==============================================================================
--- sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/level2/tpsv.hpp (original)
+++ sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/level2/tpsv.hpp 2009-09-24 16:23:50 EDT (Thu, 24 Sep 2009)
@@ -2,4 +2,6 @@
 AP
 $TEMPLATE[tpsv.all.UPLO.trait_of]
 AP
+$TEMPLATE[tpsv.all.cblas_alias]
+TRANS,TRANSA
 $TEMPLATE[end]

Modified: sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/level2/trmv.hpp
==============================================================================
--- sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/level2/trmv.hpp (original)
+++ sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/level2/trmv.hpp 2009-09-24 16:23:50 EDT (Thu, 24 Sep 2009)
@@ -1,3 +1,5 @@
 $TEMPLATE[trmv.all.UPLO.trait_of]
 A
+$TEMPLATE[trmv.all.cblas_alias]
+TRANS,TRANSA
 $TEMPLATE[end]

Modified: sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/level2/trsv.hpp
==============================================================================
--- sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/level2/trsv.hpp (original)
+++ sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/level2/trsv.hpp 2009-09-24 16:23:50 EDT (Thu, 24 Sep 2009)
@@ -1,3 +1,5 @@
 $TEMPLATE[trsv.all.UPLO.trait_of]
 A
+$TEMPLATE[trsv.all.cblas_alias]
+TRANS,TRANSA
 $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