|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r59091 - in sandbox/numeric_bindings/libs/numeric/bindings/tools: . templates/level1
From: rutger_at_[hidden]
Date: 2010-01-17 08:08:39
Author: rutger
Date: 2010-01-17 08:08:38 EST (Sun, 17 Jan 2010)
New Revision: 59091
URL: http://svn.boost.org/trac/boost/changeset/59091
Log:
generator updates / fixes missing iamax type and level2 function
Text files modified:
sandbox/numeric_bindings/libs/numeric/bindings/tools/blas_generator.py | 4 ++--
sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/level1/iamax.hpp | 4 ++++
2 files changed, 6 insertions(+), 2 deletions(-)
Modified: sandbox/numeric_bindings/libs/numeric/bindings/tools/blas_generator.py
==============================================================================
--- sandbox/numeric_bindings/libs/numeric/bindings/tools/blas_generator.py (original)
+++ sandbox/numeric_bindings/libs/numeric/bindings/tools/blas_generator.py 2010-01-17 08:08:38 EST (Sun, 17 Jan 2010)
@@ -163,12 +163,12 @@
# first, see what kind of functions we have
# needed for argument check etc.
for subroutine in subroutines:
- if subroutine[0] == 'S' or subroutine[0] == 'D':
+ if info_map[ subroutine ][ 'value_type' ] == 'real':
if not cases.has_key( 'real' ):
cases[ 'real' ] = {}
cases[ 'real' ][ 'subroutines' ] = []
cases[ 'real' ][ 'subroutines' ] += [ subroutine ]
- if subroutine[0] == 'C' or subroutine[0] == 'Z':
+ if info_map[ subroutine ][ 'value_type' ][ :7 ] == 'complex':
if not cases.has_key( 'complex' ):
cases[ 'complex' ] = {}
cases[ 'complex' ][ 'subroutines' ] = []
Modified: sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/level1/iamax.hpp
==============================================================================
--- sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/level1/iamax.hpp (original)
+++ sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/level1/iamax.hpp 2010-01-17 08:08:38 EST (Sun, 17 Jan 2010)
@@ -4,4 +4,8 @@
N (input) INTEGER
INCX (input) INTEGER
X (input) DATATYPE
+$TEMPLATE[iamax.all.INCX.trait]
+stride,X
+$TEMPLATE[iamax.all.N.trait]
+size,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