Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
177 commits
Select commit Hold shift + click to select a range
ecdaa17
Add NOTICES file
pradeeptrgit Oct 25, 2024
66982cc
Updated configure file to include -fopenmp in compiler flag only when…
Oct 16, 2024
c86a6a0
AOCL LAPACK Testsuite: LAPACKE interface support for GBTRF and GBTRS API
Sep 19, 2024
7b032b6
AOCL LAPACK: Fix in gesdd_fla_check input params error check conditions
Oct 18, 2024
abe44dc
Update License text
pradeeptrgit Oct 25, 2024
f1f94a8
Revert "Update License text"
pradeeptrgit Oct 25, 2024
57e5c5b
Use new AOCL-Utils API for getting the ISA information
pradeeptrgit Oct 18, 2024
cfc724f
Native implementation of sgelsd and dgelsd
Oct 24, 2024
7dbec59
Fix in DGESVD Optimization
varajago Nov 15, 2024
5e412d7
Performance improvement in dgetri 3x3 input size
Nov 7, 2024
a822c76
AOCL LAPACK Test suite: Update init_matrix_from_file() to read in col…
Nov 19, 2024
cc4b388
Fixes in DGESVD Optimized paths for small sizes
varajago Nov 25, 2024
c853472
Test case enhancements for sygvd/hegvd APIs
Nov 14, 2024
cfa1bd9
AOCL LAPACK Test suite: Fix for gesdd, gesvd JOBZ/JOBU/JOBVT=O corner…
Oct 24, 2024
f4f9184
AOCL LAPACK Test suite: Optimizing Memory Usage in structures
ksaithar Nov 15, 2024
87a07ef
AOCL-LAPACK Test Suite: Add hetrf_rook test case
Oct 30, 2024
1f07f06
AOCL-LAPACK: geqrf - Set optimal block sizes for input size ranges
Oct 30, 2024
7925a7d
AOCL-LAPACK: Upgrade to LAPACK-3.12 Part 1 - Double Precision
Dec 11, 2024
c5cfbbe
Optimisation porting to sgetrf
Nov 19, 2024
fb972ba
cmake presets support for libFLAME and cmake enhancements
Oct 3, 2024
b0a61f0
AOCL-LAPACK: Upgrade to LAPACK-3.12 Part 1 - Double Precision New files
Dec 12, 2024
df183f4
CPP interface changes in main test suite.
mopathan Nov 13, 2024
9b48f5c
AOCL-LAPACK: Upgrade to LAPACK-3.12 Part 2 - Double Precision Complex
Dec 16, 2024
cdecfcc
AOCL-LAPACK Test-Suite: Add sytrf_rook test case
Dec 10, 2024
6c1dc76
AOCL-LAPACK: Upgrade to LAPACK - 3.12 Part 2 - Double Precision Compl…
Dec 23, 2024
8c63878
AOCL LAPACK Test suite: Update in INVALID_PARAM test status condition
Jan 3, 2025
382622d
AOCL-LAPACK: Upgrade to LAPACK - 3.12 Part 3 - Single Precision
Oct 7, 2024
7f96764
DGEQP3 perf gap optimization for 10x10 input size
Dec 12, 2024
c9d1157
AOCL-LAPACK: Fix for build warning
Jan 10, 2025
6358d4c
AOCL-LAPACK: Upgrade to LAPACK - 3.12 Part 3 - Single Precision New F…
Jan 10, 2025
f942182
AOCL-LAPACK: Fix for GELS, GELSS, GELSD test failure
Dec 16, 2024
a92666f
AOCL-LAPACK: Upgrade to LAPACK - 3.12 Part 4- Single Precision Complex
Jan 13, 2025
2ef56ba
CMake presets and pkg-config enhancement
Jan 21, 2025
2844251
AOCL-LAPACK: Upgrade to LAPACK - 3.12 Part 4 - Single Precision Compl…
Jan 13, 2025
cfa2b69
AOCL-LAPACK: Fix to obfuscate absolute file paths in shared binaries
Jan 22, 2025
a0cb214
AOCL-LAPACK: Fix for windows build warning
Jan 27, 2025
8730957
AOCL LAPACK: Update SGESDD to use lapack code for all sizes
Jan 24, 2025
1bf192e
Fix Tau value compuatation in SYTRD
Jan 16, 2025
ccdf0fc
lange API test cases
Jan 3, 2025
23286e2
CPP changes for 10 more APIs in main test suite.
mopathan Jan 7, 2025
ab0ec64
AOCL-LAPACK: Upgrade to LAPACK - 3.12 : Part 5 - Remaining files
Jan 21, 2025
861bbcd
AOCL-LAPACK : Test Suite - Addition of test case for GECON
Jan 3, 2025
cb9e2f9
AOCL-LAPACK: LAPACK version string update
Jan 29, 2025
c11347c
AOCL LAPACK: GEJSV accuracy issue
Jan 22, 2025
4e40c6f
DORGQR optimization with change in DLARF threshold.
mopathan Jan 28, 2025
a81f410
AOCL-LAPACK: Updating default Netlib test directory to lapack-3.12
Jan 30, 2025
cefddc4
AOCL LAPACK: Test Suite - Addition of getrfnp and getrfnpi APIs
Jan 31, 2025
b3082d1
Argument checks for LQ small path
varajago Feb 2, 2025
b95a1ab
GBTRF performance improvement
Jan 28, 2025
f4aa798
ZGELS Optimization
Dec 17, 2024
4fbd39a
AOCL-LAPACK Test Suite: hetrf and hetri_rook test case addition
Dec 11, 2024
7927e5f
AOCL-LAPACK: Remove older netlib-test folders from AOCL-LAPCK
Feb 5, 2025
68f1516
CMake compiler flag update
Jan 28, 2025
158b4a3
AOCL LAPACK: Coverity errors fix
Feb 6, 2025
277ee30
CMake compiler flag update
Feb 6, 2025
b225acc
Misc corrections
edwsmyth Dec 4, 2024
3a1b97d
Use AOCL_ROOT variable to get dependent library paths
pradeeptrgit Jan 9, 2025
b01d9f4
AOCL-LAPACK: Fix for Increase in Netlib tests errors
Feb 5, 2025
3fb6a9d
DLARTG: Fix for QZ Convergence Failure
Feb 7, 2025
d157ff0
AOCL-LAPACK: lapack-3.12 netlib test support to Window
Feb 7, 2025
572e981
AOCL-LAPACK: DTL log update
Jan 22, 2025
425d7c2
DGESVD: Fix for extreme value test failure
varajago Feb 8, 2025
e562612
Test-Suite: Modifications to display of results
varajago Jan 10, 2025
e85291a
DGESDD Optimization: Allocating optimal number of threads
varajago Jan 6, 2025
1d8cbbc
DSYEVD optimization
Jan 10, 2025
bbb6257
AOCL LAPACK: dgels precision error fix
Jan 30, 2025
5166fa6
Added missing CPP interface API's
Feb 7, 2025
094bf3d
Static build must go through with just AOCL-Utils header path
pradeeptrgit Feb 11, 2025
0ee72b7
Libflame CPP interface update
Feb 11, 2025
6f908f9
Fix incorrect variable used for AOCL-Utils library name
pradeeptrgit Feb 12, 2025
6094320
AOCL-LAPACK: Fix for hetri_rook API corner case test failure
Feb 12, 2025
50a9d21
AOCL-LAPACK: Fix for windows build warning
Feb 12, 2025
39bd63c
AOCL-LAPACK: PKGCONFIG update to use aocl-blas/aocl-blas-mt
Feb 12, 2025
5086684
LANGE: Fix NaN handling in vector code
Feb 10, 2025
2ee338a
AOCL-LAPACK: Fix for DGELSS failure and windows warnings
Feb 11, 2025
ae753a8
AOCL-LAPACK: Doxygen file update
Feb 13, 2025
a8d1a56
AOCL LAPACK Test suite: Fix in GESDD error display
Feb 20, 2025
4d80468
AOCL LAPACK: PKGCONFIG Changes
Feb 25, 2025
19f5ef1
Fix AOCL-Utils header path logic in CMake
pradeeptrgit Feb 24, 2025
f58936a
AOCL LAPACK Test suite: Test case for ORMQR API and minor enhancements
Feb 10, 2025
dbc17ea
Fix for ASAN build failure with test suite.
mopathan Feb 21, 2025
c1d0aa1
Fix ZGETRFNPI wrapper code argument
pradeeptrgit Feb 27, 2025
b78693f
DGESDD: Correction in Optimal Threads Allocation
varajago Feb 27, 2025
cf76564
AOCL-LAPACK: Fix error finding BLIS using pkgconfig
Mar 7, 2025
7a31d84
AOCL-LAPACK: Update test suite to use lapacke.h
Feb 27, 2025
1482a6a
AOCL LAPACK Test suite: Case insensitive (char)input support
Mar 3, 2025
982647b
AOCL LAPACK: pkg-config name change
Mar 11, 2025
34be6a1
AOCL-LAPACK: Makefile update for fixing compilation issue
Mar 11, 2025
66e9049
Added singularity check in SPFFRT2 and SPFFRTX routines
Mar 18, 2025
c88e250
AOCL-LAPACK: LAPACK-3.12 update of LAPACK-3.10 files
Feb 25, 2025
9f17591
Insert explicit project name for LAPACK RST API docs
janfiala-amd Mar 19, 2025
dd89a6d
AOCL LAPACK Test Suite: gejsv test addition
Mar 2, 2025
32cf92c
AOCL-LAPACK: CMakeList and Makefile update for fixing test suite comp…
Mar 21, 2025
1658de7
AOCL-LAPACK: Update for API guide document
Mar 25, 2025
c9b2aa3
Libflame : Implement LABRD test case
Feb 20, 2025
f5ac0bb
AOCL-LAPACK: Update for API guide document
Apr 1, 2025
6af6ac6
AOCL LAPACK Test suite: ORMQR conformance tests, bug fix
Apr 3, 2025
8760ae3
New SYTRD test case in main test suite
mopathan Mar 19, 2025
76f6b04
AOCL LAPACK: Build errors and warning fixes
Apr 17, 2025
a61ee6c
Add CPP test support for few more APIs in main test suite.
mopathan Apr 18, 2025
e92c1d7
Updates to License and Third Party Notice
varajago May 2, 2025
aef8eb3
AOCL-LAPACK : Test Suite - Addition of test case for ORMLQ
Feb 8, 2025
fcbcebd
AOCL-LAPACK: Version upgrade to 5.1.0
Mar 14, 2025
ead77d4
AOCL LAPACK: BUILD Error Fix with AOCL-BLAS and LP64 (#18)
May 28, 2025
39cd1f5
Add Ctests for LABRD API (#14)
May 28, 2025
00ee9ba
SWLDEVOPS-7853 - Action file to mandate branch naming convention (#7)
vkallesh May 30, 2025
e49fc04
Fixed SYEVX fail for MKL (#27)
Jun 13, 2025
fa2b404
New POTRI test case in main test suite. (#26)
mopathan Jun 17, 2025
1878ddd
DGESVD Small Size Optimization Update (#13)
varajago Jul 1, 2025
67ec00f
GETRF perf gap improvement for input range 10 to 10000 (#15)
Jul 2, 2025
f50f8b8
AOCL-LAPACK Test Suite: Fix for negative FLOPS issue (#33)
Jul 8, 2025
ae07ee5
Adapt Peer Review Checklist to aocl-libflame
Jul 7, 2025
15e5973
AOCL-LAPACK Test Suite: Benchmark mode and feature additions
Jul 15, 2025
de5b34f
TRSEN: Allocation of IWORK for all job types
varajago Jul 15, 2025
7df0052
Netlib test errors fixed which were introduced due to addition (#45)
varajago Jul 15, 2025
835605f
AOCL LAPACK: DLARF, DLARFT, DLACPY and DGEQRF Optimizations
Jul 18, 2025
4e42b2c
AOCL-LAPACK: DPOTRF optimization for large size
Jul 18, 2025
9e77c6b
DSYEVD optimization
Jul 18, 2025
ca971b5
AOCL-LAPACK: Test code for GBSV API (#41)
ksaithar Jul 23, 2025
044e389
AOCL-LAPACK: Fix for Matlab test failure
Jul 24, 2025
02ac765
Fix for failures in Negative test cases (#51)
varajago Jul 29, 2025
b2a2441
AOCL-LAPACK [CPUPL-6899]: Added compile time and runtime security fla…
Jul 29, 2025
04ab4dc
AOCL-LAPACK: Test code for GETRF2 API (#52)
ksaithar Jul 29, 2025
a90ac89
AOCL LAPACK: Fix in lapacke unmlq nancheck (#55)
Jul 31, 2025
3cc613f
GEBRD Test case Addition
varajago Aug 5, 2025
a6f6c1a
AOCL LAPACk testsuite: Added TRTRI testcase (#58)
Aug 7, 2025
2d07d5c
CMake: Prioritize CMake option over environment variable for AOCL_ROO…
Aug 12, 2025
6a94839
autoconf dependency removal to clear GPL License Terms
Aug 13, 2025
97cf14b
Removed GPL terms from Notices file
Aug 13, 2025
31b7f19
DGETRS api performance improvement through dlaswp parallelization
Aug 11, 2025
be0c916
AOCL-LAPACK : ZGETRI small size optimisation (#38)
Aug 14, 2025
e17832a
Libflame Test-suite : Bit reproducibility feature addition (#23)
Aug 18, 2025
44370a8
AOCL LAPACK: Memory leak fix
Aug 18, 2025
b5691cb
Fix for ctest failures
varajago Aug 18, 2025
117d076
Early exit conditions in test function
varajago Aug 21, 2025
b039c88
AOCL-LAPACK Test suite: Test case addition for trtrs
Aug 21, 2025
bfda90d
I/O Utils routines removal
varajago Aug 21, 2025
d1de38c
Changed XERBLA Error Message
varajago Aug 21, 2025
307d14f
AOCL LAPACK: Fix for dlarf regression
Aug 21, 2025
b4bdde4
Added Test code for GETF2, GBTF2 and GBSVX APIs (#62)
ksaithar Aug 22, 2025
2ae179a
Fixed ILP64 (uint_64) support and refactored BRT code (#75)
Aug 22, 2025
63194ff
AOCL-LAPACK: DPOTRF performance tuning (#82)
Aug 25, 2025
5f37800
Added 1st Batch of APIs with Bit reproducibility Tests (#77)
Aug 25, 2025
ca3f563
DPOTRI optimization for small sizes (1-17) (#74)
mopathan Aug 25, 2025
084da2a
AOCL LAPACK: DGETRI small size optimization (#80)
Aug 25, 2025
aa3a468
Added 2nd Batch of APIs with Bit reproducibility Tests (#78)
Aug 25, 2025
4980e00
AOCL-LAPACK: LAPACKE 3.12.1 update
Aug 25, 2025
b920442
Fix for Compilation failure in Linux
Aug 26, 2025
c4a9069
AOCL-LAPACK: Document update
Aug 26, 2025
b9f0a81
Added Test code for POTF2, GETC2 and POTRF2 (#83)
ksaithar Aug 28, 2025
76b8ed3
AOCL LAPACK: Regression fix for DLARF (side = R) (#84)
Aug 28, 2025
3f58022
AOCL LAPACK Testsuite: Fix in early return checks (#88)
Aug 28, 2025
20f19fb
Regression fix for DSYEVD
Aug 28, 2025
6e7c41d
AOCL-LAPACK: DGEQRF small size regression fix (#93)
Sep 1, 2025
7ea91e4
Wrapper code inclusion in FLAME.h to support all api formats
Aug 28, 2025
e0da3b4
Add AI Code Review Self-enablement file (#92)
pradeeptrgit Sep 5, 2025
3f1eb81
DGEMV direct call to AOCL-BLAS Kernel
varajago Sep 8, 2025
aaaf45b
AOCL LAPACK: dgesvd fix to make singular values positive (#97)
Sep 9, 2025
4fa712c
AOCL LAPACK Legacy Test Suite: Compilation Fix (#103)
Sep 10, 2025
c7a8a23
Memory leak fix for gesv test code (#109)
varajago Sep 12, 2025
6f67770
Coverity high impact fixes (#107)
Sep 15, 2025
91cc83c
3rd Batch of APIs with Bit reproducibility Tests (#87)
Sep 16, 2025
a1c3474
Random-init mode in main test and 64bit indexing support (#118)
Sep 18, 2025
ec6dc59
U/vprasada/pr/ctest failures fix for windows
Sep 19, 2025
e48ed64
AOCL-LAPACK: BRT CTests failures fix (#124)
Sep 22, 2025
bca1a19
Support build time fixing of ISA paths (#125)
pradeeptrgit Sep 23, 2025
9d4bc5e
Conversion of integer datatype to 64-bit
varajago Sep 30, 2025
0aa2d28
Modifications for compatibility and uniformity oc complex types
varajago Oct 3, 2025
0ba2618
Fix for missing GEMM calls in spffrt APIs (#138)
varajago Oct 8, 2025
eb9713e
Add Bit Reproducibility Tests (BRT) support for all the remaining LAP…
Oct 8, 2025
352ef8d
Fix for LAPACKE_ matrix math scaling perf reported on HPE DL385 Gen11
Oct 11, 2025
c8e48c2
AOCL LAPACK: getrf large size perf regression fix
Oct 13, 2025
7a8bf27
Fix for perf regression using BLIS threads
varajago Oct 14, 2025
9feb685
DLASWP, DGETRS, DGBTRF regression fix changes. (#142)
mopathan Oct 15, 2025
c23efa0
Fix for regression in DGESVD small sizes
varajago Oct 15, 2025
e8bddce
AOCL LAPACK: DORGQR Regression Fix (#151)
Oct 16, 2025
d5f93bc
Add conditional compilation for zen4 calls to AOCL-BLAS
bartoldeman Feb 5, 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.
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