@@ -261,7 +261,7 @@ cdef extern from "blis.h" nogil:
261
261
float * sumsq,
262
262
blis_cntx_t* cntx,
263
263
blis_rntm_t* rntm,
264
- ) nogil
264
+ ) noexcept nogil
265
265
266
266
void bli_dsumsqv_ex(
267
267
dim_t m,
@@ -270,7 +270,7 @@ cdef extern from "blis.h" nogil:
270
270
double * sumsq,
271
271
blis_cntx_t* cntx,
272
272
blis_rntm_t* rntm,
273
- ) nogil
273
+ ) noexcept nogil
274
274
275
275
276
276
@@ -312,7 +312,7 @@ cdef void gemm(
312
312
reals_ft b, inc_t rsb, inc_t csb,
313
313
double beta,
314
314
reals_ft c, inc_t rsc, inc_t csc
315
- ) nogil:
315
+ ) noexcept nogil:
316
316
cdef float alpha_f = alpha
317
317
cdef float beta_f = beta
318
318
cdef double alpha_d = alpha
@@ -353,7 +353,7 @@ cdef void ger(
353
353
reals_ft x, inc_t incx,
354
354
reals_ft y, inc_t incy,
355
355
reals_ft a, inc_t rsa, inc_t csa
356
- ) nogil:
356
+ ) noexcept nogil:
357
357
cdef float alpha_f = alpha
358
358
cdef double alpha_d = alpha
359
359
if reals_ft is floats_t:
@@ -395,7 +395,7 @@ cdef void gemv(
395
395
reals_ft x, inc_t incx,
396
396
real_ft beta,
397
397
reals_ft y, inc_t incy
398
- ) nogil:
398
+ ) noexcept nogil:
399
399
cdef float alpha_f = alpha
400
400
cdef double alpha_d = alpha
401
401
cdef float beta_f = alpha
@@ -439,7 +439,7 @@ cdef void axpyv(
439
439
real_ft alpha,
440
440
reals_ft x, inc_t incx,
441
441
reals_ft y, inc_t incy
442
- ) nogil:
442
+ ) noexcept nogil:
443
443
cdef float alpha_f = alpha
444
444
cdef double alpha_d = alpha
445
445
if reals_ft is floats_t:
@@ -460,7 +460,7 @@ cdef void scalv(
460
460
dim_t m,
461
461
real_ft alpha,
462
462
reals_ft x, inc_t incx
463
- ) nogil:
463
+ ) noexcept nogil:
464
464
cdef float alpha_f = alpha
465
465
cdef double alpha_d = alpha
466
466
if reals_ft is floats_t:
@@ -479,7 +479,7 @@ cdef void scalv(
479
479
cdef double norm_L1(
480
480
dim_t n,
481
481
reals_ft x, inc_t incx
482
- ) nogil:
482
+ ) noexcept nogil:
483
483
cdef double dnorm = 0
484
484
cdef float snorm = 0
485
485
if reals_ft is floats_t:
@@ -501,7 +501,7 @@ cdef double norm_L1(
501
501
cdef double norm_L2(
502
502
dim_t n,
503
503
reals_ft x, inc_t incx
504
- ) nogil:
504
+ ) noexcept nogil:
505
505
cdef double dnorm = 0
506
506
cdef float snorm = 0
507
507
if reals_ft is floats_t:
@@ -523,7 +523,7 @@ cdef double norm_L2(
523
523
cdef double norm_inf(
524
524
dim_t n,
525
525
reals_ft x, inc_t incx
526
- ) nogil:
526
+ ) noexcept nogil:
527
527
cdef double dnorm = 0
528
528
cdef float snorm = 0
529
529
if reals_ft is floats_t:
@@ -550,7 +550,7 @@ cdef double dotv(
550
550
reals_ft y,
551
551
inc_t incx,
552
552
inc_t incy,
553
- ) nogil:
553
+ ) noexcept nogil:
554
554
cdef double rho_d = 0.0
555
555
cdef float rho_f = 0.0
556
556
if reals_ft is floats_t:
@@ -571,7 +571,7 @@ cdef double dotv(
571
571
raise ValueError (" Unhandled fused type" )
572
572
573
573
574
- cdef void randv(dim_t m, reals_ft x, inc_t incx) nogil:
574
+ cdef void randv(dim_t m, reals_ft x, inc_t incx) noexcept nogil:
575
575
if reals_ft is floats_t:
576
576
bli_srandv_ex(m, x, incx, NULL , & rntm)
577
577
elif reals_ft is float1d_t:
@@ -586,7 +586,7 @@ cdef void randv(dim_t m, reals_ft x, inc_t incx) nogil:
586
586
587
587
588
588
cdef void sumsqv(dim_t m, reals_ft x, inc_t incx,
589
- reals_ft scale, reals_ft sumsq) nogil:
589
+ reals_ft scale, reals_ft sumsq) noexcept nogil:
590
590
if reals_ft is floats_t:
591
591
bli_ssumsqv_ex(m, & x[0 ], incx, scale, sumsq, NULL , & rntm)
592
592
elif reals_ft is float1d_t:
@@ -602,7 +602,7 @@ cdef void sumsqv(dim_t m, reals_ft x, inc_t incx,
602
602
603
603
cdef void dgemm(bint transA, bint transB, int M, int N, int K,
604
604
double alpha, const double * A, int lda, const double * B,
605
- int ldb, double beta, double * C, int ldc) nogil:
605
+ int ldb, double beta, double * C, int ldc) noexcept nogil:
606
606
gemm(
607
607
TRANSPOSE if transA else NO_TRANSPOSE,
608
608
TRANSPOSE if transB else NO_TRANSPOSE,
@@ -615,7 +615,7 @@ cdef void dgemm(bint transA, bint transB, int M, int N, int K,
615
615
616
616
cdef void sgemm(bint transA, bint transB, int M, int N, int K,
617
617
float alpha, const float * A, int lda, const float * B,
618
- int ldb, float beta, float * C, int ldc) nogil:
618
+ int ldb, float beta, float * C, int ldc) noexcept nogil:
619
619
gemm(
620
620
TRANSPOSE if transA else NO_TRANSPOSE,
621
621
TRANSPOSE if transB else NO_TRANSPOSE,
@@ -627,12 +627,12 @@ cdef void sgemm(bint transA, bint transB, int M, int N, int K,
627
627
628
628
629
629
cdef void saxpy(int N, float alpha, const float * X, int incX,
630
- float * Y, int incY) nogil:
630
+ float * Y, int incY) noexcept nogil:
631
631
axpyv(NO_CONJUGATE, N, alpha, X, incX, Y, incY)
632
632
633
633
634
634
cdef void daxpy(int N, double alpha, const double * X, int incX,
635
- double * Y, int incY) nogil:
635
+ double * Y, int incY) noexcept nogil:
636
636
axpyv(NO_CONJUGATE, N, alpha, X, incX, Y, incY)
637
637
638
638
0 commit comments