Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
ded7cda
Improve CPU matmul and GPU buffer reuse
ooples Jan 14, 2026
97bb024
Add vendor BLAS selection and packed matmul cache
ooples Jan 14, 2026
8a90b36
Add cpu matmul diagnostics flag
ooples Jan 14, 2026
8449140
Add CPU matmul trace flag
ooples Jan 14, 2026
1cc6d84
fix: address PR720 review feedback
ooples Jan 15, 2026
db5c7b8
Address PR review comments
ooples Jan 16, 2026
a7d7183
Add CPU benchmark snapshot helper
ooples Jan 16, 2026
39f6d19
Optimize CPU tensor elementwise paths
ooples Jan 16, 2026
2e27342
Fix GPU backend review feedback
ooples Jan 16, 2026
b62ef1d
Merge branch 'master' into fix/issue-682-gpu-perf
ooples Jan 17, 2026
c460994
fix: resolve build errors for net471 framework
ooples Jan 17, 2026
9ad0471
perf: restore parallel matrix multiplication in fallback path
ooples Jan 17, 2026
e489911
perf: add zero-copy tensor allocation and uninitialized array optimiz…
ooples Jan 17, 2026
fd88aa0
perf: add native openblas for 58% faster matmul
ooples Jan 17, 2026
e42610e
fix: address pr review comments
ooples Jan 19, 2026
8b2b379
perf: optimize double tensor operations with tensorprimitives
ooples Jan 19, 2026
2858202
merge: bring onednn/simd optimizations from master
ooples Jan 19, 2026
1d3546d
Merge branch 'master' into fix/issue-682-gpu-perf
ooples Jan 19, 2026
668d9c7
perf: add parallel tensorprimitives for large tensor operations
ooples Jan 19, 2026
524045a
Merge branch 'master' into fix/issue-682-gpu-perf
ooples Jan 19, 2026
4a7a9b9
perf: add zero-allocation conv2d and benchmark improvements
ooples Jan 19, 2026
1d5cf71
fix: address pr review comments for code scanning alerts
ooples Jan 20, 2026
e691e56
Merge branch 'master' into fix/issue-682-gpu-perf
ooples Jan 20, 2026
598d755
fix: address code scanning alerts and coderabbit review comments
ooples Jan 20, 2026
e827509
fix: prevent mkl.net jit loading exception on net471
ooples Jan 20, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .deps/openblas/OpenBLAS-0.3.30-x64.zip
Binary file not shown.
453 changes: 453 additions & 0 deletions .deps/openblas/include/cblas.h

Large diffs are not rendered by default.

809 changes: 809 additions & 0 deletions .deps/openblas/include/f77blas.h

Large diffs are not rendered by default.

23,341 changes: 23,341 additions & 0 deletions .deps/openblas/include/lapack.h

Large diffs are not rendered by default.

12,888 changes: 12,888 additions & 0 deletions .deps/openblas/include/lapacke.h

Large diffs are not rendered by default.

159 changes: 159 additions & 0 deletions .deps/openblas/include/lapacke_config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,159 @@
/*****************************************************************************
Copyright (c) 2010, Intel Corp.
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
* Neither the name of Intel Corporation nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
THE POSSIBILITY OF SUCH DAMAGE.
******************************************************************************
* Contents: Native C interface to LAPACK
* Author: Intel Corporation
*****************************************************************************/

#ifndef _LAPACKE_CONFIG_H_
#define _LAPACKE_CONFIG_H_

