1 //------------------------------------------------------------------------------
2 // GB_red__include.h: definitions for GB_red__*.c
3 //------------------------------------------------------------------------------
4 
5 // SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2021, All Rights Reserved.
6 // SPDX-License-Identifier: Apache-2.0
7 
8 // This file has been automatically generated from Generator/GB_red.h
9 
10 // SPDX-License-Identifier: Apache-2.0
11 
12 
13 GrB_Info GB (_red_scalar__min_int8)
14 (
15     int8_t *result,
16     const GrB_Matrix A,
17     GB_void *restrict W_space,
18     bool *restrict F,
19     int ntasks,
20     int nthreads
21 ) ;
22 
23 
24 
25 GrB_Info GB (_red_build__min_int8)
26 (
27     int8_t *restrict Tx,
28     int64_t  *restrict Ti,
29     const int8_t *restrict S,
30     int64_t nvals,
31     int64_t ndupl,
32     const int64_t *restrict I_work,
33     const int64_t *restrict K_work,
34     const int64_t *restrict tstart_slice,
35     const int64_t *restrict tnz_slice,
36     int nthreads
37 ) ;
38 
39 // SPDX-License-Identifier: Apache-2.0
40 
41 
42 GrB_Info GB (_red_scalar__min_int16)
43 (
44     int16_t *result,
45     const GrB_Matrix A,
46     GB_void *restrict W_space,
47     bool *restrict F,
48     int ntasks,
49     int nthreads
50 ) ;
51 
52 
53 
54 GrB_Info GB (_red_build__min_int16)
55 (
56     int16_t *restrict Tx,
57     int64_t  *restrict Ti,
58     const int16_t *restrict S,
59     int64_t nvals,
60     int64_t ndupl,
61     const int64_t *restrict I_work,
62     const int64_t *restrict K_work,
63     const int64_t *restrict tstart_slice,
64     const int64_t *restrict tnz_slice,
65     int nthreads
66 ) ;
67 
68 // SPDX-License-Identifier: Apache-2.0
69 
70 
71 GrB_Info GB (_red_scalar__min_int32)
72 (
73     int32_t *result,
74     const GrB_Matrix A,
75     GB_void *restrict W_space,
76     bool *restrict F,
77     int ntasks,
78     int nthreads
79 ) ;
80 
81 
82 
83 GrB_Info GB (_red_build__min_int32)
84 (
85     int32_t *restrict Tx,
86     int64_t  *restrict Ti,
87     const int32_t *restrict S,
88     int64_t nvals,
89     int64_t ndupl,
90     const int64_t *restrict I_work,
91     const int64_t *restrict K_work,
92     const int64_t *restrict tstart_slice,
93     const int64_t *restrict tnz_slice,
94     int nthreads
95 ) ;
96 
97 // SPDX-License-Identifier: Apache-2.0
98 
99 
100 GrB_Info GB (_red_scalar__min_int64)
101 (
102     int64_t *result,
103     const GrB_Matrix A,
104     GB_void *restrict W_space,
105     bool *restrict F,
106     int ntasks,
107     int nthreads
108 ) ;
109 
110 
111 
112 GrB_Info GB (_red_build__min_int64)
113 (
114     int64_t *restrict Tx,
115     int64_t  *restrict Ti,
116     const int64_t *restrict S,
117     int64_t nvals,
118     int64_t ndupl,
119     const int64_t *restrict I_work,
120     const int64_t *restrict K_work,
121     const int64_t *restrict tstart_slice,
122     const int64_t *restrict tnz_slice,
123     int nthreads
124 ) ;
125 
126 // SPDX-License-Identifier: Apache-2.0
127 
128 
129 GrB_Info GB (_red_scalar__min_uint8)
130 (
131     uint8_t *result,
132     const GrB_Matrix A,
133     GB_void *restrict W_space,
134     bool *restrict F,
135     int ntasks,
136     int nthreads
137 ) ;
138 
139 
140 
141 GrB_Info GB (_red_build__min_uint8)
142 (
143     uint8_t *restrict Tx,
144     int64_t  *restrict Ti,
145     const uint8_t *restrict S,
146     int64_t nvals,
147     int64_t ndupl,
148     const int64_t *restrict I_work,
149     const int64_t *restrict K_work,
150     const int64_t *restrict tstart_slice,
151     const int64_t *restrict tnz_slice,
152     int nthreads
153 ) ;
154 
155 // SPDX-License-Identifier: Apache-2.0
156 
157 
158 GrB_Info GB (_red_scalar__min_uint16)
159 (
160     uint16_t *result,
161     const GrB_Matrix A,
162     GB_void *restrict W_space,
163     bool *restrict F,
164     int ntasks,
165     int nthreads
166 ) ;
167 
168 
169 
170 GrB_Info GB (_red_build__min_uint16)
171 (
172     uint16_t *restrict Tx,
173     int64_t  *restrict Ti,
174     const uint16_t *restrict S,
175     int64_t nvals,
176     int64_t ndupl,
177     const int64_t *restrict I_work,
178     const int64_t *restrict K_work,
179     const int64_t *restrict tstart_slice,
180     const int64_t *restrict tnz_slice,
181     int nthreads
182 ) ;
183 
184 // SPDX-License-Identifier: Apache-2.0
185 
186 
187 GrB_Info GB (_red_scalar__min_uint32)
188 (
189     uint32_t *result,
190     const GrB_Matrix A,
191     GB_void *restrict W_space,
192     bool *restrict F,
193     int ntasks,
194     int nthreads
195 ) ;
196 
197 
198 
199 GrB_Info GB (_red_build__min_uint32)
200 (
201     uint32_t *restrict Tx,
202     int64_t  *restrict Ti,
203     const uint32_t *restrict S,
204     int64_t nvals,
205     int64_t ndupl,
206     const int64_t *restrict I_work,
207     const int64_t *restrict K_work,
208     const int64_t *restrict tstart_slice,
209     const int64_t *restrict tnz_slice,
210     int nthreads
211 ) ;
212 
213 // SPDX-License-Identifier: Apache-2.0
214 
215 
216 GrB_Info GB (_red_scalar__min_uint64)
217 (
218     uint64_t *result,
219     const GrB_Matrix A,
220     GB_void *restrict W_space,
221     bool *restrict F,
222     int ntasks,
223     int nthreads
224 ) ;
225 
226 
227 
228 GrB_Info GB (_red_build__min_uint64)
229 (
230     uint64_t *restrict Tx,
231     int64_t  *restrict Ti,
232     const uint64_t *restrict S,
233     int64_t nvals,
234     int64_t ndupl,
235     const int64_t *restrict I_work,
236     const int64_t *restrict K_work,
237     const int64_t *restrict tstart_slice,
238     const int64_t *restrict tnz_slice,
239     int nthreads
240 ) ;
241 
242 // SPDX-License-Identifier: Apache-2.0
243 
244 
245 GrB_Info GB (_red_scalar__min_fp32)
246 (
247     float *result,
248     const GrB_Matrix A,
249     GB_void *restrict W_space,
250     bool *restrict F,
251     int ntasks,
252     int nthreads
253 ) ;
254 
255 
256 
257 GrB_Info GB (_red_build__min_fp32)
258 (
259     float *restrict Tx,
260     int64_t  *restrict Ti,
261     const float *restrict S,
262     int64_t nvals,
263     int64_t ndupl,
264     const int64_t *restrict I_work,
265     const int64_t *restrict K_work,
266     const int64_t *restrict tstart_slice,
267     const int64_t *restrict tnz_slice,
268     int nthreads
269 ) ;
270 
271 // SPDX-License-Identifier: Apache-2.0
272 
273 
274 GrB_Info GB (_red_scalar__min_fp64)
275 (
276     double *result,
277     const GrB_Matrix A,
278     GB_void *restrict W_space,
279     bool *restrict F,
280     int ntasks,
281     int nthreads
282 ) ;
283 
284 
285 
286 GrB_Info GB (_red_build__min_fp64)
287 (
288     double *restrict Tx,
289     int64_t  *restrict Ti,
290     const double *restrict S,
291     int64_t nvals,
292     int64_t ndupl,
293     const int64_t *restrict I_work,
294     const int64_t *restrict K_work,
295     const int64_t *restrict tstart_slice,
296     const int64_t *restrict tnz_slice,
297     int nthreads
298 ) ;
299 
300 // SPDX-License-Identifier: Apache-2.0
301 
302 
303 GrB_Info GB (_red_scalar__max_int8)
304 (
305     int8_t *result,
306     const GrB_Matrix A,
307     GB_void *restrict W_space,
308     bool *restrict F,
309     int ntasks,
310     int nthreads
311 ) ;
312 
313 
314 
315 GrB_Info GB (_red_build__max_int8)
316 (
317     int8_t *restrict Tx,
318     int64_t  *restrict Ti,
319     const int8_t *restrict S,
320     int64_t nvals,
321     int64_t ndupl,
322     const int64_t *restrict I_work,
323     const int64_t *restrict K_work,
324     const int64_t *restrict tstart_slice,
325     const int64_t *restrict tnz_slice,
326     int nthreads
327 ) ;
328 
329 // SPDX-License-Identifier: Apache-2.0
330 
331 
332 GrB_Info GB (_red_scalar__max_int16)
333 (
334     int16_t *result,
335     const GrB_Matrix A,
336     GB_void *restrict W_space,
337     bool *restrict F,
338     int ntasks,
339     int nthreads
340 ) ;
341 
342 
343 
344 GrB_Info GB (_red_build__max_int16)
345 (
346     int16_t *restrict Tx,
347     int64_t  *restrict Ti,
348     const int16_t *restrict S,
349     int64_t nvals,
350     int64_t ndupl,
351     const int64_t *restrict I_work,
352     const int64_t *restrict K_work,
353     const int64_t *restrict tstart_slice,
354     const int64_t *restrict tnz_slice,
355     int nthreads
356 ) ;
357 
358 // SPDX-License-Identifier: Apache-2.0
359 
360 
361 GrB_Info GB (_red_scalar__max_int32)
362 (
363     int32_t *result,
364     const GrB_Matrix A,
365     GB_void *restrict W_space,
366     bool *restrict F,
367     int ntasks,
368     int nthreads
369 ) ;
370 
371 
372 
373 GrB_Info GB (_red_build__max_int32)
374 (
375     int32_t *restrict Tx,
376     int64_t  *restrict Ti,
377     const int32_t *restrict S,
378     int64_t nvals,
379     int64_t ndupl,
380     const int64_t *restrict I_work,
381     const int64_t *restrict K_work,
382     const int64_t *restrict tstart_slice,
383     const int64_t *restrict tnz_slice,
384     int nthreads
385 ) ;
386 
387 // SPDX-License-Identifier: Apache-2.0
388 
389 
390 GrB_Info GB (_red_scalar__max_int64)
391 (
392     int64_t *result,
393     const GrB_Matrix A,
394     GB_void *restrict W_space,
395     bool *restrict F,
396     int ntasks,
397     int nthreads
398 ) ;
399 
400 
401 
402 GrB_Info GB (_red_build__max_int64)
403 (
404     int64_t *restrict Tx,
405     int64_t  *restrict Ti,
406     const int64_t *restrict S,
407     int64_t nvals,
408     int64_t ndupl,
409     const int64_t *restrict I_work,
410     const int64_t *restrict K_work,
411     const int64_t *restrict tstart_slice,
412     const int64_t *restrict tnz_slice,
413     int nthreads
414 ) ;
415 
416 // SPDX-License-Identifier: Apache-2.0
417 
418 
419 GrB_Info GB (_red_scalar__max_uint8)
420 (
421     uint8_t *result,
422     const GrB_Matrix A,
423     GB_void *restrict W_space,
424     bool *restrict F,
425     int ntasks,
426     int nthreads
427 ) ;
428 
429 
430 
431 GrB_Info GB (_red_build__max_uint8)
432 (
433     uint8_t *restrict Tx,
434     int64_t  *restrict Ti,
435     const uint8_t *restrict S,
436     int64_t nvals,
437     int64_t ndupl,
438     const int64_t *restrict I_work,
439     const int64_t *restrict K_work,
440     const int64_t *restrict tstart_slice,
441     const int64_t *restrict tnz_slice,
442     int nthreads
443 ) ;
444 
445 // SPDX-License-Identifier: Apache-2.0
446 
447 
448 GrB_Info GB (_red_scalar__max_uint16)
449 (
450     uint16_t *result,
451     const GrB_Matrix A,
452     GB_void *restrict W_space,
453     bool *restrict F,
454     int ntasks,
455     int nthreads
456 ) ;
457 
458 
459 
460 GrB_Info GB (_red_build__max_uint16)
461 (
462     uint16_t *restrict Tx,
463     int64_t  *restrict Ti,
464     const uint16_t *restrict S,
465     int64_t nvals,
466     int64_t ndupl,
467     const int64_t *restrict I_work,
468     const int64_t *restrict K_work,
469     const int64_t *restrict tstart_slice,
470     const int64_t *restrict tnz_slice,
471     int nthreads
472 ) ;
473 
474 // SPDX-License-Identifier: Apache-2.0
475 
476 
477 GrB_Info GB (_red_scalar__max_uint32)
478 (
479     uint32_t *result,
480     const GrB_Matrix A,
481     GB_void *restrict W_space,
482     bool *restrict F,
483     int ntasks,
484     int nthreads
485 ) ;
486 
487 
488 
489 GrB_Info GB (_red_build__max_uint32)
490 (
491     uint32_t *restrict Tx,
492     int64_t  *restrict Ti,
493     const uint32_t *restrict S,
494     int64_t nvals,
495     int64_t ndupl,
496     const int64_t *restrict I_work,
497     const int64_t *restrict K_work,
498     const int64_t *restrict tstart_slice,
499     const int64_t *restrict tnz_slice,
500     int nthreads
501 ) ;
502 
503 // SPDX-License-Identifier: Apache-2.0
504 
505 
506 GrB_Info GB (_red_scalar__max_uint64)
507 (
508     uint64_t *result,
509     const GrB_Matrix A,
510     GB_void *restrict W_space,
511     bool *restrict F,
512     int ntasks,
513     int nthreads
514 ) ;
515 
516 
517 
518 GrB_Info GB (_red_build__max_uint64)
519 (
520     uint64_t *restrict Tx,
521     int64_t  *restrict Ti,
522     const uint64_t *restrict S,
523     int64_t nvals,
524     int64_t ndupl,
525     const int64_t *restrict I_work,
526     const int64_t *restrict K_work,
527     const int64_t *restrict tstart_slice,
528     const int64_t *restrict tnz_slice,
529     int nthreads
530 ) ;
531 
532 // SPDX-License-Identifier: Apache-2.0
533 
534 
535 GrB_Info GB (_red_scalar__max_fp32)
536 (
537     float *result,
538     const GrB_Matrix A,
539     GB_void *restrict W_space,
540     bool *restrict F,
541     int ntasks,
542     int nthreads
543 ) ;
544 
545 
546 
547 GrB_Info GB (_red_build__max_fp32)
548 (
549     float *restrict Tx,
550     int64_t  *restrict Ti,
551     const float *restrict S,
552     int64_t nvals,
553     int64_t ndupl,
554     const int64_t *restrict I_work,
555     const int64_t *restrict K_work,
556     const int64_t *restrict tstart_slice,
557     const int64_t *restrict tnz_slice,
558     int nthreads
559 ) ;
560 
561 // SPDX-License-Identifier: Apache-2.0
562 
563 
564 GrB_Info GB (_red_scalar__max_fp64)
565 (
566     double *result,
567     const GrB_Matrix A,
568     GB_void *restrict W_space,
569     bool *restrict F,
570     int ntasks,
571     int nthreads
572 ) ;
573 
574 
575 
576 GrB_Info GB (_red_build__max_fp64)
577 (
578     double *restrict Tx,
579     int64_t  *restrict Ti,
580     const double *restrict S,
581     int64_t nvals,
582     int64_t ndupl,
583     const int64_t *restrict I_work,
584     const int64_t *restrict K_work,
585     const int64_t *restrict tstart_slice,
586     const int64_t *restrict tnz_slice,
587     int nthreads
588 ) ;
589 
590 // SPDX-License-Identifier: Apache-2.0
591 
592 
593 GrB_Info GB (_red_scalar__any_bool)
594 (
595     bool *result,
596     const GrB_Matrix A,
597     GB_void *restrict W_space,
598     bool *restrict F,
599     int ntasks,
600     int nthreads
601 ) ;
602 
603 
604 
605 GrB_Info GB (_red_build__any_bool)
606 (
607     bool *restrict Tx,
608     int64_t  *restrict Ti,
609     const bool *restrict S,
610     int64_t nvals,
611     int64_t ndupl,
612     const int64_t *restrict I_work,
613     const int64_t *restrict K_work,
614     const int64_t *restrict tstart_slice,
615     const int64_t *restrict tnz_slice,
616     int nthreads
617 ) ;
618 
619 // SPDX-License-Identifier: Apache-2.0
620 
621 
622 GrB_Info GB (_red_scalar__any_int8)
623 (
624     int8_t *result,
625     const GrB_Matrix A,
626     GB_void *restrict W_space,
627     bool *restrict F,
628     int ntasks,
629     int nthreads
630 ) ;
631 
632 
633 
634 GrB_Info GB (_red_build__any_int8)
635 (
636     int8_t *restrict Tx,
637     int64_t  *restrict Ti,
638     const int8_t *restrict S,
639     int64_t nvals,
640     int64_t ndupl,
641     const int64_t *restrict I_work,
642     const int64_t *restrict K_work,
643     const int64_t *restrict tstart_slice,
644     const int64_t *restrict tnz_slice,
645     int nthreads
646 ) ;
647 
648 // SPDX-License-Identifier: Apache-2.0
649 
650 
651 GrB_Info GB (_red_scalar__any_int16)
652 (
653     int16_t *result,
654     const GrB_Matrix A,
655     GB_void *restrict W_space,
656     bool *restrict F,
657     int ntasks,
658     int nthreads
659 ) ;
660 
661 
662 
663 GrB_Info GB (_red_build__any_int16)
664 (
665     int16_t *restrict Tx,
666     int64_t  *restrict Ti,
667     const int16_t *restrict S,
668     int64_t nvals,
669     int64_t ndupl,
670     const int64_t *restrict I_work,
671     const int64_t *restrict K_work,
672     const int64_t *restrict tstart_slice,
673     const int64_t *restrict tnz_slice,
674     int nthreads
675 ) ;
676 
677 // SPDX-License-Identifier: Apache-2.0
678 
679 
680 GrB_Info GB (_red_scalar__any_int32)
681 (
682     int32_t *result,
683     const GrB_Matrix A,
684     GB_void *restrict W_space,
685     bool *restrict F,
686     int ntasks,
687     int nthreads
688 ) ;
689 
690 
691 
692 GrB_Info GB (_red_build__any_int32)
693 (
694     int32_t *restrict Tx,
695     int64_t  *restrict Ti,
696     const int32_t *restrict S,
697     int64_t nvals,
698     int64_t ndupl,
699     const int64_t *restrict I_work,
700     const int64_t *restrict K_work,
701     const int64_t *restrict tstart_slice,
702     const int64_t *restrict tnz_slice,
703     int nthreads
704 ) ;
705 
706 // SPDX-License-Identifier: Apache-2.0
707 
708 
709 GrB_Info GB (_red_scalar__any_int64)
710 (
711     int64_t *result,
712     const GrB_Matrix A,
713     GB_void *restrict W_space,
714     bool *restrict F,
715     int ntasks,
716     int nthreads
717 ) ;
718 
719 
720 
721 GrB_Info GB (_red_build__any_int64)
722 (
723     int64_t *restrict Tx,
724     int64_t  *restrict Ti,
725     const int64_t *restrict S,
726     int64_t nvals,
727     int64_t ndupl,
728     const int64_t *restrict I_work,
729     const int64_t *restrict K_work,
730     const int64_t *restrict tstart_slice,
731     const int64_t *restrict tnz_slice,
732     int nthreads
733 ) ;
734 
735 // SPDX-License-Identifier: Apache-2.0
736 
737 
738 GrB_Info GB (_red_scalar__any_uint8)
739 (
740     uint8_t *result,
741     const GrB_Matrix A,
742     GB_void *restrict W_space,
743     bool *restrict F,
744     int ntasks,
745     int nthreads
746 ) ;
747 
748 
749 
750 GrB_Info GB (_red_build__any_uint8)
751 (
752     uint8_t *restrict Tx,
753     int64_t  *restrict Ti,
754     const uint8_t *restrict S,
755     int64_t nvals,
756     int64_t ndupl,
757     const int64_t *restrict I_work,
758     const int64_t *restrict K_work,
759     const int64_t *restrict tstart_slice,
760     const int64_t *restrict tnz_slice,
761     int nthreads
762 ) ;
763 
764 // SPDX-License-Identifier: Apache-2.0
765 
766 
767 GrB_Info GB (_red_scalar__any_uint16)
768 (
769     uint16_t *result,
770     const GrB_Matrix A,
771     GB_void *restrict W_space,
772     bool *restrict F,
773     int ntasks,
774     int nthreads
775 ) ;
776 
777 
778 
779 GrB_Info GB (_red_build__any_uint16)
780 (
781     uint16_t *restrict Tx,
782     int64_t  *restrict Ti,
783     const uint16_t *restrict S,
784     int64_t nvals,
785     int64_t ndupl,
786     const int64_t *restrict I_work,
787     const int64_t *restrict K_work,
788     const int64_t *restrict tstart_slice,
789     const int64_t *restrict tnz_slice,
790     int nthreads
791 ) ;
792 
793 // SPDX-License-Identifier: Apache-2.0
794 
795 
796 GrB_Info GB (_red_scalar__any_uint32)
797 (
798     uint32_t *result,
799     const GrB_Matrix A,
800     GB_void *restrict W_space,
801     bool *restrict F,
802     int ntasks,
803     int nthreads
804 ) ;
805 
806 
807 
808 GrB_Info GB (_red_build__any_uint32)
809 (
810     uint32_t *restrict Tx,
811     int64_t  *restrict Ti,
812     const uint32_t *restrict S,
813     int64_t nvals,
814     int64_t ndupl,
815     const int64_t *restrict I_work,
816     const int64_t *restrict K_work,
817     const int64_t *restrict tstart_slice,
818     const int64_t *restrict tnz_slice,
819     int nthreads
820 ) ;
821 
822 // SPDX-License-Identifier: Apache-2.0
823 
824 
825 GrB_Info GB (_red_scalar__any_uint64)
826 (
827     uint64_t *result,
828     const GrB_Matrix A,
829     GB_void *restrict W_space,
830     bool *restrict F,
831     int ntasks,
832     int nthreads
833 ) ;
834 
835 
836 
837 GrB_Info GB (_red_build__any_uint64)
838 (
839     uint64_t *restrict Tx,
840     int64_t  *restrict Ti,
841     const uint64_t *restrict S,
842     int64_t nvals,
843     int64_t ndupl,
844     const int64_t *restrict I_work,
845     const int64_t *restrict K_work,
846     const int64_t *restrict tstart_slice,
847     const int64_t *restrict tnz_slice,
848     int nthreads
849 ) ;
850 
851 // SPDX-License-Identifier: Apache-2.0
852 
853 
854 GrB_Info GB (_red_scalar__any_fp32)
855 (
856     float *result,
857     const GrB_Matrix A,
858     GB_void *restrict W_space,
859     bool *restrict F,
860     int ntasks,
861     int nthreads
862 ) ;
863 
864 
865 
866 GrB_Info GB (_red_build__any_fp32)
867 (
868     float *restrict Tx,
869     int64_t  *restrict Ti,
870     const float *restrict S,
871     int64_t nvals,
872     int64_t ndupl,
873     const int64_t *restrict I_work,
874     const int64_t *restrict K_work,
875     const int64_t *restrict tstart_slice,
876     const int64_t *restrict tnz_slice,
877     int nthreads
878 ) ;
879 
880 // SPDX-License-Identifier: Apache-2.0
881 
882 
883 GrB_Info GB (_red_scalar__any_fp64)
884 (
885     double *result,
886     const GrB_Matrix A,
887     GB_void *restrict W_space,
888     bool *restrict F,
889     int ntasks,
890     int nthreads
891 ) ;
892 
893 
894 
895 GrB_Info GB (_red_build__any_fp64)
896 (
897     double *restrict Tx,
898     int64_t  *restrict Ti,
899     const double *restrict S,
900     int64_t nvals,
901     int64_t ndupl,
902     const int64_t *restrict I_work,
903     const int64_t *restrict K_work,
904     const int64_t *restrict tstart_slice,
905     const int64_t *restrict tnz_slice,
906     int nthreads
907 ) ;
908 
909 // SPDX-License-Identifier: Apache-2.0
910 
911 
912 GrB_Info GB (_red_scalar__any_fc32)
913 (
914     GxB_FC32_t *result,
915     const GrB_Matrix A,
916     GB_void *restrict W_space,
917     bool *restrict F,
918     int ntasks,
919     int nthreads
920 ) ;
921 
922 
923 
924 GrB_Info GB (_red_build__any_fc32)
925 (
926     GxB_FC32_t *restrict Tx,
927     int64_t  *restrict Ti,
928     const GxB_FC32_t *restrict S,
929     int64_t nvals,
930     int64_t ndupl,
931     const int64_t *restrict I_work,
932     const int64_t *restrict K_work,
933     const int64_t *restrict tstart_slice,
934     const int64_t *restrict tnz_slice,
935     int nthreads
936 ) ;
937 
938 // SPDX-License-Identifier: Apache-2.0
939 
940 
941 GrB_Info GB (_red_scalar__any_fc64)
942 (
943     GxB_FC64_t *result,
944     const GrB_Matrix A,
945     GB_void *restrict W_space,
946     bool *restrict F,
947     int ntasks,
948     int nthreads
949 ) ;
950 
951 
952 
953 GrB_Info GB (_red_build__any_fc64)
954 (
955     GxB_FC64_t *restrict Tx,
956     int64_t  *restrict Ti,
957     const GxB_FC64_t *restrict S,
958     int64_t nvals,
959     int64_t ndupl,
960     const int64_t *restrict I_work,
961     const int64_t *restrict K_work,
962     const int64_t *restrict tstart_slice,
963     const int64_t *restrict tnz_slice,
964     int nthreads
965 ) ;
966 
967 // SPDX-License-Identifier: Apache-2.0
968 
969 
970 GrB_Info GB (_red_scalar__plus_int8)
971 (
972     int8_t *result,
973     const GrB_Matrix A,
974     GB_void *restrict W_space,
975     bool *restrict F,
976     int ntasks,
977     int nthreads
978 ) ;
979 
980 
981 
982 GrB_Info GB (_red_build__plus_int8)
983 (
984     int8_t *restrict Tx,
985     int64_t  *restrict Ti,
986     const int8_t *restrict S,
987     int64_t nvals,
988     int64_t ndupl,
989     const int64_t *restrict I_work,
990     const int64_t *restrict K_work,
991     const int64_t *restrict tstart_slice,
992     const int64_t *restrict tnz_slice,
993     int nthreads
994 ) ;
995 
996 // SPDX-License-Identifier: Apache-2.0
997 
998 
999 GrB_Info GB (_red_scalar__plus_int16)
1000 (
1001     int16_t *result,
1002     const GrB_Matrix A,
1003     GB_void *restrict W_space,
1004     bool *restrict F,
1005     int ntasks,
1006     int nthreads
1007 ) ;
1008 
1009 
1010 
1011 GrB_Info GB (_red_build__plus_int16)
1012 (
1013     int16_t *restrict Tx,
1014     int64_t  *restrict Ti,
1015     const int16_t *restrict S,
1016     int64_t nvals,
1017     int64_t ndupl,
1018     const int64_t *restrict I_work,
1019     const int64_t *restrict K_work,
1020     const int64_t *restrict tstart_slice,
1021     const int64_t *restrict tnz_slice,
1022     int nthreads
1023 ) ;
1024 
1025 // SPDX-License-Identifier: Apache-2.0
1026 
1027 
1028 GrB_Info GB (_red_scalar__plus_int32)
1029 (
1030     int32_t *result,
1031     const GrB_Matrix A,
1032     GB_void *restrict W_space,
1033     bool *restrict F,
1034     int ntasks,
1035     int nthreads
1036 ) ;
1037 
1038 
1039 
1040 GrB_Info GB (_red_build__plus_int32)
1041 (
1042     int32_t *restrict Tx,
1043     int64_t  *restrict Ti,
1044     const int32_t *restrict S,
1045     int64_t nvals,
1046     int64_t ndupl,
1047     const int64_t *restrict I_work,
1048     const int64_t *restrict K_work,
1049     const int64_t *restrict tstart_slice,
1050     const int64_t *restrict tnz_slice,
1051     int nthreads
1052 ) ;
1053 
1054 // SPDX-License-Identifier: Apache-2.0
1055 
1056 
1057 GrB_Info GB (_red_scalar__plus_int64)
1058 (
1059     int64_t *result,
1060     const GrB_Matrix A,
1061     GB_void *restrict W_space,
1062     bool *restrict F,
1063     int ntasks,
1064     int nthreads
1065 ) ;
1066 
1067 
1068 
1069 GrB_Info GB (_red_build__plus_int64)
1070 (
1071     int64_t *restrict Tx,
1072     int64_t  *restrict Ti,
1073     const int64_t *restrict S,
1074     int64_t nvals,
1075     int64_t ndupl,
1076     const int64_t *restrict I_work,
1077     const int64_t *restrict K_work,
1078     const int64_t *restrict tstart_slice,
1079     const int64_t *restrict tnz_slice,
1080     int nthreads
1081 ) ;
1082 
1083 // SPDX-License-Identifier: Apache-2.0
1084 
1085 
1086 GrB_Info GB (_red_scalar__plus_uint8)
1087 (
1088     uint8_t *result,
1089     const GrB_Matrix A,
1090     GB_void *restrict W_space,
1091     bool *restrict F,
1092     int ntasks,
1093     int nthreads
1094 ) ;
1095 
1096 
1097 
1098 GrB_Info GB (_red_build__plus_uint8)
1099 (
1100     uint8_t *restrict Tx,
1101     int64_t  *restrict Ti,
1102     const uint8_t *restrict S,
1103     int64_t nvals,
1104     int64_t ndupl,
1105     const int64_t *restrict I_work,
1106     const int64_t *restrict K_work,
1107     const int64_t *restrict tstart_slice,
1108     const int64_t *restrict tnz_slice,
1109     int nthreads
1110 ) ;
1111 
1112 // SPDX-License-Identifier: Apache-2.0
1113 
1114 
1115 GrB_Info GB (_red_scalar__plus_uint16)
1116 (
1117     uint16_t *result,
1118     const GrB_Matrix A,
1119     GB_void *restrict W_space,
1120     bool *restrict F,
1121     int ntasks,
1122     int nthreads
1123 ) ;
1124 
1125 
1126 
1127 GrB_Info GB (_red_build__plus_uint16)
1128 (
1129     uint16_t *restrict Tx,
1130     int64_t  *restrict Ti,
1131     const uint16_t *restrict S,
1132     int64_t nvals,
1133     int64_t ndupl,
1134     const int64_t *restrict I_work,
1135     const int64_t *restrict K_work,
1136     const int64_t *restrict tstart_slice,
1137     const int64_t *restrict tnz_slice,
1138     int nthreads
1139 ) ;
1140 
1141 // SPDX-License-Identifier: Apache-2.0
1142 
1143 
1144 GrB_Info GB (_red_scalar__plus_uint32)
1145 (
1146     uint32_t *result,
1147     const GrB_Matrix A,
1148     GB_void *restrict W_space,
1149     bool *restrict F,
1150     int ntasks,
1151     int nthreads
1152 ) ;
1153 
1154 
1155 
1156 GrB_Info GB (_red_build__plus_uint32)
1157 (
1158     uint32_t *restrict Tx,
1159     int64_t  *restrict Ti,
1160     const uint32_t *restrict S,
1161     int64_t nvals,
1162     int64_t ndupl,
1163     const int64_t *restrict I_work,
1164     const int64_t *restrict K_work,
1165     const int64_t *restrict tstart_slice,
1166     const int64_t *restrict tnz_slice,
1167     int nthreads
1168 ) ;
1169 
1170 // SPDX-License-Identifier: Apache-2.0
1171 
1172 
1173 GrB_Info GB (_red_scalar__plus_uint64)
1174 (
1175     uint64_t *result,
1176     const GrB_Matrix A,
1177     GB_void *restrict W_space,
1178     bool *restrict F,
1179     int ntasks,
1180     int nthreads
1181 ) ;
1182 
1183 
1184 
1185 GrB_Info GB (_red_build__plus_uint64)
1186 (
1187     uint64_t *restrict Tx,
1188     int64_t  *restrict Ti,
1189     const uint64_t *restrict S,
1190     int64_t nvals,
1191     int64_t ndupl,
1192     const int64_t *restrict I_work,
1193     const int64_t *restrict K_work,
1194     const int64_t *restrict tstart_slice,
1195     const int64_t *restrict tnz_slice,
1196     int nthreads
1197 ) ;
1198 
1199 // SPDX-License-Identifier: Apache-2.0
1200 
1201 
1202 GrB_Info GB (_red_scalar__plus_fp32)
1203 (
1204     float *result,
1205     const GrB_Matrix A,
1206     GB_void *restrict W_space,
1207     bool *restrict F,
1208     int ntasks,
1209     int nthreads
1210 ) ;
1211 
1212 
1213 
1214 GrB_Info GB (_red_build__plus_fp32)
1215 (
1216     float *restrict Tx,
1217     int64_t  *restrict Ti,
1218     const float *restrict S,
1219     int64_t nvals,
1220     int64_t ndupl,
1221     const int64_t *restrict I_work,
1222     const int64_t *restrict K_work,
1223     const int64_t *restrict tstart_slice,
1224     const int64_t *restrict tnz_slice,
1225     int nthreads
1226 ) ;
1227 
1228 // SPDX-License-Identifier: Apache-2.0
1229 
1230 
1231 GrB_Info GB (_red_scalar__plus_fp64)
1232 (
1233     double *result,
1234     const GrB_Matrix A,
1235     GB_void *restrict W_space,
1236     bool *restrict F,
1237     int ntasks,
1238     int nthreads
1239 ) ;
1240 
1241 
1242 
1243 GrB_Info GB (_red_build__plus_fp64)
1244 (
1245     double *restrict Tx,
1246     int64_t  *restrict Ti,
1247     const double *restrict S,
1248     int64_t nvals,
1249     int64_t ndupl,
1250     const int64_t *restrict I_work,
1251     const int64_t *restrict K_work,
1252     const int64_t *restrict tstart_slice,
1253     const int64_t *restrict tnz_slice,
1254     int nthreads
1255 ) ;
1256 
1257 // SPDX-License-Identifier: Apache-2.0
1258 
1259 
1260 GrB_Info GB (_red_scalar__plus_fc32)
1261 (
1262     GxB_FC32_t *result,
1263     const GrB_Matrix A,
1264     GB_void *restrict W_space,
1265     bool *restrict F,
1266     int ntasks,
1267     int nthreads
1268 ) ;
1269 
1270 
1271 
1272 GrB_Info GB (_red_build__plus_fc32)
1273 (
1274     GxB_FC32_t *restrict Tx,
1275     int64_t  *restrict Ti,
1276     const GxB_FC32_t *restrict S,
1277     int64_t nvals,
1278     int64_t ndupl,
1279     const int64_t *restrict I_work,
1280     const int64_t *restrict K_work,
1281     const int64_t *restrict tstart_slice,
1282     const int64_t *restrict tnz_slice,
1283     int nthreads
1284 ) ;
1285 
1286 // SPDX-License-Identifier: Apache-2.0
1287 
1288 
1289 GrB_Info GB (_red_scalar__plus_fc64)
1290 (
1291     GxB_FC64_t *result,
1292     const GrB_Matrix A,
1293     GB_void *restrict W_space,
1294     bool *restrict F,
1295     int ntasks,
1296     int nthreads
1297 ) ;
1298 
1299 
1300 
1301 GrB_Info GB (_red_build__plus_fc64)
1302 (
1303     GxB_FC64_t *restrict Tx,
1304     int64_t  *restrict Ti,
1305     const GxB_FC64_t *restrict S,
1306     int64_t nvals,
1307     int64_t ndupl,
1308     const int64_t *restrict I_work,
1309     const int64_t *restrict K_work,
1310     const int64_t *restrict tstart_slice,
1311     const int64_t *restrict tnz_slice,
1312     int nthreads
1313 ) ;
1314 
1315 // SPDX-License-Identifier: Apache-2.0
1316 
1317 
1318 GrB_Info GB (_red_scalar__times_int8)
1319 (
1320     int8_t *result,
1321     const GrB_Matrix A,
1322     GB_void *restrict W_space,
1323     bool *restrict F,
1324     int ntasks,
1325     int nthreads
1326 ) ;
1327 
1328 
1329 
1330 GrB_Info GB (_red_build__times_int8)
1331 (
1332     int8_t *restrict Tx,
1333     int64_t  *restrict Ti,
1334     const int8_t *restrict S,
1335     int64_t nvals,
1336     int64_t ndupl,
1337     const int64_t *restrict I_work,
1338     const int64_t *restrict K_work,
1339     const int64_t *restrict tstart_slice,
1340     const int64_t *restrict tnz_slice,
1341     int nthreads
1342 ) ;
1343 
1344 // SPDX-License-Identifier: Apache-2.0
1345 
1346 
1347 GrB_Info GB (_red_scalar__times_int16)
1348 (
1349     int16_t *result,
1350     const GrB_Matrix A,
1351     GB_void *restrict W_space,
1352     bool *restrict F,
1353     int ntasks,
1354     int nthreads
1355 ) ;
1356 
1357 
1358 
1359 GrB_Info GB (_red_build__times_int16)
1360 (
1361     int16_t *restrict Tx,
1362     int64_t  *restrict Ti,
1363     const int16_t *restrict S,
1364     int64_t nvals,
1365     int64_t ndupl,
1366     const int64_t *restrict I_work,
1367     const int64_t *restrict K_work,
1368     const int64_t *restrict tstart_slice,
1369     const int64_t *restrict tnz_slice,
1370     int nthreads
1371 ) ;
1372 
1373 // SPDX-License-Identifier: Apache-2.0
1374 
1375 
1376 GrB_Info GB (_red_scalar__times_int32)
1377 (
1378     int32_t *result,
1379     const GrB_Matrix A,
1380     GB_void *restrict W_space,
1381     bool *restrict F,
1382     int ntasks,
1383     int nthreads
1384 ) ;
1385 
1386 
1387 
1388 GrB_Info GB (_red_build__times_int32)
1389 (
1390     int32_t *restrict Tx,
1391     int64_t  *restrict Ti,
1392     const int32_t *restrict S,
1393     int64_t nvals,
1394     int64_t ndupl,
1395     const int64_t *restrict I_work,
1396     const int64_t *restrict K_work,
1397     const int64_t *restrict tstart_slice,
1398     const int64_t *restrict tnz_slice,
1399     int nthreads
1400 ) ;
1401 
1402 // SPDX-License-Identifier: Apache-2.0
1403 
1404 
1405 GrB_Info GB (_red_scalar__times_int64)
1406 (
1407     int64_t *result,
1408     const GrB_Matrix A,
1409     GB_void *restrict W_space,
1410     bool *restrict F,
1411     int ntasks,
1412     int nthreads
1413 ) ;
1414 
1415 
1416 
1417 GrB_Info GB (_red_build__times_int64)
1418 (
1419     int64_t *restrict Tx,
1420     int64_t  *restrict Ti,
1421     const int64_t *restrict S,
1422     int64_t nvals,
1423     int64_t ndupl,
1424     const int64_t *restrict I_work,
1425     const int64_t *restrict K_work,
1426     const int64_t *restrict tstart_slice,
1427     const int64_t *restrict tnz_slice,
1428     int nthreads
1429 ) ;
1430 
1431 // SPDX-License-Identifier: Apache-2.0
1432 
1433 
1434 GrB_Info GB (_red_scalar__times_uint8)
1435 (
1436     uint8_t *result,
1437     const GrB_Matrix A,
1438     GB_void *restrict W_space,
1439     bool *restrict F,
1440     int ntasks,
1441     int nthreads
1442 ) ;
1443 
1444 
1445 
1446 GrB_Info GB (_red_build__times_uint8)
1447 (
1448     uint8_t *restrict Tx,
1449     int64_t  *restrict Ti,
1450     const uint8_t *restrict S,
1451     int64_t nvals,
1452     int64_t ndupl,
1453     const int64_t *restrict I_work,
1454     const int64_t *restrict K_work,
1455     const int64_t *restrict tstart_slice,
1456     const int64_t *restrict tnz_slice,
1457     int nthreads
1458 ) ;
1459 
1460 // SPDX-License-Identifier: Apache-2.0
1461 
1462 
1463 GrB_Info GB (_red_scalar__times_uint16)
1464 (
1465     uint16_t *result,
1466     const GrB_Matrix A,
1467     GB_void *restrict W_space,
1468     bool *restrict F,
1469     int ntasks,
1470     int nthreads
1471 ) ;
1472 
1473 
1474 
1475 GrB_Info GB (_red_build__times_uint16)
1476 (
1477     uint16_t *restrict Tx,
1478     int64_t  *restrict Ti,
1479     const uint16_t *restrict S,
1480     int64_t nvals,
1481     int64_t ndupl,
1482     const int64_t *restrict I_work,
1483     const int64_t *restrict K_work,
1484     const int64_t *restrict tstart_slice,
1485     const int64_t *restrict tnz_slice,
1486     int nthreads
1487 ) ;
1488 
1489 // SPDX-License-Identifier: Apache-2.0
1490 
1491 
1492 GrB_Info GB (_red_scalar__times_uint32)
1493 (
1494     uint32_t *result,
1495     const GrB_Matrix A,
1496     GB_void *restrict W_space,
1497     bool *restrict F,
1498     int ntasks,
1499     int nthreads
1500 ) ;
1501 
1502 
1503 
1504 GrB_Info GB (_red_build__times_uint32)
1505 (
1506     uint32_t *restrict Tx,
1507     int64_t  *restrict Ti,
1508     const uint32_t *restrict S,
1509     int64_t nvals,
1510     int64_t ndupl,
1511     const int64_t *restrict I_work,
1512     const int64_t *restrict K_work,
1513     const int64_t *restrict tstart_slice,
1514     const int64_t *restrict tnz_slice,
1515     int nthreads
1516 ) ;
1517 
1518 // SPDX-License-Identifier: Apache-2.0
1519 
1520 
1521 GrB_Info GB (_red_scalar__times_uint64)
1522 (
1523     uint64_t *result,
1524     const GrB_Matrix A,
1525     GB_void *restrict W_space,
1526     bool *restrict F,
1527     int ntasks,
1528     int nthreads
1529 ) ;
1530 
1531 
1532 
1533 GrB_Info GB (_red_build__times_uint64)
1534 (
1535     uint64_t *restrict Tx,
1536     int64_t  *restrict Ti,
1537     const uint64_t *restrict S,
1538     int64_t nvals,
1539     int64_t ndupl,
1540     const int64_t *restrict I_work,
1541     const int64_t *restrict K_work,
1542     const int64_t *restrict tstart_slice,
1543     const int64_t *restrict tnz_slice,
1544     int nthreads
1545 ) ;
1546 
1547 // SPDX-License-Identifier: Apache-2.0
1548 
1549 
1550 GrB_Info GB (_red_scalar__times_fp32)
1551 (
1552     float *result,
1553     const GrB_Matrix A,
1554     GB_void *restrict W_space,
1555     bool *restrict F,
1556     int ntasks,
1557     int nthreads
1558 ) ;
1559 
1560 
1561 
1562 GrB_Info GB (_red_build__times_fp32)
1563 (
1564     float *restrict Tx,
1565     int64_t  *restrict Ti,
1566     const float *restrict S,
1567     int64_t nvals,
1568     int64_t ndupl,
1569     const int64_t *restrict I_work,
1570     const int64_t *restrict K_work,
1571     const int64_t *restrict tstart_slice,
1572     const int64_t *restrict tnz_slice,
1573     int nthreads
1574 ) ;
1575 
1576 // SPDX-License-Identifier: Apache-2.0
1577 
1578 
1579 GrB_Info GB (_red_scalar__times_fp64)
1580 (
1581     double *result,
1582     const GrB_Matrix A,
1583     GB_void *restrict W_space,
1584     bool *restrict F,
1585     int ntasks,
1586     int nthreads
1587 ) ;
1588 
1589 
1590 
1591 GrB_Info GB (_red_build__times_fp64)
1592 (
1593     double *restrict Tx,
1594     int64_t  *restrict Ti,
1595     const double *restrict S,
1596     int64_t nvals,
1597     int64_t ndupl,
1598     const int64_t *restrict I_work,
1599     const int64_t *restrict K_work,
1600     const int64_t *restrict tstart_slice,
1601     const int64_t *restrict tnz_slice,
1602     int nthreads
1603 ) ;
1604 
1605 // SPDX-License-Identifier: Apache-2.0
1606 
1607 
1608 GrB_Info GB (_red_scalar__times_fc32)
1609 (
1610     GxB_FC32_t *result,
1611     const GrB_Matrix A,
1612     GB_void *restrict W_space,
1613     bool *restrict F,
1614     int ntasks,
1615     int nthreads
1616 ) ;
1617 
1618 
1619 
1620 GrB_Info GB (_red_build__times_fc32)
1621 (
1622     GxB_FC32_t *restrict Tx,
1623     int64_t  *restrict Ti,
1624     const GxB_FC32_t *restrict S,
1625     int64_t nvals,
1626     int64_t ndupl,
1627     const int64_t *restrict I_work,
1628     const int64_t *restrict K_work,
1629     const int64_t *restrict tstart_slice,
1630     const int64_t *restrict tnz_slice,
1631     int nthreads
1632 ) ;
1633 
1634 // SPDX-License-Identifier: Apache-2.0
1635 
1636 
1637 GrB_Info GB (_red_scalar__times_fc64)
1638 (
1639     GxB_FC64_t *result,
1640     const GrB_Matrix A,
1641     GB_void *restrict W_space,
1642     bool *restrict F,
1643     int ntasks,
1644     int nthreads
1645 ) ;
1646 
1647 
1648 
1649 GrB_Info GB (_red_build__times_fc64)
1650 (
1651     GxB_FC64_t *restrict Tx,
1652     int64_t  *restrict Ti,
1653     const GxB_FC64_t *restrict S,
1654     int64_t nvals,
1655     int64_t ndupl,
1656     const int64_t *restrict I_work,
1657     const int64_t *restrict K_work,
1658     const int64_t *restrict tstart_slice,
1659     const int64_t *restrict tnz_slice,
1660     int nthreads
1661 ) ;
1662 
1663 // SPDX-License-Identifier: Apache-2.0
1664 
1665 
1666 GrB_Info GB (_red_scalar__lor_bool)
1667 (
1668     bool *result,
1669     const GrB_Matrix A,
1670     GB_void *restrict W_space,
1671     bool *restrict F,
1672     int ntasks,
1673     int nthreads
1674 ) ;
1675 
1676 
1677 
1678 GrB_Info GB (_red_build__lor_bool)
1679 (
1680     bool *restrict Tx,
1681     int64_t  *restrict Ti,
1682     const bool *restrict S,
1683     int64_t nvals,
1684     int64_t ndupl,
1685     const int64_t *restrict I_work,
1686     const int64_t *restrict K_work,
1687     const int64_t *restrict tstart_slice,
1688     const int64_t *restrict tnz_slice,
1689     int nthreads
1690 ) ;
1691 
1692 // SPDX-License-Identifier: Apache-2.0
1693 
1694 
1695 GrB_Info GB (_red_scalar__land_bool)
1696 (
1697     bool *result,
1698     const GrB_Matrix A,
1699     GB_void *restrict W_space,
1700     bool *restrict F,
1701     int ntasks,
1702     int nthreads
1703 ) ;
1704 
1705 
1706 
1707 GrB_Info GB (_red_build__land_bool)
1708 (
1709     bool *restrict Tx,
1710     int64_t  *restrict Ti,
1711     const bool *restrict S,
1712     int64_t nvals,
1713     int64_t ndupl,
1714     const int64_t *restrict I_work,
1715     const int64_t *restrict K_work,
1716     const int64_t *restrict tstart_slice,
1717     const int64_t *restrict tnz_slice,
1718     int nthreads
1719 ) ;
1720 
1721 // SPDX-License-Identifier: Apache-2.0
1722 
1723 
1724 GrB_Info GB (_red_scalar__lxor_bool)
1725 (
1726     bool *result,
1727     const GrB_Matrix A,
1728     GB_void *restrict W_space,
1729     bool *restrict F,
1730     int ntasks,
1731     int nthreads
1732 ) ;
1733 
1734 
1735 
1736 GrB_Info GB (_red_build__lxor_bool)
1737 (
1738     bool *restrict Tx,
1739     int64_t  *restrict Ti,
1740     const bool *restrict S,
1741     int64_t nvals,
1742     int64_t ndupl,
1743     const int64_t *restrict I_work,
1744     const int64_t *restrict K_work,
1745     const int64_t *restrict tstart_slice,
1746     const int64_t *restrict tnz_slice,
1747     int nthreads
1748 ) ;
1749 
1750 // SPDX-License-Identifier: Apache-2.0
1751 
1752 
1753 GrB_Info GB (_red_scalar__eq_bool)
1754 (
1755     bool *result,
1756     const GrB_Matrix A,
1757     GB_void *restrict W_space,
1758     bool *restrict F,
1759     int ntasks,
1760     int nthreads
1761 ) ;
1762 
1763 
1764 
1765 GrB_Info GB (_red_build__eq_bool)
1766 (
1767     bool *restrict Tx,
1768     int64_t  *restrict Ti,
1769     const bool *restrict S,
1770     int64_t nvals,
1771     int64_t ndupl,
1772     const int64_t *restrict I_work,
1773     const int64_t *restrict K_work,
1774     const int64_t *restrict tstart_slice,
1775     const int64_t *restrict tnz_slice,
1776     int nthreads
1777 ) ;
1778 
1779 // SPDX-License-Identifier: Apache-2.0
1780 
1781 
1782 GrB_Info GB (_red_scalar__any_bool)
1783 (
1784     bool *result,
1785     const GrB_Matrix A,
1786     GB_void *restrict W_space,
1787     bool *restrict F,
1788     int ntasks,
1789     int nthreads
1790 ) ;
1791 
1792 
1793 
1794 GrB_Info GB (_red_build__any_bool)
1795 (
1796     bool *restrict Tx,
1797     int64_t  *restrict Ti,
1798     const bool *restrict S,
1799     int64_t nvals,
1800     int64_t ndupl,
1801     const int64_t *restrict I_work,
1802     const int64_t *restrict K_work,
1803     const int64_t *restrict tstart_slice,
1804     const int64_t *restrict tnz_slice,
1805     int nthreads
1806 ) ;
1807 
1808 // SPDX-License-Identifier: Apache-2.0
1809 #if 0
1810 
1811 GrB_Info GB (_red_scalar__(none))
1812 (
1813     bool *result,
1814     const GrB_Matrix A,
1815     GB_void *restrict W_space,
1816     bool *restrict F,
1817     int ntasks,
1818     int nthreads
1819 ) ;
1820 
1821 #endif
1822 
1823 GrB_Info GB (_red_build__first_bool)
1824 (
1825     bool *restrict Tx,
1826     int64_t  *restrict Ti,
1827     const bool *restrict S,
1828     int64_t nvals,
1829     int64_t ndupl,
1830     const int64_t *restrict I_work,
1831     const int64_t *restrict K_work,
1832     const int64_t *restrict tstart_slice,
1833     const int64_t *restrict tnz_slice,
1834     int nthreads
1835 ) ;
1836 
1837 // SPDX-License-Identifier: Apache-2.0
1838 #if 0
1839 
1840 GrB_Info GB (_red_scalar__(none))
1841 (
1842     int8_t *result,
1843     const GrB_Matrix A,
1844     GB_void *restrict W_space,
1845     bool *restrict F,
1846     int ntasks,
1847     int nthreads
1848 ) ;
1849 
1850 #endif
1851 
1852 GrB_Info GB (_red_build__first_int8)
1853 (
1854     int8_t *restrict Tx,
1855     int64_t  *restrict Ti,
1856     const int8_t *restrict S,
1857     int64_t nvals,
1858     int64_t ndupl,
1859     const int64_t *restrict I_work,
1860     const int64_t *restrict K_work,
1861     const int64_t *restrict tstart_slice,
1862     const int64_t *restrict tnz_slice,
1863     int nthreads
1864 ) ;
1865 
1866 // SPDX-License-Identifier: Apache-2.0
1867 #if 0
1868 
1869 GrB_Info GB (_red_scalar__(none))
1870 (
1871     int16_t *result,
1872     const GrB_Matrix A,
1873     GB_void *restrict W_space,
1874     bool *restrict F,
1875     int ntasks,
1876     int nthreads
1877 ) ;
1878 
1879 #endif
1880 
1881 GrB_Info GB (_red_build__first_int16)
1882 (
1883     int16_t *restrict Tx,
1884     int64_t  *restrict Ti,
1885     const int16_t *restrict S,
1886     int64_t nvals,
1887     int64_t ndupl,
1888     const int64_t *restrict I_work,
1889     const int64_t *restrict K_work,
1890     const int64_t *restrict tstart_slice,
1891     const int64_t *restrict tnz_slice,
1892     int nthreads
1893 ) ;
1894 
1895 // SPDX-License-Identifier: Apache-2.0
1896 #if 0
1897 
1898 GrB_Info GB (_red_scalar__(none))
1899 (
1900     int32_t *result,
1901     const GrB_Matrix A,
1902     GB_void *restrict W_space,
1903     bool *restrict F,
1904     int ntasks,
1905     int nthreads
1906 ) ;
1907 
1908 #endif
1909 
1910 GrB_Info GB (_red_build__first_int32)
1911 (
1912     int32_t *restrict Tx,
1913     int64_t  *restrict Ti,
1914     const int32_t *restrict S,
1915     int64_t nvals,
1916     int64_t ndupl,
1917     const int64_t *restrict I_work,
1918     const int64_t *restrict K_work,
1919     const int64_t *restrict tstart_slice,
1920     const int64_t *restrict tnz_slice,
1921     int nthreads
1922 ) ;
1923 
1924 // SPDX-License-Identifier: Apache-2.0
1925 #if 0
1926 
1927 GrB_Info GB (_red_scalar__(none))
1928 (
1929     int64_t *result,
1930     const GrB_Matrix A,
1931     GB_void *restrict W_space,
1932     bool *restrict F,
1933     int ntasks,
1934     int nthreads
1935 ) ;
1936 
1937 #endif
1938 
1939 GrB_Info GB (_red_build__first_int64)
1940 (
1941     int64_t *restrict Tx,
1942     int64_t  *restrict Ti,
1943     const int64_t *restrict S,
1944     int64_t nvals,
1945     int64_t ndupl,
1946     const int64_t *restrict I_work,
1947     const int64_t *restrict K_work,
1948     const int64_t *restrict tstart_slice,
1949     const int64_t *restrict tnz_slice,
1950     int nthreads
1951 ) ;
1952 
1953 // SPDX-License-Identifier: Apache-2.0
1954 #if 0
1955 
1956 GrB_Info GB (_red_scalar__(none))
1957 (
1958     uint8_t *result,
1959     const GrB_Matrix A,
1960     GB_void *restrict W_space,
1961     bool *restrict F,
1962     int ntasks,
1963     int nthreads
1964 ) ;
1965 
1966 #endif
1967 
1968 GrB_Info GB (_red_build__first_uint8)
1969 (
1970     uint8_t *restrict Tx,
1971     int64_t  *restrict Ti,
1972     const uint8_t *restrict S,
1973     int64_t nvals,
1974     int64_t ndupl,
1975     const int64_t *restrict I_work,
1976     const int64_t *restrict K_work,
1977     const int64_t *restrict tstart_slice,
1978     const int64_t *restrict tnz_slice,
1979     int nthreads
1980 ) ;
1981 
1982 // SPDX-License-Identifier: Apache-2.0
1983 #if 0
1984 
1985 GrB_Info GB (_red_scalar__(none))
1986 (
1987     uint16_t *result,
1988     const GrB_Matrix A,
1989     GB_void *restrict W_space,
1990     bool *restrict F,
1991     int ntasks,
1992     int nthreads
1993 ) ;
1994 
1995 #endif
1996 
1997 GrB_Info GB (_red_build__first_uint16)
1998 (
1999     uint16_t *restrict Tx,
2000     int64_t  *restrict Ti,
2001     const uint16_t *restrict S,
2002     int64_t nvals,
2003     int64_t ndupl,
2004     const int64_t *restrict I_work,
2005     const int64_t *restrict K_work,
2006     const int64_t *restrict tstart_slice,
2007     const int64_t *restrict tnz_slice,
2008     int nthreads
2009 ) ;
2010 
2011 // SPDX-License-Identifier: Apache-2.0
2012 #if 0
2013 
2014 GrB_Info GB (_red_scalar__(none))
2015 (
2016     uint32_t *result,
2017     const GrB_Matrix A,
2018     GB_void *restrict W_space,
2019     bool *restrict F,
2020     int ntasks,
2021     int nthreads
2022 ) ;
2023 
2024 #endif
2025 
2026 GrB_Info GB (_red_build__first_uint32)
2027 (
2028     uint32_t *restrict Tx,
2029     int64_t  *restrict Ti,
2030     const uint32_t *restrict S,
2031     int64_t nvals,
2032     int64_t ndupl,
2033     const int64_t *restrict I_work,
2034     const int64_t *restrict K_work,
2035     const int64_t *restrict tstart_slice,
2036     const int64_t *restrict tnz_slice,
2037     int nthreads
2038 ) ;
2039 
2040 // SPDX-License-Identifier: Apache-2.0
2041 #if 0
2042 
2043 GrB_Info GB (_red_scalar__(none))
2044 (
2045     uint64_t *result,
2046     const GrB_Matrix A,
2047     GB_void *restrict W_space,
2048     bool *restrict F,
2049     int ntasks,
2050     int nthreads
2051 ) ;
2052 
2053 #endif
2054 
2055 GrB_Info GB (_red_build__first_uint64)
2056 (
2057     uint64_t *restrict Tx,
2058     int64_t  *restrict Ti,
2059     const uint64_t *restrict S,
2060     int64_t nvals,
2061     int64_t ndupl,
2062     const int64_t *restrict I_work,
2063     const int64_t *restrict K_work,
2064     const int64_t *restrict tstart_slice,
2065     const int64_t *restrict tnz_slice,
2066     int nthreads
2067 ) ;
2068 
2069 // SPDX-License-Identifier: Apache-2.0
2070 #if 0
2071 
2072 GrB_Info GB (_red_scalar__(none))
2073 (
2074     float *result,
2075     const GrB_Matrix A,
2076     GB_void *restrict W_space,
2077     bool *restrict F,
2078     int ntasks,
2079     int nthreads
2080 ) ;
2081 
2082 #endif
2083 
2084 GrB_Info GB (_red_build__first_fp32)
2085 (
2086     float *restrict Tx,
2087     int64_t  *restrict Ti,
2088     const float *restrict S,
2089     int64_t nvals,
2090     int64_t ndupl,
2091     const int64_t *restrict I_work,
2092     const int64_t *restrict K_work,
2093     const int64_t *restrict tstart_slice,
2094     const int64_t *restrict tnz_slice,
2095     int nthreads
2096 ) ;
2097 
2098 // SPDX-License-Identifier: Apache-2.0
2099 #if 0
2100 
2101 GrB_Info GB (_red_scalar__(none))
2102 (
2103     double *result,
2104     const GrB_Matrix A,
2105     GB_void *restrict W_space,
2106     bool *restrict F,
2107     int ntasks,
2108     int nthreads
2109 ) ;
2110 
2111 #endif
2112 
2113 GrB_Info GB (_red_build__first_fp64)
2114 (
2115     double *restrict Tx,
2116     int64_t  *restrict Ti,
2117     const double *restrict S,
2118     int64_t nvals,
2119     int64_t ndupl,
2120     const int64_t *restrict I_work,
2121     const int64_t *restrict K_work,
2122     const int64_t *restrict tstart_slice,
2123     const int64_t *restrict tnz_slice,
2124     int nthreads
2125 ) ;
2126 
2127 // SPDX-License-Identifier: Apache-2.0
2128 #if 0
2129 
2130 GrB_Info GB (_red_scalar__(none))
2131 (
2132     GxB_FC32_t *result,
2133     const GrB_Matrix A,
2134     GB_void *restrict W_space,
2135     bool *restrict F,
2136     int ntasks,
2137     int nthreads
2138 ) ;
2139 
2140 #endif
2141 
2142 GrB_Info GB (_red_build__first_fc32)
2143 (
2144     GxB_FC32_t *restrict Tx,
2145     int64_t  *restrict Ti,
2146     const GxB_FC32_t *restrict S,
2147     int64_t nvals,
2148     int64_t ndupl,
2149     const int64_t *restrict I_work,
2150     const int64_t *restrict K_work,
2151     const int64_t *restrict tstart_slice,
2152     const int64_t *restrict tnz_slice,
2153     int nthreads
2154 ) ;
2155 
2156 // SPDX-License-Identifier: Apache-2.0
2157 #if 0
2158 
2159 GrB_Info GB (_red_scalar__(none))
2160 (
2161     GxB_FC64_t *result,
2162     const GrB_Matrix A,
2163     GB_void *restrict W_space,
2164     bool *restrict F,
2165     int ntasks,
2166     int nthreads
2167 ) ;
2168 
2169 #endif
2170 
2171 GrB_Info GB (_red_build__first_fc64)
2172 (
2173     GxB_FC64_t *restrict Tx,
2174     int64_t  *restrict Ti,
2175     const GxB_FC64_t *restrict S,
2176     int64_t nvals,
2177     int64_t ndupl,
2178     const int64_t *restrict I_work,
2179     const int64_t *restrict K_work,
2180     const int64_t *restrict tstart_slice,
2181     const int64_t *restrict tnz_slice,
2182     int nthreads
2183 ) ;
2184 
2185 // SPDX-License-Identifier: Apache-2.0
2186 #if 0
2187 
2188 GrB_Info GB (_red_scalar__(none))
2189 (
2190     bool *result,
2191     const GrB_Matrix A,
2192     GB_void *restrict W_space,
2193     bool *restrict F,
2194     int ntasks,
2195     int nthreads
2196 ) ;
2197 
2198 #endif
2199 
2200 GrB_Info GB (_red_build__second_bool)
2201 (
2202     bool *restrict Tx,
2203     int64_t  *restrict Ti,
2204     const bool *restrict S,
2205     int64_t nvals,
2206     int64_t ndupl,
2207     const int64_t *restrict I_work,
2208     const int64_t *restrict K_work,
2209     const int64_t *restrict tstart_slice,
2210     const int64_t *restrict tnz_slice,
2211     int nthreads
2212 ) ;
2213 
2214 // SPDX-License-Identifier: Apache-2.0
2215 #if 0
2216 
2217 GrB_Info GB (_red_scalar__(none))
2218 (
2219     int8_t *result,
2220     const GrB_Matrix A,
2221     GB_void *restrict W_space,
2222     bool *restrict F,
2223     int ntasks,
2224     int nthreads
2225 ) ;
2226 
2227 #endif
2228 
2229 GrB_Info GB (_red_build__second_int8)
2230 (
2231     int8_t *restrict Tx,
2232     int64_t  *restrict Ti,
2233     const int8_t *restrict S,
2234     int64_t nvals,
2235     int64_t ndupl,
2236     const int64_t *restrict I_work,
2237     const int64_t *restrict K_work,
2238     const int64_t *restrict tstart_slice,
2239     const int64_t *restrict tnz_slice,
2240     int nthreads
2241 ) ;
2242 
2243 // SPDX-License-Identifier: Apache-2.0
2244 #if 0
2245 
2246 GrB_Info GB (_red_scalar__(none))
2247 (
2248     int16_t *result,
2249     const GrB_Matrix A,
2250     GB_void *restrict W_space,
2251     bool *restrict F,
2252     int ntasks,
2253     int nthreads
2254 ) ;
2255 
2256 #endif
2257 
2258 GrB_Info GB (_red_build__second_int16)
2259 (
2260     int16_t *restrict Tx,
2261     int64_t  *restrict Ti,
2262     const int16_t *restrict S,
2263     int64_t nvals,
2264     int64_t ndupl,
2265     const int64_t *restrict I_work,
2266     const int64_t *restrict K_work,
2267     const int64_t *restrict tstart_slice,
2268     const int64_t *restrict tnz_slice,
2269     int nthreads
2270 ) ;
2271 
2272 // SPDX-License-Identifier: Apache-2.0
2273 #if 0
2274 
2275 GrB_Info GB (_red_scalar__(none))
2276 (
2277     int32_t *result,
2278     const GrB_Matrix A,
2279     GB_void *restrict W_space,
2280     bool *restrict F,
2281     int ntasks,
2282     int nthreads
2283 ) ;
2284 
2285 #endif
2286 
2287 GrB_Info GB (_red_build__second_int32)
2288 (
2289     int32_t *restrict Tx,
2290     int64_t  *restrict Ti,
2291     const int32_t *restrict S,
2292     int64_t nvals,
2293     int64_t ndupl,
2294     const int64_t *restrict I_work,
2295     const int64_t *restrict K_work,
2296     const int64_t *restrict tstart_slice,
2297     const int64_t *restrict tnz_slice,
2298     int nthreads
2299 ) ;
2300 
2301 // SPDX-License-Identifier: Apache-2.0
2302 #if 0
2303 
2304 GrB_Info GB (_red_scalar__(none))
2305 (
2306     int64_t *result,
2307     const GrB_Matrix A,
2308     GB_void *restrict W_space,
2309     bool *restrict F,
2310     int ntasks,
2311     int nthreads
2312 ) ;
2313 
2314 #endif
2315 
2316 GrB_Info GB (_red_build__second_int64)
2317 (
2318     int64_t *restrict Tx,
2319     int64_t  *restrict Ti,
2320     const int64_t *restrict S,
2321     int64_t nvals,
2322     int64_t ndupl,
2323     const int64_t *restrict I_work,
2324     const int64_t *restrict K_work,
2325     const int64_t *restrict tstart_slice,
2326     const int64_t *restrict tnz_slice,
2327     int nthreads
2328 ) ;
2329 
2330 // SPDX-License-Identifier: Apache-2.0
2331 #if 0
2332 
2333 GrB_Info GB (_red_scalar__(none))
2334 (
2335     uint8_t *result,
2336     const GrB_Matrix A,
2337     GB_void *restrict W_space,
2338     bool *restrict F,
2339     int ntasks,
2340     int nthreads
2341 ) ;
2342 
2343 #endif
2344 
2345 GrB_Info GB (_red_build__second_uint8)
2346 (
2347     uint8_t *restrict Tx,
2348     int64_t  *restrict Ti,
2349     const uint8_t *restrict S,
2350     int64_t nvals,
2351     int64_t ndupl,
2352     const int64_t *restrict I_work,
2353     const int64_t *restrict K_work,
2354     const int64_t *restrict tstart_slice,
2355     const int64_t *restrict tnz_slice,
2356     int nthreads
2357 ) ;
2358 
2359 // SPDX-License-Identifier: Apache-2.0
2360 #if 0
2361 
2362 GrB_Info GB (_red_scalar__(none))
2363 (
2364     uint16_t *result,
2365     const GrB_Matrix A,
2366     GB_void *restrict W_space,
2367     bool *restrict F,
2368     int ntasks,
2369     int nthreads
2370 ) ;
2371 
2372 #endif
2373 
2374 GrB_Info GB (_red_build__second_uint16)
2375 (
2376     uint16_t *restrict Tx,
2377     int64_t  *restrict Ti,
2378     const uint16_t *restrict S,
2379     int64_t nvals,
2380     int64_t ndupl,
2381     const int64_t *restrict I_work,
2382     const int64_t *restrict K_work,
2383     const int64_t *restrict tstart_slice,
2384     const int64_t *restrict tnz_slice,
2385     int nthreads
2386 ) ;
2387 
2388 // SPDX-License-Identifier: Apache-2.0
2389 #if 0
2390 
2391 GrB_Info GB (_red_scalar__(none))
2392 (
2393     uint32_t *result,
2394     const GrB_Matrix A,
2395     GB_void *restrict W_space,
2396     bool *restrict F,
2397     int ntasks,
2398     int nthreads
2399 ) ;
2400 
2401 #endif
2402 
2403 GrB_Info GB (_red_build__second_uint32)
2404 (
2405     uint32_t *restrict Tx,
2406     int64_t  *restrict Ti,
2407     const uint32_t *restrict S,
2408     int64_t nvals,
2409     int64_t ndupl,
2410     const int64_t *restrict I_work,
2411     const int64_t *restrict K_work,
2412     const int64_t *restrict tstart_slice,
2413     const int64_t *restrict tnz_slice,
2414     int nthreads
2415 ) ;
2416 
2417 // SPDX-License-Identifier: Apache-2.0
2418 #if 0
2419 
2420 GrB_Info GB (_red_scalar__(none))
2421 (
2422     uint64_t *result,
2423     const GrB_Matrix A,
2424     GB_void *restrict W_space,
2425     bool *restrict F,
2426     int ntasks,
2427     int nthreads
2428 ) ;
2429 
2430 #endif
2431 
2432 GrB_Info GB (_red_build__second_uint64)
2433 (
2434     uint64_t *restrict Tx,
2435     int64_t  *restrict Ti,
2436     const uint64_t *restrict S,
2437     int64_t nvals,
2438     int64_t ndupl,
2439     const int64_t *restrict I_work,
2440     const int64_t *restrict K_work,
2441     const int64_t *restrict tstart_slice,
2442     const int64_t *restrict tnz_slice,
2443     int nthreads
2444 ) ;
2445 
2446 // SPDX-License-Identifier: Apache-2.0
2447 #if 0
2448 
2449 GrB_Info GB (_red_scalar__(none))
2450 (
2451     float *result,
2452     const GrB_Matrix A,
2453     GB_void *restrict W_space,
2454     bool *restrict F,
2455     int ntasks,
2456     int nthreads
2457 ) ;
2458 
2459 #endif
2460 
2461 GrB_Info GB (_red_build__second_fp32)
2462 (
2463     float *restrict Tx,
2464     int64_t  *restrict Ti,
2465     const float *restrict S,
2466     int64_t nvals,
2467     int64_t ndupl,
2468     const int64_t *restrict I_work,
2469     const int64_t *restrict K_work,
2470     const int64_t *restrict tstart_slice,
2471     const int64_t *restrict tnz_slice,
2472     int nthreads
2473 ) ;
2474 
2475 // SPDX-License-Identifier: Apache-2.0
2476 #if 0
2477 
2478 GrB_Info GB (_red_scalar__(none))
2479 (
2480     double *result,
2481     const GrB_Matrix A,
2482     GB_void *restrict W_space,
2483     bool *restrict F,
2484     int ntasks,
2485     int nthreads
2486 ) ;
2487 
2488 #endif
2489 
2490 GrB_Info GB (_red_build__second_fp64)
2491 (
2492     double *restrict Tx,
2493     int64_t  *restrict Ti,
2494     const double *restrict S,
2495     int64_t nvals,
2496     int64_t ndupl,
2497     const int64_t *restrict I_work,
2498     const int64_t *restrict K_work,
2499     const int64_t *restrict tstart_slice,
2500     const int64_t *restrict tnz_slice,
2501     int nthreads
2502 ) ;
2503 
2504 // SPDX-License-Identifier: Apache-2.0
2505 #if 0
2506 
2507 GrB_Info GB (_red_scalar__(none))
2508 (
2509     GxB_FC32_t *result,
2510     const GrB_Matrix A,
2511     GB_void *restrict W_space,
2512     bool *restrict F,
2513     int ntasks,
2514     int nthreads
2515 ) ;
2516 
2517 #endif
2518 
2519 GrB_Info GB (_red_build__second_fc32)
2520 (
2521     GxB_FC32_t *restrict Tx,
2522     int64_t  *restrict Ti,
2523     const GxB_FC32_t *restrict S,
2524     int64_t nvals,
2525     int64_t ndupl,
2526     const int64_t *restrict I_work,
2527     const int64_t *restrict K_work,
2528     const int64_t *restrict tstart_slice,
2529     const int64_t *restrict tnz_slice,
2530     int nthreads
2531 ) ;
2532 
2533 // SPDX-License-Identifier: Apache-2.0
2534 #if 0
2535 
2536 GrB_Info GB (_red_scalar__(none))
2537 (
2538     GxB_FC64_t *result,
2539     const GrB_Matrix A,
2540     GB_void *restrict W_space,
2541     bool *restrict F,
2542     int ntasks,
2543     int nthreads
2544 ) ;
2545 
2546 #endif
2547 
2548 GrB_Info GB (_red_build__second_fc64)
2549 (
2550     GxB_FC64_t *restrict Tx,
2551     int64_t  *restrict Ti,
2552     const GxB_FC64_t *restrict S,
2553     int64_t nvals,
2554     int64_t ndupl,
2555     const int64_t *restrict I_work,
2556     const int64_t *restrict K_work,
2557     const int64_t *restrict tstart_slice,
2558     const int64_t *restrict tnz_slice,
2559     int nthreads
2560 ) ;
2561 
2562