Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1485 commits
Select commit Hold shift + click to select a range
599802f
Accurary tests implementation for sygvd/hegvd APIs
Sep 19, 2024
cae8ea2
Update the LICENSE text
pradeeptrgit Oct 9, 2024
1ed94b9
Added -fopenmp flag in compiler flag
Sep 23, 2024
de6e454
AOCL-LAPACK: Parallelization of Double Precision LU, DGETRF API
Sep 20, 2024
3b0f1f7
AOCL-LAPACK: Version upgrade to 5.0.1
Oct 17, 2024
eb3cc56
AOCL-LAPACK: Set optimal block size based on input size for geqrf api
Oct 9, 2024
b2a305a
Updated configure file to include -fopenmp in compiler flag only when…
Oct 16, 2024
0fd8373
AOCL LAPACK Testsuite: LAPACKE interface support for GBTRF and GBTRS API
Sep 19, 2024
2480d29
AOCL LAPACK: Fix in gesdd_fla_check input params error check conditions
Oct 18, 2024
70132a4
Update License text
pradeeptrgit Oct 25, 2024
4d3bc15
Revert "Update License text"
pradeeptrgit Oct 25, 2024
99958ef
Add NOTICES file
pradeeptrgit Oct 25, 2024
0a573ef
Use new AOCL-Utils API for getting the ISA information
pradeeptrgit Oct 18, 2024
1a35df8
Native implementation of sgelsd and dgelsd
Oct 24, 2024
fa0fb33
Fix in DGESVD Optimization
varajago Nov 15, 2024
f94fd32
Performance improvement in dgetri 3x3 input size
Nov 7, 2024
ee04405
AOCL LAPACK Test suite: Update init_matrix_from_file() to read in col…
Nov 19, 2024
df74a33
Fixes in DGESVD Optimized paths for small sizes
varajago Nov 25, 2024
f613b23
Test case enhancements for sygvd/hegvd APIs
Nov 14, 2024
2680688
AOCL LAPACK Test suite: Fix for gesdd, gesvd JOBZ/JOBU/JOBVT=O corner…
Oct 24, 2024
5065142
AOCL LAPACK Test suite: Optimizing Memory Usage in structures
ksaithar Nov 15, 2024
c924751
AOCL-LAPACK Test Suite: Add hetrf_rook test case
Oct 30, 2024
2a623ec
AOCL-LAPACK: geqrf - Set optimal block sizes for input size ranges
Oct 30, 2024
f8de6a3
AOCL-LAPACK: Upgrade to LAPACK-3.12 Part 1 - Double Precision
Dec 11, 2024
0aee1c5
Optimisation porting to sgetrf
Nov 19, 2024
7a09c60
cmake presets support for libFLAME and cmake enhancements
Oct 3, 2024
55f6127
AOCL-LAPACK: Upgrade to LAPACK-3.12 Part 1 - Double Precision New files
Dec 12, 2024
9953fac
CPP interface changes in main test suite.
mopathan Nov 13, 2024
688f7d8
AOCL-LAPACK: Upgrade to LAPACK-3.12 Part 2 - Double Precision Complex
Dec 16, 2024
7fe4e04
AOCL-LAPACK Test-Suite: Add sytrf_rook test case
Dec 10, 2024
755a4b7
AOCL-LAPACK: Upgrade to LAPACK - 3.12 Part 2 - Double Precision Compl…
Dec 23, 2024
b68897f
AOCL LAPACK Test suite: Update in INVALID_PARAM test status condition
Jan 3, 2025
2793309
AOCL-LAPACK: Upgrade to LAPACK - 3.12 Part 3 - Single Precision
Oct 7, 2024
b79916c
DGEQP3 perf gap optimization for 10x10 input size
Dec 12, 2024
ca29148
AOCL-LAPACK: Fix for build warning
Jan 10, 2025
fe23cb5
AOCL-LAPACK: Upgrade to LAPACK - 3.12 Part 3 - Single Precision New F…
Jan 10, 2025
a0a5685
AOCL-LAPACK: Fix for GELS, GELSS, GELSD test failure
Dec 16, 2024
391721c
AOCL-LAPACK: Upgrade to LAPACK - 3.12 Part 4- Single Precision Complex
Jan 13, 2025
3535c83
CMake presets and pkg-config enhancement
Jan 21, 2025
f2a3390
AOCL-LAPACK: Upgrade to LAPACK - 3.12 Part 4 - Single Precision Compl…
Jan 13, 2025
6a5c7eb
AOCL-LAPACK: Fix to obfuscate absolute file paths in shared binaries
Jan 22, 2025
d50bb4c
AOCL-LAPACK: Fix for windows build warning
Jan 27, 2025
36c61aa
AOCL LAPACK: Update SGESDD to use lapack code for all sizes
Jan 24, 2025
df1e487
Fix Tau value compuatation in SYTRD
Jan 16, 2025
3d70d18
lange API test cases
Jan 3, 2025
cdf5f1d
CPP changes for 10 more APIs in main test suite.
mopathan Jan 7, 2025
7765761
AOCL-LAPACK: Upgrade to LAPACK - 3.12 : Part 5 - Remaining files
Jan 21, 2025
3f6ff80
AOCL-LAPACK : Test Suite - Addition of test case for GECON
Jan 3, 2025
01952a5
AOCL-LAPACK: LAPACK version string update
Jan 29, 2025
edcc6f8
AOCL LAPACK: GEJSV accuracy issue
Jan 22, 2025
4e84804
DORGQR optimization with change in DLARF threshold.
mopathan Jan 28, 2025
091b09c
AOCL-LAPACK: Updating default Netlib test directory to lapack-3.12
Jan 30, 2025
a8247f9
AOCL LAPACK: Test Suite - Addition of getrfnp and getrfnpi APIs
Jan 31, 2025
76ea4f1
Argument checks for LQ small path
varajago Feb 2, 2025
63abd83
GBTRF performance improvement
Jan 28, 2025
cd23cb6
ZGELS Optimization
Dec 17, 2024
9cb6dad
AOCL-LAPACK Test Suite: hetrf and hetri_rook test case addition
Dec 11, 2024
263f44a
AOCL-LAPACK: Remove older netlib-test folders from AOCL-LAPCK
Feb 5, 2025
3483469
CMake compiler flag update
Jan 28, 2025
2f6e2b0
AOCL LAPACK: Coverity errors fix
Feb 6, 2025
4bb6172
CMake compiler flag update
Feb 6, 2025
cf8ac8c
Misc corrections
edwsmyth Dec 4, 2024
019e740
Use AOCL_ROOT variable to get dependent library paths
pradeeptrgit Jan 9, 2025
9644e0c
AOCL-LAPACK: Fix for Increase in Netlib tests errors
Feb 5, 2025
00419ae
DLARTG: Fix for QZ Convergence Failure
Feb 7, 2025
818bb14
AOCL-LAPACK: lapack-3.12 netlib test support to Window
Feb 7, 2025
7378454
AOCL-LAPACK: DTL log update
Jan 22, 2025
4cf61b6
DGESVD: Fix for extreme value test failure
varajago Feb 8, 2025
2949ed4
Test-Suite: Modifications to display of results
varajago Jan 10, 2025
aafecc8
DGESDD Optimization: Allocating optimal number of threads
varajago Jan 6, 2025
12f92bc
DSYEVD optimization
Jan 10, 2025
2510a36
AOCL LAPACK: dgels precision error fix
Jan 30, 2025
a8bc424
Added missing CPP interface API's
Feb 7, 2025
2023b65
Static build must go through with just AOCL-Utils header path
pradeeptrgit Feb 11, 2025
40bbe46
Libflame CPP interface update
Feb 11, 2025
5877940
Fix incorrect variable used for AOCL-Utils library name
pradeeptrgit Feb 12, 2025
181cd57
AOCL-LAPACK: Fix for hetri_rook API corner case test failure
Feb 12, 2025
07f665c
AOCL-LAPACK: Fix for windows build warning
Feb 12, 2025
909cad6
AOCL-LAPACK: PKGCONFIG update to use aocl-blas/aocl-blas-mt
Feb 12, 2025
aa0529a
LANGE: Fix NaN handling in vector code
Feb 10, 2025
2043ccf
AOCL-LAPACK: Fix for DGELSS failure and windows warnings
Feb 11, 2025
a5b8b05
AOCL-LAPACK: Doxygen file update
Feb 13, 2025
4be6669
AOCL-LAPACK: Fix for DGELSS failure and windows warnings
Feb 18, 2025
b08c9b8
AOCL-LAPACK: Doxygen file update
Feb 17, 2025
b6034d6
AOCL-LAPACK: PKGCONFIG update to use aocl-blas/aocl-blas-mt
Feb 12, 2025
e6cf461
AOCL LAPACK Test suite: Fix in GESDD error display
Feb 20, 2025
d631449
AOCL LAPACK Test suite: Fix in GESDD error display
Feb 20, 2025
a953756
AOCL LAPACK: PKGCONFIG Changes
Feb 25, 2025
5809c7c
Fix AOCL-Utils header path logic in CMake
pradeeptrgit Feb 24, 2025
d1e3bfe
AOCL LAPACK: PKGCONFIG Changes
Feb 25, 2025
5994023
Fix AOCL-Utils header path logic in CMake
pradeeptrgit Feb 24, 2025
719b551
AOCL LAPACK Test suite: Test case for ORMQR API and minor enhancements
Feb 10, 2025
68277ba
Fix for ASAN build failure with test suite.
mopathan Feb 21, 2025
d91f73a
Fix ZGETRFNPI wrapper code argument
pradeeptrgit Feb 27, 2025
d3c1e57
Fix ZGETRFNPI wrapper code argument
pradeeptrgit Feb 27, 2025
ec68e9a
Fix for ASAN build failure with test suite.
mopathan Feb 21, 2025
990487c
DGESDD: Correction in Optimal Threads Allocation
varajago Feb 27, 2025
cf8c53c
DGESDD: Correction in Optimal Threads Allocation
varajago Feb 27, 2025
896c853
AOCL-LAPACK: Fix error finding BLIS using pkgconfig
Mar 7, 2025
0918f14
AOCL-LAPACK: Fix error finding BLIS using pkgconfig
Mar 7, 2025
bad082d
AOCL-LAPACK: Update test suite to use lapacke.h
Feb 27, 2025
9e7407d
AOCL LAPACK Test suite: Case insensitive (char)input support
Mar 3, 2025
378e48e
AOCL LAPACK: pkg-config name change
Mar 11, 2025
c0138d3
AOCL LAPACK: pkg-config name change
Mar 11, 2025
fa69aa3
AOCL-LAPACK: Makefile update for fixing compilation issue
Mar 11, 2025
3dea6a0
AOCL-LAPACK: Version upgrade to 5.1.0
Mar 14, 2025
c58a80c
Added singularity check in SPFFRT2 and SPFFRTX routines
Mar 18, 2025
b67a7ad
AOCL-LAPACK: LAPACK-3.12 update of LAPACK-3.10 files
Feb 25, 2025
0971af3
Added singularity check in SPFFRT2 and SPFFRTX routines
Mar 18, 2025
8a94e34
Insert explicit project name for LAPACK RST API docs
janfiala-amd Mar 19, 2025
253c8f0
AOCL LAPACK Test Suite: gejsv test addition
Mar 2, 2025
8a646eb
AOCL-LAPACK: CMakeList and Makefile update for fixing test suite comp…
Mar 21, 2025
2cdc97a
AOCL-LAPACK: Update for API guide document
Mar 25, 2025
9f3d0e7
Libflame : Implement LABRD test case
Feb 20, 2025
832f722
AOCL-LAPACK: Update for API guide document
Apr 1, 2025
ff312c5
AOCL LAPACK Test suite: ORMQR conformance tests, bug fix
Apr 3, 2025
07bd530
New SYTRD test case in main test suite
mopathan Mar 19, 2025
50f19ec
AOCL LAPACK: Build errors and warning fixes
Apr 17, 2025
0618668
Add CPP test support for few more APIs in main test suite.
mopathan Apr 18, 2025
a073c53
Updates to License and Third Party Notice
varajago May 2, 2025
8545bc6
Updates to License and Third Party Notice
varajago May 2, 2025
b7c336d
Resolve merge conflicts from internal branch
pradeeptrgit May 6, 2025
8764169
AOCL-LAPACK : Test Suite - Addition of test case for ORMLQ
Feb 8, 2025
79d525b
AOCL-LAPACK: Version upgrade to 5.1.0
Mar 14, 2025
38c3bd4
AOCL LAPACK: BUILD Error Fix with AOCL-BLAS and LP64 (#18)
May 28, 2025
6a34c77
Add Ctests for LABRD API (#14)
May 28, 2025
2897dc0
SWLDEVOPS-7853 - Action file to mandate branch naming convention (#7)
vkallesh May 30, 2025
18c288d
Fixed SYEVX fail for MKL (#27)
Jun 13, 2025
b9e8f95
New POTRI test case in main test suite. (#26)
mopathan Jun 17, 2025
0b315c9
DGESVD Small Size Optimization Update (#13)
varajago Jul 1, 2025
2fcb283
GETRF perf gap improvement for input range 10 to 10000 (#15)
Jul 2, 2025
b88eab0
AOCL-LAPACK Test Suite: Fix for negative FLOPS issue (#33)
Jul 8, 2025
41b3798
Adapt Peer Review Checklist to aocl-libflame
Jul 7, 2025
3988bd0
AOCL-LAPACK Test Suite: Benchmark mode and feature additions
Jul 15, 2025
cf15082
TRSEN: Allocation of IWORK for all job types
varajago Jul 15, 2025
a7008f4
Netlib test errors fixed which were introduced due to addition (#45)
varajago Jul 15, 2025
b695301
AOCL LAPACK: DLARF, DLARFT, DLACPY and DGEQRF Optimizations
Jul 18, 2025
5577481
AOCL-LAPACK: DPOTRF optimization for large size
Jul 18, 2025
f8c6ac9
DSYEVD optimization
Jul 18, 2025
ab61446
AOCL-LAPACK: Test code for GBSV API (#41)
ksaithar Jul 23, 2025
22be9ac
AOCL-LAPACK: Fix for Matlab test failure
Jul 24, 2025
f9822b7
Fix for failures in Negative test cases (#51)
varajago Jul 29, 2025
d5c7c1b
AOCL-LAPACK [CPUPL-6899]: Added compile time and runtime security fla…
Jul 29, 2025
f7a1023
AOCL-LAPACK: Test code for GETRF2 API (#52)
ksaithar Jul 29, 2025
171e174
AOCL LAPACK: Fix in lapacke unmlq nancheck (#55)
Jul 31, 2025
3e0eaaf
GEBRD Test case Addition
varajago Aug 5, 2025
df0b393
AOCL LAPACk testsuite: Added TRTRI testcase (#58)
Aug 7, 2025
0bc2011
CMake: Prioritize CMake option over environment variable for AOCL_ROO…
Aug 12, 2025
b764970
autoconf dependency removal to clear GPL License Terms
Aug 13, 2025
e79ffaa
Removed GPL terms from Notices file
Aug 13, 2025
df1d461
DGETRS api performance improvement through dlaswp parallelization
Aug 11, 2025
ff77fc3
AOCL-LAPACK : ZGETRI small size optimisation (#38)
Aug 14, 2025
6e99e61
Libflame Test-suite : Bit reproducibility feature addition (#23)
Aug 18, 2025
f4811a3
AOCL LAPACK: Memory leak fix
Aug 18, 2025
b0931b7
Fix for ctest failures
varajago Aug 18, 2025
c80e0ce
Early exit conditions in test function
varajago Aug 21, 2025
c16467e
AOCL-LAPACK Test suite: Test case addition for trtrs
Aug 21, 2025
688ad35
I/O Utils routines removal
varajago Aug 21, 2025
b115caa
Changed XERBLA Error Message
varajago Aug 21, 2025
dece805
AOCL LAPACK: Fix for dlarf regression
Aug 21, 2025
6abeb41
Added Test code for GETF2, GBTF2 and GBSVX APIs (#62)
ksaithar Aug 22, 2025
46a57c7
Fixed ILP64 (uint_64) support and refactored BRT code (#75)
Aug 22, 2025
7ca9045
AOCL-LAPACK: DPOTRF performance tuning (#82)
Aug 25, 2025
83f948b
Added 1st Batch of APIs with Bit reproducibility Tests (#77)
Aug 25, 2025
df04f7e
DPOTRI optimization for small sizes (1-17) (#74)
mopathan Aug 25, 2025
3f935d1
AOCL LAPACK: DGETRI small size optimization (#80)
Aug 25, 2025
9f06703
Added 2nd Batch of APIs with Bit reproducibility Tests (#78)
Aug 25, 2025
9809830
AOCL-LAPACK: LAPACKE 3.12.1 update
Aug 25, 2025
6f0cd9d
Fix for Compilation failure in Linux
Aug 26, 2025
08e492d
AOCL-LAPACK: Document update
Aug 26, 2025
88b4117
Added Test code for POTF2, GETC2 and POTRF2 (#83)
ksaithar Aug 28, 2025
2b3c84d
AOCL LAPACK: Regression fix for DLARF (side = R) (#84)
Aug 28, 2025
aecb982
AOCL LAPACK Testsuite: Fix in early return checks (#88)
Aug 28, 2025
6c961da
Regression fix for DSYEVD
Aug 28, 2025
d132e5e
AOCL-LAPACK: DGEQRF small size regression fix (#93)
Sep 1, 2025
6f84b05
Wrapper code inclusion in FLAME.h to support all api formats
Aug 28, 2025
15a492f
Add AI Code Review Self-enablement file (#92)
pradeeptrgit Sep 5, 2025
66bba3d
DGEMV direct call to AOCL-BLAS Kernel
varajago Sep 8, 2025
7907ed3
DGEMV direct call to AOCL-BLAS Kernel
varajago Sep 8, 2025
60277ca
AOCL-LAPACK: DGEQRF small size regression fix
Sep 8, 2025
5f39979
Wrapper code inclusion in FLAME.h to support all api formats
varajago Sep 8, 2025
5c5fb7c
AOCL LAPACK: dgesvd fix to make singular values positive (#97)
Sep 9, 2025
374e410
Add AI Code Review workflow (#102)
Sep 10, 2025
586bc55
AOCL LAPACK: dgesvd fix to make singular values positive (#97) (#104)
Sep 10, 2025
8f2fb53
AOCL LAPACK Legacy Test Suite: Compilation Fix (#103)
Sep 10, 2025
6aa265c
AOCL LAPACK Legacy Test Suite: Compilation Fix (#103) (#105)
Sep 12, 2025
d6298fb
Memory leak fix for gesv test code (#109)
varajago Sep 12, 2025
b001ee7
Coverity high impact fixes (#107)
Sep 15, 2025
b7ff55e
Memory leak fix for gesv test code (#110)
varajago Sep 15, 2025
71d6fd3
Coverity high impact fixes (#107) (#111)
Sep 15, 2025
43e494b
3rd Batch of APIs with Bit reproducibility Tests (#87)
Sep 16, 2025
93e961d
Add files via upload (#117)
amd-anprabhu Sep 18, 2025
1c58d47
Random-init mode in main test and 64bit indexing support (#118)
Sep 18, 2025
fb6e889
U/vprasada/pr/ctest failures fix for windows
Sep 19, 2025
2e6cb90
Ctest failures fix for windows
Sep 21, 2025
2afc428
AOCL-LAPACK: BRT CTests failures fix (#124)
Sep 22, 2025
d4830ae
Support build time fixing of ISA paths (#125)
pradeeptrgit Sep 23, 2025
979d57c
Support build time fixing of ISA paths (#125) (#126)
pradeeptrgit Sep 24, 2025
371d793
Add CodeQL analysis workflow for C++ and Python (#130)
amd-anprabhu Sep 26, 2025
6d2d4be
Conversion of integer datatype to 64-bit
varajago Sep 30, 2025
343a807
Modifications for compatibility and uniformity oc complex types
varajago Oct 3, 2025
caac8a8
Fix for missing GEMM calls in spffrt APIs (#138)
varajago Oct 8, 2025
e814cd5
Add Bit Reproducibility Tests (BRT) support for all the remaining LAP…
Oct 8, 2025
d0fb8a5
Fix for LAPACKE_ matrix math scaling perf reported on HPE DL385 Gen11
Oct 11, 2025
9382935
AOCL LAPACK: getrf large size perf regression fix (#145)
Oct 13, 2025
a2906d7
AOCL LAPACK: getrf large size perf regression fix
Oct 13, 2025
23a0b42
Fix for perf regression using BLIS threads
varajago Oct 14, 2025
69d40e8
Fix for perf regression using BLIS threads
varajago Oct 14, 2025
13e2c11
DLASWP, DGETRS, DGBTRF regression fix changes. (#142)
mopathan Oct 15, 2025
ed8375a
DLASWP, DGETRS, DGBTRF regression fix changes. (#149)
mopathan Oct 15, 2025
23bccbd
Fix for regression in DGESVD small sizes
varajago Oct 15, 2025
7389562
Fix for regression in DGESVD small sizes (RC)
varajago Oct 16, 2025
92f6fa0
AOCL LAPACK: DORGQR Regression Fix (#150)
Oct 16, 2025
43fe8b9
AOCL LAPACK: DORGQR Regression Fix (#151)
Oct 16, 2025
0c03309
Performance fix for DGESV for small size ranges
varajago Oct 17, 2025
a1590c7
ZGETRF regression issue (#155)
Oct 17, 2025
f6c43c7
AOCL-RC branch compilation issue (#157)
Oct 21, 2025
882a0d5
ZGETRF regression issue (#160)
Oct 24, 2025
0f06845
Version String Update
varajago Oct 24, 2025
e21c51c
AOCL-LAPACK : Fix for test-suite warnings in windows build (#153)
Oct 29, 2025
2e9d475
AOCL LAPACK: DLACPY invalid size handling (#163)
Oct 31, 2025
626d268
AOCL LAPACK: DLACPY invalid size handling (#164)
Oct 31, 2025
0b3f94b
AOCL-LAPACK: BUILD.md update
Oct 31, 2025
1f1a0e0
AOCL-LAPACK: BUILD.md update
Nov 1, 2025
9b28d8c
Small size threshold update for DGESDD
varajago Nov 4, 2025
83ba6ab
Small size threshold update for DGESDD
varajago Nov 4, 2025
8807758
AOCL LAPACK Test suite: Implement unified test mode: random input gen…
Nov 5, 2025
4269fcb
AI-based code review capabilities for an AI PR platform. (#171)
vkallesh Nov 7, 2025
0858478
AOCL-LAPACK : DGELSS optimization, underlying APIs utilising lapack c…
Nov 10, 2025
55b8f16
U/yyuvraj/pr/cpupl 7466 (#146)
Nov 19, 2025
6956f1a
AI Based Coverity (#181)
ksaithar Nov 26, 2025
99a7a34
Fix to resolve failures with GEEV, GEEVX tests. (#176)
mopathan Nov 26, 2025
ae26923
DPOTRI optimization for medium sizes upto 65 (#175)
mopathan Nov 28, 2025
e1936eb
AOCL LAPACK Test suite: Addition of API wise ctests (#174)
Dec 3, 2025
7e00773
AOCL-LAPACK: Build warnings fixing (#178)
Dec 5, 2025
4aa04f5
Remove unused configure_tidsp file (#184)
pradeeptrgit Dec 10, 2025
ae8f43e
Updates to LICENSE and TPN
varajago Dec 18, 2025
ddf0dc7
Merging changes from AMD libFLAME internal repo
varajago Jan 4, 2026
95c9708
Test suite for BDSQR (#101)
Jan 6, 2026
69cb2b6
Fix for DGELS Regression
varajago Jan 11, 2026
eb264a7
Fix to prevent failures with residual when norm is 0. (#198)
mopathan Jan 13, 2026
365a579
AOCL-LAPACK: Build Error Fix for AVX2 (#213)
Jan 13, 2026
cc113f7
AOCL-LAPACK: Fix for GELSS validation failure for Rank < N (#167)
Jan 23, 2026
eeadb0f
AOCL-LAPACK: Fix for Reproducibility failures observed on POTRF, POTF…
Jan 27, 2026
7db13e8
zen5 model update
Jan 28, 2026
ffd88d9
Version String Update to 5.2
varajago Jan 30, 2026
badddac
Remove unused configure_tidsp file
pradeeptrgit Jan 30, 2026
7315582
AOCL-LAPACK: Version string update as 5.2.2 (#234)
Feb 3, 2026
55e0dd7
Updated LICENSE and NOTICES for 5.2.2 release
Mar 20, 2026
ed29a1c
Merging changes from internal repo
varajago Mar 20, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
118 changes: 118 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
# Style file based on the modified rocBLAS / AOCL-Sparse style

# Common settings
BasedOnStyle: WebKit
TabWidth: 4
IndentWidth: 4
UseTab: Never
ColumnLimit: 100

# Other languages JavaScript, Proto

---
Language: Cpp
DisableFormat: false
Standard: Cpp11

AccessModifierOffset: -4
AlignAfterOpenBracket: true
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
AlignEscapedNewlines: Left
AlignOperands: true
AlignTrailingComments: false
AllowAllArgumentsOnNextLine: true
AllowAllConstructorInitializersOnNextLine: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortBlocksOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: Empty
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterDefinitionReturnType: false
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: false
AlwaysBreakTemplateDeclarations: true
# If false, a function call’s arguments will either be all on the same line or will have one line each
BinPackArguments: true
# If false, a function call’s arguments will either be all
# on the same line or will have one line each.
BinPackParameters: true

# Configure each individual brace in BraceWrapping
BreakBeforeBraces: Custom
# Control of individual brace wrapping cases
BraceWrapping: {
AfterCaseLabel: 'true'
AfterClass: 'true'
AfterControlStatement: 'true'
AfterEnum : 'true'
AfterFunction : 'true'
AfterNamespace : 'true'
AfterStruct : 'true'
AfterUnion : 'true'
BeforeCatch : 'true'
BeforeElse : 'true'
IndentBraces : 'false'
}

CommentPragmas: '^ IWYU pragma:'
ConstructorInitializerAllOnOneLineOrOnePerLine: false
ConstructorInitializerIndentWidth: 4
ContinuationIndentWidth: 4
Cpp11BracedListStyle: true
SpaceBeforeCpp11BracedList: false
DerivePointerAlignment: false
ExperimentalAutoDetectBinPacking: false
ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
IndentCaseLabels: true
IndentPPDirectives: None
IndentWrappedFunctionNames: true
KeepEmptyLinesAtTheStartOfBlocks: true
MacroBlockBegin: ''
MacroBlockEnd: ''
MaxEmptyLinesToKeep: 1
NamespaceIndentation: All
ObjCBlockIndentWidth: 4
PenaltyBreakBeforeFirstCallParameter: 19
PenaltyBreakComment: 300
PenaltyBreakFirstLessLess: 120
PenaltyBreakString: 1000

PenaltyExcessCharacter: 1000000
PenaltyReturnTypeOnItsOwnLine: 60
PointerAlignment: false
SpaceAfterCStyleCast: false
SpaceBeforeAssignmentOperators: true
SpaceBeforeParens: Never
SpaceInEmptyBlock: false
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 1
SpacesInAngles: false
SpacesInContainerLiterals: true
SpacesInCStyleCastParentheses: false
SpacesInSquareBrackets: false

# Include sorting rules:
# ".h"
# ".hpp"
#
# <>
SortIncludes: true
IncludeBlocks: Regroup
IncludeCategories:
- Regex: '^".*\.h"'
Priority: 1
SortPriority: 1
- Regex: '^".*\.hpp"'
Priority: 1
SortPriority: 2
- Regex: '^<.*>'
Priority: 2
- Regex: '.*'
Priority: 10
# Deactivate the main header sorting
IncludeIsMainRegex: '^A'

# Comments will be formatted similar to the function calls
ReflowComments: true
33 changes: 33 additions & 0 deletions .github/.ai_pr_platform/ai-pr-platform-app.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
assistantDefaults:
skip_draft: false
label_exclusions: []
exclude_pr_authors: []
exclude_comment_authors: []
filtered_ticket_ids: []
skip_comment_from_pr_author: false
post_info_reply_comment: true
teams:
- name: csg
branches:
- amd-main
- AOCL-*-RC

assistants:
- type: PRSummary
enabled: true
- type: CodingStandard
enabled: true
- type: AIReviewCommentFix
enabled: true
- type: CodeQLHistorical
enabled: true
- type: CodeQLScheduled
enabled: true
params:
schedule: 30 11 * * 7
- type: CoverityHistorical
enabled: true
- type: CodePorting
enabled: true
- type: CodePortingHistorical
enabled: true
23 changes: 23 additions & 0 deletions .github/.ai_pr_platform/ai_coverity.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"csg": {
"server": "http://jenkinserver.amd.com:8082",
"projects": ["AOCL_RELEASE"],
"default_branch": "amd-main",
"default_issue_types": [],
"formatting": {
"ticket_id": "CPUPL-7574",
"email_recipients": [""],
"path_extraction_pattern": [
"examples/.*",
"mt_examples/.*",
"mt_examples_f77/.*",
"performance_test/.*",
"src/.*",
"test/.*",
"tmp/.*",
"windows/.*"
],
"is_csg": true
}
}
}
145 changes: 145 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE/common-mistakes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,145 @@
# List of things to check before submitting the code for review

This document presents the common mistakes often seen during the review and
also includes some general guidelines in code writing and testing.

Please make sure as a PR (Pull-Request) submitter
(or as a first-stage code reviewer) these are eliminated wherever possible.

## General

- Use PR / commit descriptions where possible to indicate what has
changed, it helps your peer reviewer to understand basic differences
among 20+ commits

- Don't change the status of the associated Jira ticket(s to implemented unless merged and
**agreed with your reviewer**

- Include ticket number in the Pull-Request message (the PR template will
have an entry for you to fill in)

## Builds

- Don't submit a branch for a review unless it passes all pre-submit CI
jobs

- Check that your code didn't add any new compiler warnings

## Library code

- Don't reinvent the *wheel*, reuse existing infrastructure

Chance that you need something slightly different which tempts
you to write a very similar function to an existing one is
likely an indicator that you should think twice.

- **Do NOT copy/paste code**. There might be rare occasions where it is
useful but in general it denotes bad code design (particularly for
bigger code blocks). Consider using a function or a template
function with parameters.

- Calls to functions (e.g., internal ones) should check for their
return `status` which is propagated down the call stack in transparent
manner (use as appropiate `return error(...);` or `return status;`)

- Use variable names matching their common interpretation and ideally
only in that context

e.g., `i` ~ row index, `j` ~ column index

- Use `const` keyword on pointers and references wherever required
(including the internal functions) but don't use them for
scalars passed-by-value.

Use `const` also when casting constant pointers (otherwise you might wipe
this protection off).

- Document your code, particularly pay extra attention to

- New data structures, enums, etc.

- Internal functions with many parameters: is it obvious how all
parameters are connected? Will it ever get reused?

- Test all aspects of your input early in your user-facing API

- Never dereference a pointer without checking earlier that it is
not `nullptr` (or `NULL`)

## Documentation

- Build the documentation and read it from there if the formatting is
correct

- Is the API listed in `.rst` files that the documentation appears
at all?

- Imagine that you read the documentation without prior knowledge of
the API, would you be able to use it? Write examples? Understand
what needs to be on input and how to process output?

- Are all errors the API can return listed?

- Follow the common patterns how to refer to things, examples:

- If your API has an example, include it in the documentation via *collapsed
file loading*

- Typography: don't place **spaces** before commas, semicolons,
colons etc. (e.g., not *~~word1 , word2 : word3~~* but *word1,
word2: word3*)

## Example

- Check returned status of all public APIs called

- Include a basic check if the API works and return non-zero code if
it didn't, this helps to use the example as a test in the CTest framework

## Testing

- Good practice is to run only your new unit tests and check the
coverage. Do you see what you expected? Ideally coverage LOC percentage would
not decrease

- When creating wrong input cases, make sure that exactly one thing is
wrong (e.g., if matrix is supposed to be symmetric and of matching
dimensions, there should be multiple test cases such as the
dimension is right but it is not symmetric, it is symmetric but the
dimension is wrong)

- Also make it just slightly wrong, not by miles (e.g., if we
expect $n=m$, choosing 5 & 6 might be more likely to fail than 5
& 234891)

- Choose such input that it is likely to detect error, examples what
not to do:

- square matrix $m=n$ so making a mistake by swapping $n$ & $m$ is not
discovered

- input vector or matrix of all ones doesn't test that the correct indices are
accessed

- Complex numbers with same real and imaginary parts

- Test on edge case input as well as typical

- e.g., 0-sizes, 0-nnz, 1 row matrix, ...

- Set correct tolerances for the expected results, use tolerance relative to machine epsilon

- Use standardized facilities to check if your results match with the
reference, **don't write comparison functions that already exist**

- If using radnomly generated data, initialize the random seed to allow for
reproducibility

- In positive quick exit tests, check the validity of the output
(e.g., that the matrix generated which is supposed to be empty is
indeed valid, of the right dimension and empty)

- It might not be necessary to test a complete combination of all
parameters with the same input, although sometimes it might be desirable. It
might make more sense to vary the input for different types to get
better coverage with smaller number of tests.
Loading