2
0
mirror of https://github.com/boostorg/ublas.git synced 2026-01-19 16:52:13 +00:00

9 Commits

Author SHA1 Message Date
Cem Bassoy
231ba5f730 refactor(core): simplify and eliminate auxiliary tensor types (#115)
Auxiliary functions for extents and strides were using different
functions. Additionally, many tags were used to distinguish between
different tensor types. This patch simplifies interfaces of different
core functions and unifies functions that can process different types of
extent and stride types.
2021-09-09 11:34:14 +02:00
Cem Bassoy
f0e0578b29 adjusting qt files and examples. (#109) 2021-01-12 18:22:16 +01:00
amitsingh19975
799ef707a5 Introducing a new and versatile way to create the tensor interface. (#90)
* improving the tensor design using tensor engine to support any configuration

* fixing and refactoring extents and strides

* making extents and strides class declarations contestants

* syncing with develop branch

* fixing examples

* fixing type aliasing bug

* fixing clang-tidy errors

* adding move assignment operator

* fixing clang-tidy errors

* fixing clang-tidy errors

* Fix all clang-tidy warnings & Improve Review action (#92)

* Fix all clang-tidy warnings

* Update clangtidy_check.yml

* Do not run review for PR from forks

In order to run review from forks we need to create a Github bot that has full access to all forks and can perform review even from forks.

* Update clangtidy_review.yml

* Update clangtidy_review.yml

* improving the tensor design using tensor engine to support any configuration

* fixing and refactoring extents and strides

* making extents and strides class declarations contestants

* fixing examples

* fixing type aliasing bug

* fixing clang-tidy errors

* adding move assignment operator

* fixing clang-tidy errors

* fixing clang-tidy errors

* Fix all clang-tidy warnings & Improve Review action (#92)

* Fix all clang-tidy warnings

* Update clangtidy_check.yml

* Do not run review for PR from forks

In order to run review from forks we need to create a Github bot that has full access to all forks and can perform review even from forks.

* Update clangtidy_review.yml

* Update clangtidy_review.yml

* changing tensor engine APIs

* adding std::enable_if to tensor_core to remove redundant parameter for static_tensor

* fixing template name

* removing first_order and last_order form namespace ublas and moving to ublas::layout

* removing always_false

* improving strides construction for dynamic and fixed_rank

* refactoring code

* refactoring code and adding static checks

* Moving tensor_engine to it's own header file and removing static_product

* adding checking and fixing expression

* refactoring code

* refactoring static_extents_traits.hpp

* fixing static_assert in strides.hpp and adding inline and constexpr to the functions

* adding fixed rank example and making trans second argument template type

* removing rebind_storage and adding rebind_storage_size for static products

* refactoring directory and moving static_extents_traits.hpp into extents_functions.hpp with function implementation

* fixing github action

* fixing msvc compiler bug

* refactoring make_static_strides code

* fixing: removing push_front and push_back in static_strides.hpp

* fix for msvc 14.27, it is unable to treat basic_static_extents::at constexpr

* changing name from valid to is_valid for naming consistency

* moving extents_result_type_* functions inside the respective prod functions

* fixing broken license

* removing the unnecessary headers

* improving error and fixing error messages

Co-authored-by: Ashar <coder3101@users.noreply.github.com>
2020-12-10 14:28:54 +01:00
Ashar
0584e2abaa GSoC20 Phase 1: Enhance CI workflows and switch to Github Actions (#89)
* GSoC Phase 1: Enhance CI workflows and switch to Github Actions

More details of the work of this phase could be checked at my wiki https://github.com/BoostGSoC20/ublas/wiki

* Tensor tests use Github Actions

Old uBLAS will only use Travis and Appveyor from old legacy CI while
Tensor is now build using modern Github Action on wide array of compiler
and standards and codes.

* Add Copyright notice and refactor windows matrix
2020-07-11 13:57:28 +02:00
amitsingh19975
8938db5ce5 Decoupling the tensor into three tensor different tensor types (#81)
* decomposing tensor class into seperate modules according to the extents type

* stabilizing and updating test. Adding support for the operations b/w different types of tensor

* updating examples

* changing tabs to spaces

* added constexpr, removed resize from tensor and changed the array_type to container_type

* changing tag names and refactoring code

* adding and updating examples

* adding new line at the end of file

* refactoring code, fixing bugs and adding few new examples

* refactoring examples

* fixing gcc-7 issue where it is unable to use deduction guide when initilized

* adding constexpr and inline

* adding noexcept

* adding is_static_rank_v

* removing extents.hpp and decoupling test_extents and test_strides

* refactoring code and adding constexpr with [[nodiscard]] to the functions

* refactoring code.

* adding missing iterator header

* changing helper function name
2020-05-03 16:14:22 +02:00
Amit Singh
e68819c645 Phase 1: adding static extents and static strides
fix macro for MSVC

adding noexcept

fixing test and making changes

adding comparison test and adding resolving issue

changing extents API

fixing MSVC errors

fixing MSVC error

adding static prod function and adding std::array to static extents and static strides

fixing get_number_list

refactoring meta_function into type_traits and adding staic_traits for static_extents

fixing extents_result_type_outer_prod and combining static_functions and functions

removing unnecessary code and header file

removing unnecessary forward declaration

private member resize and adding removed constructors for matrix and vector

changing size_t to std::size_t and fixing stride_t

adding is_resizable type trait for tensor resizing

improve documenting of is_resizable

refactoring code

changing msvc version in .yml

changing toolset msvc-14.1 to msvc-14.16 and adding VSCLCOMPILER

changing toolset msvc-14.2 and image to VS 2019

refactoring code and adding new matrix to appveyor

adding VS 2019 with msvc-14.1 and disabling VS 2019 with msvc-14.2 and c++2a

adding VS 2019 with msvc-14.2 and changing flag to latest

removing VS 2019 with msvc-14.2 and c++17 and adding timeout to travis.yml

travis_wait workaround

removing VS 2017 from appveyor and refactoring code

adding clang support for c++17 and c++20 and refactoring code

changing dist to bionic and adding source link to clang 10

fixing travis, bugs and adding new examples

fixing example bugs for msvc

updating licence and adding test_expression to jamfile

adding new tests, refactoring code and fixing bugs

fix for msvc c++20

fixing memory problem due to BOOST_AUTO_TEST_SUITE macro defining after fixture

removing const from tests and enabling test_tensor.cpp

removing const from test_fixed_rank_expression_evaluation.cpp

fixing msvc bug

fixing msvc-14.2 bug for c++ latest where it cannot properly capture variables in lambda func

disintegrating tests into smaller units

reducing test_types for testing

reducing tests

reducing test_types for testing in operator arithmetic

improving msvc warinings and separating test_function.cpp into it's own module
2020-04-14 21:17:13 +05:30
Cem Bassoy
1e71db9cda tensor gsoc 2018. last changes for merge. 2019-02-25 17:05:02 +01:00
Cem Bassoy
6a731af7de tensor gsoc 2018. einstein notation added. 2019-02-18 22:45:38 +01:00
Cem Bassoy
359f716855 tensor gsoc 2018. tensor contraction and transposition added. 2019-02-18 22:45:38 +01:00