[Top][All Lists]

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

Re: [Help-gsl] About invalid parameters in cblas implementation

From: Brian Gough
Subject: Re: [Help-gsl] About invalid parameters in cblas implementation
Date: Thu, 09 Jul 2009 21:50:59 +0100
User-agent: Wanderlust/2.14.0 (Africa) Emacs/22.2 Mule/5.0 (SAKAKI)

At Tue, 7 Jul 2009 11:35:53 +0200,
José Luis García Pallero wrote:
> I propose to make the checks with macros. In this way, we can use the same
> macro for checking the arguments in the cblas_* function and in the
> gsl_cblas_* wrapper. The arguments of the macro must be the arguments of the
> function tocheck and an extra variable for store the result of the testing.
> For example, for the functions *gemv (s, d, c and z versions performs the
> same checks), the macro can be like:

Sounds reasonable, you could make it more compact by defining macros
for each case (stride, dimensions, etc) since they are common to all
functions and combining them in a macro for each function type.

Brian Gough
(GSL Maintainer)

Support freedom by joining the FSF

reply via email to

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