mirror of
https://github.com/amd/blis.git
synced 2026-05-11 01:30:00 +00:00
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:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user