Added 'restrict' to l1v/l1f code in 'kernels' dir.

Details:
- Added 'restrict' keyword to existing kernel definitions in 'kernels'
  directory. These changes were meant for inclusion in bbb8569.
This commit is contained in:
Field G. Van Zee
2016-04-27 14:57:40 -05:00
parent bbb8569b2a
commit ed7326c836
11 changed files with 87 additions and 88 deletions

View File

@@ -36,12 +36,12 @@
void bli_daxpyv_opt_var1
(
conj_t conjx,
dim_t n,
double* alpha,
double* x, inc_t incx,
double* y, inc_t incy,
cntx_t* cntx
conj_t conjx,
dim_t n,
double* restrict alpha,
double* restrict x, inc_t incx,
double* restrict y, inc_t incy,
cntx_t* cntx
)
{
if ( bli_zero_dim1( n ) ) return;

View File

@@ -36,13 +36,13 @@
void bli_ddotv_opt_var1
(
conj_t conjx,
conj_t conjy,
dim_t n,
double* x, inc_t incx,
double* y, inc_t incy,
double* rho,
cntx_t* cntx
conj_t conjx,
conj_t conjy,
dim_t n,
double* restrict x, inc_t incx,
double* restrict y, inc_t incy,
double* restrict rho,
cntx_t* cntx
)
{
bool_t use_ref = FALSE;