bugGNU Scientific Library - Bugs: bug #29834, insufficient argument checking in...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #29834: insufficient argument checking in blas wrapper

Submitter:  -Deleted Account- <bjg>
Submitted:  Sun 09 May 2010 10:21:46 AM UTC
   
 
Category:  Runtime error Severity:  3 - Normal
Operating System:  Status:  Confirmed
Assigned to:  None Open/Closed:  Open
Release: 

Sun 09 May 2010 10:21:46 AM UTC, original submission:  

the blas wrapper does not do full checking of its arguments
furthermore, the checking could be shared with the cblas routines via macros, to ensure consistency.

From: José Luis García Pallero <jgpallero@gmail.com>
To: -email is unavailable-
Subject: Re: [Help-gsl] About invalid parameters in cblas implementation
Date: Fri, 24 Jul 2009 19:01:37 +0200

[1  <text/plain; ISO-8859-1 (quoted-printable)>]
Hi,
Attached I send the second version (partial, only for level 2 routines with
standard 4 prefixes (S, D, C, Z)). I have used submacros as we discussed in
recent mails. I think that we must pass to submacros the variable 'pos' for
"return" the result and the position 'posIfError' as the "returned" value if
an error occurs.
But we need some trick for check with macros the parameter 'lda', because
the check is different depending on 'order' parameter and involves other
arguments like 'M' and 'N'. Probably, this check must be done explicitly.

--
***************************************
José Luis García Pallero
-email is unavailable-
(o<
/ / \
V_/_
Use Debian GNU/Linux and enjoy!
***************************************

-Deleted Account- <bjg>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #20490:  error_cblas_v2.h added by bjg (11KiB - text/plain - example macros)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Follows 1 latest change.

Date Changed by Updated Field Previous Value => Replaced by
2010-05-09 bjg Attached File- Added error_cblas_v2.h, #20490

Back to the top

Powered by Savane 3.13-f8d8.
Corresponding source code