@@ -321,7 +321,7 @@ struct left_shift_operator<T NBL_PARTIAL_REQ_BOT(!concepts::IntVector<T> && conc
321321 {
322322 array_get<T, scalar_t> getter;
323323 array_set<T, scalar_t> setter;
324- NBL_CONSTEXPR_STATIC uint16_t extent = uint16_t (extent_v<T>);
324+ NBL_CONSTEXPR_FUNC_SCOPE_VAR uint16_t extent = uint16_t (extent_v<T>);
325325 left_shift_operator<scalar_t> leftShift;
326326 T shifted;
327327 [[unroll]]
@@ -336,7 +336,7 @@ struct left_shift_operator<T NBL_PARTIAL_REQ_BOT(!concepts::IntVector<T> && conc
336336 {
337337 array_get<T, scalar_t> getter;
338338 array_set<T, scalar_t> setter;
339- NBL_CONSTEXPR_STATIC uint16_t extent = uint16_t (extent_v<T>);
339+ NBL_CONSTEXPR_FUNC_SCOPE_VAR uint16_t extent = uint16_t (extent_v<T>);
340340 left_shift_operator<scalar_t> leftShift;
341341 T shifted;
342342 [[unroll]]
@@ -351,7 +351,7 @@ struct left_shift_operator<T NBL_PARTIAL_REQ_BOT(!concepts::IntVector<T> && conc
351351 {
352352 array_get<T, scalar_t> getter;
353353 array_set<T, scalar_t> setter;
354- NBL_CONSTEXPR_STATIC uint16_t extent = uint16_t (extent_v<T>);
354+ NBL_CONSTEXPR_FUNC_SCOPE_VAR uint16_t extent = uint16_t (extent_v<T>);
355355 left_shift_operator<scalar_t> leftShift;
356356 T shifted;
357357 [[unroll]]
@@ -366,7 +366,7 @@ struct left_shift_operator<T NBL_PARTIAL_REQ_BOT(!concepts::IntVector<T> && conc
366366 {
367367 array_get<T, scalar_t> getter;
368368 array_set<T, scalar_t> setter;
369- NBL_CONSTEXPR_STATIC uint16_t extent = uint16_t (extent_v<T>);
369+ NBL_CONSTEXPR_FUNC_SCOPE_VAR uint16_t extent = uint16_t (extent_v<T>);
370370 left_shift_operator<scalar_t> leftShift;
371371 T shifted;
372372 [[unroll]]
@@ -416,7 +416,7 @@ struct arithmetic_right_shift_operator<T NBL_PARTIAL_REQ_BOT(!concepts::IntVecto
416416 {
417417 array_get<T, scalar_t> getter;
418418 array_set<T, scalar_t> setter;
419- NBL_CONSTEXPR_STATIC uint16_t extent = uint16_t (extent_v<T>);
419+ NBL_CONSTEXPR_FUNC_SCOPE_VAR uint16_t extent = uint16_t (extent_v<T>);
420420 arithmetic_right_shift_operator<scalar_t> rightShift;
421421 T shifted;
422422 [[unroll]]
@@ -431,7 +431,7 @@ struct arithmetic_right_shift_operator<T NBL_PARTIAL_REQ_BOT(!concepts::IntVecto
431431 {
432432 array_get<T, scalar_t> getter;
433433 array_set<T, scalar_t> setter;
434- NBL_CONSTEXPR_STATIC uint16_t extent = uint16_t (extent_v<T>);
434+ NBL_CONSTEXPR_FUNC_SCOPE_VAR uint16_t extent = uint16_t (extent_v<T>);
435435 arithmetic_right_shift_operator<scalar_t> rightShift;
436436 T shifted;
437437 [[unroll]]
@@ -446,7 +446,7 @@ struct arithmetic_right_shift_operator<T NBL_PARTIAL_REQ_BOT(!concepts::IntVecto
446446 {
447447 array_get<T, scalar_t> getter;
448448 array_set<T, scalar_t> setter;
449- NBL_CONSTEXPR_STATIC uint16_t extent = uint16_t (extent_v<T>);
449+ NBL_CONSTEXPR_FUNC_SCOPE_VAR uint16_t extent = uint16_t (extent_v<T>);
450450 arithmetic_right_shift_operator<scalar_t> rightShift;
451451 T shifted;
452452 [[unroll]]
@@ -461,7 +461,7 @@ struct arithmetic_right_shift_operator<T NBL_PARTIAL_REQ_BOT(!concepts::IntVecto
461461 {
462462 array_get<T, scalar_t> getter;
463463 array_set<T, scalar_t> setter;
464- NBL_CONSTEXPR_STATIC uint16_t extent = uint16_t (extent_v<T>);
464+ NBL_CONSTEXPR_FUNC_SCOPE_VAR uint16_t extent = uint16_t (extent_v<T>);
465465 arithmetic_right_shift_operator<scalar_t> rightShift;
466466 T shifted;
467467 [[unroll]]
0 commit comments