#ifdef __cplusplus
#if defined(LAPACK_COMPLEX_CPP)
#include <complex>
#endif
extern "C" {
#endif /* __cplusplus */

#include <stdlib.h>
#include <stdint.h>
#include <inttypes.h>

#ifndef lapack_int
#if defined(LAPACK_ILP64)
#define lapack_int int64_t
#else
#define lapack_int int32_t
#endif
#endif

/*
* Integer format string
*/
#ifndef LAPACK_IFMT
#if defined(LAPACK_ILP64)
#define LAPACK_IFMT PRId64
#else
#define LAPACK_IFMT PRId32
#endif
#endif

#ifndef lapack_logical
#define lapack_logical lapack_int
#endif

#if defined(_MSC_VER) && defined(__INTEL_CLANG_COMPILER)
#define LAPACK_COMPLEX_STRUCTURE
#define LAPACK_GLOBAL(lcname,UCNAME) lcname
#define NOCHANGE
#endif

#ifndef LAPACK_COMPLEX_CUSTOM
#if defined(_MSC_VER) && !defined(__INTEL_CLANG_COMPILER)
#if defined(LAPACK_COMPLEX_CPP)
#include <complex>
#define lapack_complex_float std::complex<float>
#define lapack_complex_double std::complex<double>
#define lapack_complex_float_real(z) ((z).real())
#define lapack_complex_float_imag(z) ((z).imag())
#define lapack_complex_double_real(z) ((z).real())
#define lapack_complex_double_imag(z) ((z).imag())
#define _CRT_USE_C_COMPLEX_H
#else
#include <complex.h>
#define LAPACK_COMPLEX_CUSTOM
#define lapack_complex_float _Fcomplex
#define lapack_complex_double _Dcomplex
#define lapack_complex_float_real(z) (creal(z))
#define lapack_complex_float_imag(z) (cimag(z))
#define lapack_complex_double_real(z) (creal(z))
#define lapack_complex_double_imag(z) (cimag(z))
#endif
#else

#if defined(LAPACK_COMPLEX_STRUCTURE)

typedef struct { float real, imag; } _lapack_complex_float;
typedef struct { double real, imag; } _lapack_complex_double;
#define lapack_complex_float _lapack_complex_float
#define lapack_complex_double _lapack_complex_double
#define lapack_complex_float_real(z) ((z).real)
#define lapack_complex_float_imag(z) ((z).imag)
#define lapack_complex_double_real(z) ((z).real)
#define lapack_complex_double_imag(z) ((z).imag)

#elif defined(LAPACK_COMPLEX_C99)

#include <complex.h>
#define lapack_complex_float float _Complex
#define lapack_complex_double double _Complex
#define lapack_complex_float_real(z) (creal(z))
#define lapack_complex_float_imag(z) (cimag(z))
#define lapack_complex_double_real(z) (creal(z))
#define lapack_complex_double_imag(z) (cimag(z))

#elif defined(LAPACK_COMPLEX_CPP)

#define lapack_complex_float std::complex<float>
#define lapack_complex_double std::complex<double>
#define lapack_complex_float_real(z) ((z).real())
#define lapack_complex_float_imag(z) ((z).imag())
#define lapack_complex_double_real(z) ((z).real())
#define lapack_complex_double_imag(z) ((z).imag())

#else

#include <complex.h>
#define lapack_complex_float float _Complex
#define lapack_complex_double double _Complex
#define lapack_complex_float_real(z) (creal(z))
#define lapack_complex_float_imag(z) (cimag(z))
#define lapack_complex_double_real(z) (creal(z))
#define lapack_complex_double_imag(z) (cimag(z))

#endif
#endif

lapack_complex_float lapack_make_complex_float( float re, float im );
lapack_complex_double lapack_make_complex_double( double re, double im );

#endif

#ifndef LAPACK_malloc
#define LAPACK_malloc( size ) malloc( size )
#endif

#ifndef LAPACK_free
#define LAPACK_free( p ) free( p )
#endif

#ifdef __cplusplus
}
#endif /* __cplusplus */

#endif /* _LAPACKE_CONFIG_H_ */
17 changes: 17 additions & 0 deletions .deps/openblas/include/lapacke_mangling.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#ifndef LAPACK_HEADER_INCLUDED
#define LAPACK_HEADER_INCLUDED

#ifndef LAPACK_GLOBAL
#if defined(LAPACK_GLOBAL_PATTERN_LC) || defined(ADD_)
#define LAPACK_GLOBAL(lcname,UCNAME) lcname##_
#elif defined(LAPACK_GLOBAL_PATTERN_UC) || defined(UPPER)
#define LAPACK_GLOBAL(lcname,UCNAME) UCNAME
#elif defined(LAPACK_GLOBAL_PATTERN_MC) || defined(NOCHANGE)
#define LAPACK_GLOBAL(lcname,UCNAME) lcname
#else
#define LAPACK_GLOBAL(lcname,UCNAME) lcname##_
#endif
#endif

#endif

Loading
Loading