Skip to content

Commit 2d62a22

Browse files
committed
Fixed builds and added missing copyright notices. Also fixed formatting of copyright notices added in last commit.
1 parent 0eecd1b commit 2d62a22

File tree

10 files changed

+313
-134
lines changed

10 files changed

+313
-134
lines changed

common_c.h

Lines changed: 42 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,42 @@
1+
/*********************************************************************/
2+
/* Copyright 2009, 2010 The University of Texas at Austin. */
3+
/* Copyright 2025 The OpenBLAS Project. */
4+
/* All rights reserved. */
5+
/* */
6+
/* Redistribution and use in source and binary forms, with or */
7+
/* without modification, are permitted provided that the following */
8+
/* conditions are met: */
9+
/* */
10+
/* 1. Redistributions of source code must retain the above */
11+
/* copyright notice, this list of conditions and the following */
12+
/* disclaimer. */
13+
/* */
14+
/* 2. Redistributions in binary form must reproduce the above */
15+
/* copyright notice, this list of conditions and the following */
16+
/* disclaimer in the documentation and/or other materials */
17+
/* provided with the distribution. */
18+
/* */
19+
/* THIS SOFTWARE IS PROVIDED BY THE UNIVERSITY OF TEXAS AT */
20+
/* AUSTIN ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, */
21+
/* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF */
22+
/* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE */
23+
/* DISCLAIMED. IN NO EVENT SHALL THE UNIVERSITY OF TEXAS AT */
24+
/* AUSTIN OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, */
25+
/* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES */
26+
/* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE */
27+
/* GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR */
28+
/* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF */
29+
/* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT */
30+
/* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT */
31+
/* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE */
32+
/* POSSIBILITY OF SUCH DAMAGE. */
33+
/* */
34+
/* The views and conclusions contained in the software and */
35+
/* documentation are those of the authors and should not be */
36+
/* interpreted as representing official policies, either expressed */
37+
/* or implied, of The University of Texas at Austin. */
38+
/*********************************************************************/
39+
140
#ifndef COMMON_C_H
241
#define COMMON_C_H
342

@@ -62,6 +101,9 @@
62101
#define CGEMM_ITCOPY cgemm_itcopy
63102
#endif
64103

104+
#define CCOMM_NCOPY ccomm_ncopy
105+
#define CCOMM_TCOPY ccomm_tcopy
106+
65107
#define CTRMM_OUNUCOPY ctrmm_ounucopy
66108
#define CTRMM_OUNNCOPY ctrmm_ounncopy
67109
#define CTRMM_OUTUCOPY ctrmm_outucopy
@@ -107,8 +149,6 @@
107149
#define CTRMM_ILNNCOPY ctrmm_ilnncopy
108150
#define CTRMM_ILTUCOPY ctrmm_iltucopy
109151
#define CTRMM_ILTNCOPY ctrmm_iltncopy
110-
#define CCOMM_NCOPY ccomm_ncopy
111-
#define CCOMM_TCOPY ccomm_tcopy
112152

113153
#define CTRSM_IUNUCOPY ctrsm_iunucopy
114154
#define CTRSM_IUNNCOPY ctrsm_iunncopy

common_d.h

Lines changed: 42 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,42 @@
1+
/*********************************************************************/
2+
/* Copyright 2009, 2010 The University of Texas at Austin. */
3+
/* Copyright 2025 The OpenBLAS Project. */
4+
/* All rights reserved. */
5+
/* */
6+
/* Redistribution and use in source and binary forms, with or */
7+
/* without modification, are permitted provided that the following */
8+
/* conditions are met: */
9+
/* */
10+
/* 1. Redistributions of source code must retain the above */
11+
/* copyright notice, this list of conditions and the following */
12+
/* disclaimer. */
13+
/* */
14+
/* 2. Redistributions in binary form must reproduce the above */
15+
/* copyright notice, this list of conditions and the following */
16+
/* disclaimer in the documentation and/or other materials */
17+
/* provided with the distribution. */
18+
/* */
19+
/* THIS SOFTWARE IS PROVIDED BY THE UNIVERSITY OF TEXAS AT */
20+
/* AUSTIN ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, */
21+
/* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF */
22+
/* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE */
23+
/* DISCLAIMED. IN NO EVENT SHALL THE UNIVERSITY OF TEXAS AT */
24+
/* AUSTIN OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, */
25+
/* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES */
26+
/* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE */
27+
/* GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR */
28+
/* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF */
29+
/* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT */
30+
/* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT */
31+
/* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE */
32+
/* POSSIBILITY OF SUCH DAMAGE. */
33+
/* */
34+
/* The views and conclusions contained in the software and */
35+
/* documentation are those of the authors and should not be */
36+
/* interpreted as representing official policies, either expressed */
37+
/* or implied, of The University of Texas at Austin. */
38+
/*********************************************************************/
39+
140
#ifndef COMMON_D_H
241
#define COMMON_D_H
342

