bug-gsl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gsl] [bug #29834] insufficient argument checking in blas wrapper


From: Brian Gough
Subject: [Bug-gsl] [bug #29834] insufficient argument checking in blas wrapper
Date: Sun, 09 May 2010 10:21:47 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.0.11) Gecko/2009061118 Fedora/3.0.11-1.fc9 Firefox/3.0.11

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 <address@hidden>
To: address@hidden
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
address@hidden
(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/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]