URL:
<http://savannah.gnu.org/bugs/?29834>
Summary: insufficient argument checking in blas wrapper
Project: GNU Scientific Library
Submitted by: bjg
Submitted on: Sun 09 May 2010 11:21:46 AM BST
Category: Runtime error
Severity: 3 - Normal
Operating System:
Status: Confirmed
Assigned to: None
Open/Closed: Open
Release:
Discussion Lock: Any
_______________________________________________________
Details:
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 <[email protected]>
To: [email protected]
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 protected]
(o<
/ / \
V_/_
Use Debian GNU/Linux and enjoy!
*****************************************
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Sun 09 May 2010 11:21:46 AM BST Name: error_cblas_v2.h Size: 11kB
By: bjg
example macros
<http://savannah.gnu.org/bugs/download.php?file_id=20490>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?29834>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-gsl mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gsl