@@ -55,6 +94,9 @@
5594
#define DGEMM_ITCOPY dgemm_itcopy
5695
#endif
5796

97+
#define DCOMM_NCOPY dcomm_ncopy
98+
#define DCOMM_TCOPY dcomm_tcopy
99+
58100
#define DTRMM_OUNUCOPY dtrmm_ounucopy
59101
#define DTRMM_OUNNCOPY dtrmm_ounncopy
60102
#define DTRMM_OUTUCOPY dtrmm_outucopy
@@ -100,8 +142,6 @@
100142
#define DTRMM_ILNNCOPY dtrmm_ilnncopy
101143
#define DTRMM_ILTUCOPY dtrmm_iltucopy
102144
#define DTRMM_ILTNCOPY dtrmm_iltncopy
103-
#define DCOMM_NCOPY dcomm_ncopy
104-
#define DCOMM_TCOPY dcomm_tcopy
105145

106146
#define DTRSM_IUNUCOPY dtrsm_iunucopy
107147
#define DTRSM_IUNNCOPY dtrsm_iunncopy

common_macro.h

Lines changed: 10 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -391,6 +391,8 @@
391391
#define GEMM_OTCOPY DGEMM_OTCOPY
392392
#define GEMM_INCOPY DGEMM_INCOPY
393393
#define GEMM_ITCOPY DGEMM_ITCOPY
394+
#define COMM_NCOPY DCOMM_NCOPY
395+
#define COMM_TCOPY DCOMM_TCOPY
394396

395397
#ifdef UNIT
396398

@@ -407,8 +409,6 @@
407409
#define TRMM_IUTCOPY DTRMM_IUTUCOPY
408410
#define TRMM_ILNCOPY DTRMM_ILNUCOPY
409411
#define TRMM_ILTCOPY DTRMM_ILTUCOPY
410-
#define COMM_NCOPY DCOMM_NCOPY
411-
#define COMM_TCOPY DCOMM_TCOPY
412412

413413
#define TRSM_IUNCOPY DTRSM_IUNUCOPY
414414
#define TRSM_IUTCOPY DTRSM_IUTUCOPY
@@ -430,8 +430,6 @@
430430
#define TRMM_IUTCOPY DTRMM_IUTNCOPY
431431
#define TRMM_ILNCOPY DTRMM_ILNNCOPY
432432
#define TRMM_ILTCOPY DTRMM_ILTNCOPY
433-
#define COMM_NCOPY DCOMM_NCOPY
434-
#define COMM_TCOPY DCOMM_TCOPY
435433

436434
#define TRSM_IUNCOPY DTRSM_IUNNCOPY
437435
#define TRSM_IUTCOPY DTRSM_IUTNCOPY
@@ -840,6 +838,8 @@
840838
#define SYMM_RU SSYMM_RU
841839
#define SYMM_RL SSYMM_RL
842840

841+
#define COMM_NCOPY SCOMM_NCOPY
842+
#define COMM_TCOPY SCOMM_TCOPY
843843

844844
#define HEMM_THREAD_LU SHEMM_THREAD_LU
845845
#define HEMM_THREAD_LL SHEMM_THREAD_LL
@@ -878,8 +878,6 @@
878878
#define TRMM_IUTCOPY STRMM_IUTUCOPY
879879
#define TRMM_ILNCOPY STRMM_ILNUCOPY
880880
#define TRMM_ILTCOPY STRMM_ILTUCOPY
881-
#define COMM_NCOPY SCOMM_NCOPY
882-
#define COMM_TCOPY SCOMM_TCOPY
883881

884882
#define TRSM_IUNCOPY STRSM_IUNUCOPY
885883
#define TRSM_IUTCOPY STRSM_IUTUCOPY
@@ -901,8 +899,6 @@
901899
#define TRMM_IUTCOPY STRMM_IUTNCOPY
902900
#define TRMM_ILNCOPY STRMM_ILNNCOPY
903901
#define TRMM_ILTCOPY STRMM_ILTNCOPY
904-
#define COMM_NCOPY SCOMM_NCOPY
905-
#define COMM_TCOPY SCOMM_TCOPY
906902

907903
#define TRSM_IUNCOPY STRSM_IUNNCOPY
908904
#define TRSM_IUTCOPY STRSM_IUTNCOPY
@@ -1119,6 +1115,8 @@
11191115
#define GEMM_OTCOPY SGEMM_OTCOPY
11201116
#define GEMM_INCOPY SGEMM_INCOPY
11211117
#define GEMM_ITCOPY SGEMM_ITCOPY
1118+
#define COMM_NCOPY SCOMM_NCOPY
1119+
#define COMM_TCOPY SCOMM_TCOPY
11221120

11231121
#ifdef UNIT
11241122

@@ -1135,8 +1133,6 @@
11351133
#define TRMM_IUTCOPY STRMM_IUTUCOPY
11361134
#define TRMM_ILNCOPY STRMM_ILNUCOPY
11371135
#define TRMM_ILTCOPY STRMM_ILTUCOPY
1138-
#define COMM_NCOPY SCOMM_NCOPY
1139-
#define COMM_TCOPY SCOMM_TCOPY
11401136

11411137
#define TRSM_IUNCOPY STRSM_IUNUCOPY
11421138
#define TRSM_IUTCOPY STRSM_IUTUCOPY
@@ -1158,8 +1154,6 @@
11581154
#define TRMM_IUTCOPY STRMM_IUTNCOPY
11591155
#define TRMM_ILNCOPY STRMM_ILNNCOPY
11601156
#define TRMM_ILTCOPY STRMM_ILTNCOPY
1161-
#define COMM_NCOPY SCOMM_NCOPY
1162-
#define COMM_TCOPY SCOMM_TCOPY
11631157

11641158
#define TRSM_IUNCOPY STRSM_IUNNCOPY
11651159
#define TRSM_IUTCOPY STRSM_IUTNCOPY
@@ -1858,6 +1852,8 @@
18581852
#define GEMM_OTCOPY ZGEMM_OTCOPY
18591853
#define GEMM_INCOPY ZGEMM_INCOPY
18601854
#define GEMM_ITCOPY ZGEMM_ITCOPY
1855+
#define COMM_NCOPY ZCOMM_NCOPY
1856+
#define COMM_TCOPY ZCOMM_TCOPY
18611857

18621858
#define GEMM3M_ONCOPYB ZGEMM3M_ONCOPYB
18631859
#define GEMM3M_ONCOPYR ZGEMM3M_ONCOPYR
@@ -1887,8 +1883,6 @@
18871883
#define TRMM_IUTCOPY ZTRMM_IUTUCOPY
18881884
#define TRMM_ILNCOPY ZTRMM_ILNUCOPY
18891885
#define TRMM_ILTCOPY ZTRMM_ILTUCOPY
1890-
#define COMM_NCOPY ZCOMM_NCOPY
1891-
#define COMM_TCOPY ZCOMM_TCOPY
18921886

18931887
#define TRSM_IUNCOPY ZTRSM_IUNUCOPY
18941888
#define TRSM_IUTCOPY ZTRSM_IUTUCOPY
@@ -1910,8 +1904,6 @@
19101904
#define TRMM_IUTCOPY ZTRMM_IUTNCOPY
19111905
#define TRMM_ILNCOPY ZTRMM_ILNNCOPY
19121906
#define TRMM_ILTCOPY ZTRMM_ILTNCOPY
1913-
#define COMM_NCOPY ZCOMM_NCOPY
1914-
#define COMM_TCOPY ZCOMM_TCOPY
19151907

19161908
#define TRSM_IUNCOPY ZTRSM_IUNNCOPY
19171909
#define TRSM_IUTCOPY ZTRSM_IUTNCOPY
@@ -2334,6 +2326,8 @@
23342326
#define GEMM_OTCOPY CGEMM_OTCOPY
23352327
#define GEMM_INCOPY CGEMM_INCOPY
23362328
#define GEMM_ITCOPY CGEMM_ITCOPY
2329+
#define COMM_NCOPY CCOMM_NCOPY
2330+
#define COMM_TCOPY CCOMM_TCOPY
23372331

23382332
#define GEMM3M_ONCOPYB CGEMM3M_ONCOPYB
23392333
#define GEMM3M_ONCOPYR CGEMM3M_ONCOPYR
@@ -2363,8 +2357,6 @@
23632357
#define TRMM_IUTCOPY CTRMM_IUTUCOPY
23642358
#define TRMM_ILNCOPY CTRMM_ILNUCOPY
23652359
#define TRMM_ILTCOPY CTRMM_ILTUCOPY
2366-
#define COMM_NCOPY CCOMM_NCOPY
2367-
#define COMM_TCOPY CCOMM_TCOPY
23682360

23692361
#define TRSM_IUNCOPY CTRSM_IUNUCOPY
23702362
#define TRSM_IUTCOPY CTRSM_IUTUCOPY
@@ -2386,8 +2378,6 @@
23862378
#define TRMM_IUTCOPY CTRMM_IUTNCOPY
23872379
#define TRMM_ILNCOPY CTRMM_ILNNCOPY
23882380
#define TRMM_ILTCOPY CTRMM_ILTNCOPY
2389-
#define COMM_NCOPY CCOMM_NCOPY
2390-
#define COMM_TCOPY CCOMM_TCOPY
23912381

23922382
#define TRSM_IUNCOPY CTRSM_IUNNCOPY
23932383
#define TRSM_IUTCOPY CTRSM_IUTNCOPY

common_s.h

Lines changed: 42 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,42 @@
1+
/*********************************************************************/
2+
/* Copyright 2009, 2010 The University of Texas at Austin. */
3+
/* Copyright 2025 The OpenBLAS Project. */
4+
/* All rights reserved. */
5+
/* */
6+
/* Redistribution and use in source and binary forms, with or */
7+
/* without modification, are permitted provided that the following */
8+
/* conditions are met: */
9+
/* */
10+
/* 1. Redistributions of source code must retain the above */
11+
/* copyright notice, this list of conditions and the following */
12+
/* disclaimer. */
13+
/* */
14+
/* 2. Redistributions in binary form must reproduce the above */
15+
/* copyright notice, this list of conditions and the following */
16+
/* disclaimer in the documentation and/or other materials */
17+
/* provided with the distribution. */
18+
/* */
19+
/* THIS SOFTWARE IS PROVIDED BY THE UNIVERSITY OF TEXAS AT */
20+
/* AUSTIN ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, */
21+
/* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF */
22+
/* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE */
23+
/* DISCLAIMED. IN NO EVENT SHALL THE UNIVERSITY OF TEXAS AT */
24+
/* AUSTIN OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, */
25+
/* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES */
26+
/* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE */
27+
/* GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR */
28+
/* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF */
29+
/* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT */
30+
/* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT */
31+
/* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE */
32+
/* POSSIBILITY OF SUCH DAMAGE. */
33+
/* */
34+
/* The views and conclusions contained in the software and */
35+
/* documentation are those of the authors and should not be */
36+
/* interpreted as representing official policies, either expressed */
37+
/* or implied, of The University of Texas at Austin. */
38+
/*********************************************************************/
39+
140
#ifndef COMMON_S_H
241
#define COMMON_S_H
342

@@ -72,6 +111,9 @@
72111
#define SGEMM_ITCOPY sgemm_itcopy
73112
#endif
74113

114+
#define SCOMM_NCOPY scomm_ncopy
115+
#define SCOMM_TCOPY scomm_tcopy
116+
75117
#define STRMM_OUNUCOPY strmm_ounucopy
76118
#define STRMM_OUNNCOPY strmm_ounncopy
77119
#define STRMM_OUTUCOPY strmm_outucopy
@@ -117,8 +159,6 @@
117159
#define STRMM_ILNNCOPY strmm_ilnncopy
118160
#define STRMM_ILTUCOPY strmm_iltucopy
119161
#define STRMM_ILTNCOPY strmm_iltncopy
120-
#define SCOMM_NCOPY scomm_ncopy
121-
#define SCOMM_TCOPY scomm_tcopy
122162

123163
#define STRSM_IUNUCOPY strsm_iunucopy
124164
#define STRSM_IUNNCOPY strsm_iunncopy

common_z.h

Lines changed: 42 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,42 @@
1+
/*********************************************************************/
2+
/* Copyright 2009, 2010 The University of Texas at Austin. */
3+
/* Copyright 2025 The OpenBLAS Project. */
4+
/* All rights reserved. */
5+
/* */
6+
/* Redistribution and use in source and binary forms, with or */
7+
/* without modification, are permitted provided that the following */
8+
/* conditions are met: */
9+
/* */
10+
/* 1. Redistributions of source code must retain the above */
11+
/* copyright notice, this list of conditions and the following */
12+
/* disclaimer. */
13+
/* */
14+
/* 2. Redistributions in binary form must reproduce the above */
15+
/* copyright notice, this list of conditions and the following */
16+
/* disclaimer in the documentation and/or other materials */
17+
/* provided with the distribution. */
18+
/* */
19+
/* THIS SOFTWARE IS PROVIDED BY THE UNIVERSITY OF TEXAS AT */
20+
/* AUSTIN ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, */
21+
/* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF */
22+
/* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE */
23+
/* DISCLAIMED. IN NO EVENT SHALL THE UNIVERSITY OF TEXAS AT */
24+
/* AUSTIN OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, */
25+
/* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES */
26+
/* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE */
27+
/* GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR */
28+
/* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF */
29+
/* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT */
30+
/* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT */
31+
/* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE */
32+
/* POSSIBILITY OF SUCH DAMAGE. */
33+
/* */
34+
/* The views and conclusions contained in the software and */
35+
/* documentation are those of the authors and should not be */
36+
/* interpreted as representing official policies, either expressed */
37+
/* or implied, of The University of Texas at Austin. */
38+
/*********************************************************************/
39+
140
#ifndef COMMON_Z_H
241
#define COMMON_Z_H
342

@@ -62,6 +101,9 @@
62101
#define ZGEMM_ITCOPY zgemm_itcopy
63102
#endif
64103

104+
#define ZCOMM_NCOPY zcomm_ncopy
105+
#define ZCOMM_TCOPY zcomm_tcopy
106+
65107
#define ZTRMM_OUNUCOPY ztrmm_ounucopy
66108
#define ZTRMM_OUNNCOPY ztrmm_ounncopy
67109
#define ZTRMM_OUTUCOPY ztrmm_outucopy
@@ -89,8 +131,6 @@
89131
#define ZTRMM_ILNNCOPY ztrmm_olnncopy
90132
#define ZTRMM_ILTUCOPY ztrmm_oltucopy
91133
#define ZTRMM_ILTNCOPY ztrmm_oltncopy
92-
#define ZCOMM_NCOPY zcomm_ncopy
93-
#define ZCOMM_TCOPY zcomm_tcopy
94134

95135
#define ZTRSM_IUNUCOPY ztrsm_ounucopy
96136
#define ZTRSM_IUNNCOPY ztrsm_ounncopy
@@ -109,8 +149,6 @@
109149
#define ZTRMM_ILNNCOPY ztrmm_ilnncopy
110150
#define ZTRMM_ILTUCOPY ztrmm_iltucopy
111151
#define ZTRMM_ILTNCOPY ztrmm_iltncopy
112-
#define ZCOMM_NCOPY zcomm_ncopy
113-
#define ZCOMM_TCOPY zcomm_tcopy
114152

115153
#define ZTRSM_IUNUCOPY ztrsm_iunucopy
116154
#define ZTRSM_IUNNCOPY ztrsm_iunncopy

0 commit comments

Comments
 (0)