Commit graph

430 commits

Author SHA1 Message Date
Christian Zimmermann
bf7853c1b5 operations: AccessTemplate (static base class) 2021-07-01 17:55:46 +02:00
Christian Zimmermann
e80c71aa62 multi_array_operation: member access class for array-type members -> sub operations... 2021-07-01 01:51:10 +02:00
Christian Zimmermann
312074c486 multi_array_operation: remove RootSumN 2021-07-01 00:42:31 +02:00
Christian Zimmermann
24ea3c2c30 im com 2021-06-30 16:55:38 +02:00
Christian Zimmermann
9946a8d416 Merge branch 'restructure-rename' of rqcd.ur.de:czimmermann/multi_array into restructure-rename 2021-06-26 00:41:33 +02:00
Christian Zimmermann
d5e02ba9d2 remove slicecontraction + start hyperoperation (for slicearray) 2021-06-26 00:40:42 +02:00
Christian Zimmermann
ffb8e71dbd multi_array_operation: replace template spec by static if 2021-06-25 17:28:22 +02:00
Christian Zimmermann
c282cf683d Merge branch 'restructure-rename' of rqcd.ur.de:czimmermann/multi_array into restructure-rename 2021-06-24 21:39:52 +02:00
Christian Zimmermann
7cd0c3104f separate lib for high level stuff 2021-06-24 21:39:42 +02:00
Christian Zimmermann
6991742206 remove old code 2021-06-11 18:57:00 +02:00
Christian Zimmermann
49f2c41a95 remove dead code + simplify StaticFunctionBase (less template args) 2021-06-09 17:25:02 +02:00
Christian Zimmermann
f1b44cfd5c sfor: return cond 2021-06-08 17:53:51 +02:00
Christian Zimmermann
c26fb133ae replace/remove static for macros 2021-06-08 16:41:28 +02:00
Christian Zimmermann
53362be499 two container indices (one const) 2021-05-29 00:03:48 +02:00
Christian Zimmermann
01703dec28 container_index: split header -> .h .cc.h 2021-05-28 21:20:07 +02:00
Christian Zimmermann
63df6bbdef ranges/container_range.h -> container_index.h 2021-05-28 20:35:24 +02:00
Christian Zimmermann
98138114f7 remove assignment ContainerIndex -> MultiIndex 2021-05-28 20:17:20 +02:00
Christian Zimmermann
1d882d55c4 ContainerRange typedef: remove template arg T + remove MultiRange Factory constructor for ContainerRange 2021-05-28 20:02:04 +02:00
Christian Zimmermann
34e69cd805 ContainerIndex -> ConstContainerIndex 2021-05-28 17:29:13 +02:00
Christian Zimmermann
c5b9e84486 completely remove rpacknum 2021-05-27 23:29:04 +02:00
Christian Zimmermann
6dc926f234 further packnum replacements 2021-05-27 18:37:15 +02:00
Christian Zimmermann
12c79b595f rpacknum: replace mkfor 2021-05-27 12:15:44 +02:00
Christian Zimmermann
893b2360bc remove rpacknum getMeta, getSize, getTypeNum 2021-05-27 11:02:36 +02:00
Christian Zimmermann
29f4ddc0cd continue... 2021-05-12 17:56:35 +02:00
Christian Zimmermann
43e8486354 bugfix + continue prev com 2021-05-07 17:35:59 +02:00
Christian Zimmermann
482a7a7b4e continue previous commit 2021-05-06 19:04:26 +02:00
Christian Zimmermann
13488b9839 ranges: start replacement of rpack_num 2021-05-05 20:04:13 +02:00
Christian Zimmermann
7fee5aa45d completely remove pack_num 2021-05-04 18:26:17 +02:00
Christian Zimmermann
acda91d792 remove all PackNum stuff from multi_array_operation 2021-05-04 17:11:53 +02:00
Christian Zimmermann
44f6149a23 rewrite Operation::get (not final solution) 2021-04-11 22:11:20 +02:00
Christian Zimmermann
9d85f8df46 remove Application classes 2021-04-11 16:54:46 +02:00
Christian Zimmermann
fe22b1ad80 im com + remove Getter class 2021-04-11 16:34:01 +02:00
Christian Zimmermann
1f663e0b76 start replacement PackNum -> SFOR 2021-04-10 16:06:02 +02:00
Christian Zimmermann
64c5c2b4f3 -> C++17 2021-04-10 13:25:43 +02:00
Christian Zimmermann
48084b2a5e generalize static_for.h 2021-04-10 00:58:30 +02:00
Christian Zimmermann
cf1850923f name mapping suggestions + static cc for implementation 2021-04-04 15:10:15 +02:00
Christian Zimmermann
70c850be2f basic_types 2021-04-04 14:21:09 +02:00
Christian Zimmermann
469a7b4848 Merge branch 'dev' into HEAD 2021-04-04 14:19:02 +02:00
Christian Zimmermann
23dddd3801 add OperationPointer 2021-03-17 20:09:43 +01:00
Christian Zimmermann
c608239ced various fixes 2021-02-03 14:30:25 +01:00
Christian Zimmermann
867c20959a auto-vectorization works 2021-01-24 02:10:06 +01:00
Christian Zimmermann
269ff69ec3 automatic vectorization: unit tests work again 2021-01-24 00:10:14 +01:00
Christian Zimmermann
3bacc6c1c4 im com 2021-01-23 19:40:15 +01:00
Christian Zimmermann
15664781f7 further auto vectorization (open issue: static loop reduction) 2021-01-21 00:35:13 +01:00
Christian Zimmermann
64d10867dd finish parts of auto-vectorization 2021-01-18 19:00:12 +01:00
Christian Zimmermann
db92197048 im com (Operation: remove T?) 2021-01-15 01:05:58 +01:00
Christian Zimmermann
68ae7d8428 im com 2021-01-14 23:57:06 +01:00
Christian Zimmermann
29b1502e60 unify AssigmentExpr2 and AddExpr 2021-01-14 19:20:46 +01:00
Christian Zimmermann
fdb1bb6833 xfor: vectrization requirements 2021-01-14 17:40:32 +01:00
Christian Zimmermann
6ecbe5ff27 minor changes 2021-01-14 16:26:53 +01:00
Christian Zimmermann
ec430efcc6 operations: vget 2021-01-14 14:43:09 +01:00
Christian Zimmermann
49812b18e2 multi_range: getMeta 2021-01-11 11:16:29 +01:00
Christian Zimmermann
cfb3d4919b map range: allow more general out ranges 2021-01-09 00:45:24 +01:00
Christian Zimmermann
b8071fff94 Merge branch 'dev3' into dev2 2021-01-08 21:40:53 +01:00
Christian Zimmermann
b4912dba71 helper_tools: further mkMapR functions 2021-01-08 21:40:20 +01:00
Christian Zimmermann
ac5b74c57a arith + hl_ops: negate 2020-12-07 13:46:01 +01:00
Christian Zimmermann
e7fd650922 fix regarding previous commit 2020-10-13 17:06:59 +02:00
Christian Zimmermann
bc87268810 index_wrapper: stringmeta: filter spaces and quotation marks 2020-10-13 14:02:04 +02:00
Christian Zimmermann
8ca415355a dynamic/anonymous range: replace asserts by MA_ASSERTs (throws errors instead of aborting) 2020-09-23 14:14:47 +02:00
Christian Zimmermann
6dac4957c5 None: remove static constexpr for VAL 2020-09-23 01:12:28 +02:00
Christian Zimmermann
995b16b51d allow value operations in high level operations 2020-09-20 13:37:44 +02:00
Christian Zimmermann
51961901a0 corrections + partially pre-compile hl operations 2020-09-16 20:19:21 +02:00
Christian Zimmermann
863dd09b40 some fixes 2020-09-16 00:09:55 +02:00
Christian Zimmermann
5d853473de dynamic range: index map tools 2020-09-15 17:11:54 +02:00
Christian Zimmermann
8372b30255 remove atan2 2020-09-15 13:30:24 +02:00
Christian Zimmermann
3a0016b740 Merge remote-tracking branch 'origin/dev2' into dev2 2020-09-14 16:31:19 +02:00
Christian Zimmermann
5c9443cd63 mkSFunc 2020-09-14 16:30:42 +02:00
Christian Zimmermann
f0354455fd reduced range in index wrapper (to be called in high level op) 2020-09-11 23:29:58 +02:00
Christian Zimmermann
dcce9a5eea hl op: resolve lowest indices at runtime 2020-09-11 13:12:46 +02:00
Christian Zimmermann
65ecc27c3e fix compile errors 2020-09-10 22:50:26 +02:00
Christian Zimmermann
0d045c006d im com 2020-09-10 18:29:06 +02:00
Christian Zimmermann
3d9cd65389 hl_reg_ind.h 2020-09-10 13:27:24 +02:00
Christian Zimmermann
e3afa8b8c1 minor changes 2020-09-09 10:12:20 +02:00
Christian Zimmermann
c01351eec0 ...same again 2020-09-03 13:35:56 +02:00
Christian Zimmermann
079b7cfb44 template notation for high level op RetT 2020-09-03 13:32:52 +02:00
Christian Zimmermann
ee58f2ab39 enable high level math functions 2020-09-03 12:15:51 +02:00
Christian Zimmermann
e174ced2eb shift high level op code to separate headers 2020-09-03 10:52:31 +02:00
Christian Zimmermann
b0a1f356a7 first part of high level operations work (only implemented in context of op4utest) 2020-09-02 18:35:20 +02:00
Christian Zimmermann
ddf48771bc fix conditional jump / uninitialized value issue detected in valgrind 2020-08-31 17:49:52 +02:00
Christian Zimmermann
4fc2c52865 revert to a80e927 2020-08-31 17:28:00 +02:00
Christian Zimmermann
3a8b837a1c im com 2020-08-30 23:20:09 +02:00
Christian Zimmermann
a80e9271c8 im com 2020-08-30 17:41:22 +02:00
Christian Zimmermann
8168e253a4 dynamic hybrid functional operations work 2020-08-30 16:41:05 +02:00
Christian Zimmermann
782e8555cf dynamic hybrid contraction works 2020-08-30 14:43:53 +02:00
Christian Zimmermann
371107cb5d im com 2020-08-30 03:52:44 +02:00
Christian Zimmermann
7e963c1c95 minor change 2020-08-30 01:35:06 +02:00
Christian Zimmermann
566da70618 ... remaining fixes: hybrid dynamic multi-threaded operations work 2020-08-29 23:36:01 +02:00
Christian Zimmermann
4e7e57fcb9 partial fix in multi-threading relevant code 2020-08-29 21:46:07 +02:00
Christian Zimmermann
67b343d217 dynamic operations: partial static call works consistently 2020-08-28 17:55:54 +02:00
Christian Zimmermann
cb6a6ccdb3 im com 2020-08-28 13:46:12 +02:00
Christian Zimmermann
7afd193d09 im com 2020-08-27 23:48:04 +02:00
Christian Zimmermann
34161f10cb DynamicOuterOp 2020-08-27 17:46:30 +02:00
Christian Zimmermann
fca75bbf79 replace proto indices 2020-08-27 14:16:08 +02:00
Christian Zimmermann
991a9bc5b4 split rpack_num -> .h , .cc.h 2020-08-27 13:21:05 +02:00
Christian Zimmermann
52e1efc974 dynamic operations: call by index name (not the optimal solution...) 2020-08-27 03:23:03 +02:00
Christian Zimmermann
7cbd2a139d im com 2020-08-26 23:24:10 +02:00
Christian Zimmermann
304d7ec682 dynamic contractions work 2020-08-26 17:05:44 +02:00
Christian Zimmermann
6444f971a6 OpTest_Dyn, Multiply: add remaining tests: work 2020-08-24 17:39:56 +02:00
Christian Zimmermann
d2e7cb3a63 op4utest works 2020-08-24 16:35:14 +02:00
Christian Zimmermann
d7436ed577 Revert "vertical structure..."
This reverts commit c6f140a18e.
2020-08-12 16:48:07 +02:00
Christian Zimmermann
c6f140a18e vertical structure... 2020-08-12 00:39:12 +02:00
Christian Zimmermann
e18e97b83f ... 2020-08-11 18:22:03 +02:00
Christian Zimmermann
233a0a7452 WIP: see last commit (there is still a non-initialized dynamic ext object) 2020-07-13 13:40:49 +02:00
Christian Zimmermann
f04ee322bb WIP: dynamic operation classes 2020-07-13 01:00:35 +02:00
Christian Zimmermann
449da106b4 fix error from previous commit + split operation unit tests 2020-07-11 19:55:48 +02:00
Christian Zimmermann
b2f542027f WIP: dynamic_operation 2020-07-10 00:17:38 +02:00
Christian Zimmermann
a64291484c fix dynamic expressions 2020-07-09 17:37:28 +02:00
Christian Zimmermann
354a275c12 distinguish target object call depending on the controll index owner 2020-07-09 11:52:40 +02:00
Christian Zimmermann
e24e7dddec ... 2020-07-08 23:48:26 +02:00
Christian Zimmermann
95aca3381d type register vector char 2020-07-08 23:41:20 +02:00
Christian Zimmermann
2049cb25ed TypMap::num -> num() 2020-07-08 23:34:17 +02:00
Christian Zimmermann
a8e24efff2 type_map + type_register 2020-07-08 23:14:08 +02:00
Christian Zimmermann
dd31760344 shift former template code to cc file 2020-07-08 22:02:28 +02:00
Christian Zimmermann
de21f197c5 remove expression.* 2020-07-08 20:50:47 +02:00
Christian Zimmermann
ca55bd0702 fix compile errors and seg fault from last commit -> unit tests work again 2020-07-08 20:46:04 +02:00
Christian Zimmermann
f7549a230b start removing expression collection stuff -> so far compile errors + seg fault... 2020-07-08 17:55:51 +02:00
Christian Zimmermann
9ab27d1e5a fix compile errors from previous commit 2020-07-08 11:13:19 +02:00
Christian Zimmermann
4391d3a79a start refactoring dynamic stuff: DExt -> Polymorphism: not finished, does not compile so far... 2020-07-07 16:42:41 +02:00
Christian Zimmermann
c8d9eb9aa4 changes required for gcc 10 2020-05-14 18:13:01 +02:00
Christian Zimmermann
ba350c516d no meta map specialization 2020-04-07 17:07:45 +02:00
Christian Zimmermann
4683c9e85c ranges: xToString: replace ',' by '.' (german locales seem to be used here now) 2019-12-11 15:16:50 +01:00
Christian Zimmermann
bebc7ce35c allocation warning + forwarding + remove unsave code regarding that (e.g. anonymousMove) 2019-11-15 18:16:19 +01:00
Christian Zimmermann
2247336fee multi_array: 'format constructor' 2019-11-14 19:39:03 +01:00
Christian Zimmermann
4a5a413a47 plus operation with foreign index 2019-11-13 14:08:15 +01:00
Christian Zimmermann
388440764e fix: consistent streaming of tuples 2019-11-12 13:30:26 +01:00
Christian Zimmermann
e2c33a2061 fix meta data <-> char stream conversion for vector<T> meta type 2019-10-29 17:39:59 +01:00
Christian Zimmermann
49dd9ef548 map range: enable creation on arbitrary target range (of same type with real target space as sub-space) 2019-09-17 14:24:01 +02:00
Christian Zimmermann
6ee89f6bff add anonToDynView for mutable array types 2019-09-13 18:08:23 +02:00
Christian Zimmermann
d1c4372825 AbstractIW: add function duplicate + Operations: completely replace AssignmentExpr by AssignmentExpr2 2019-09-13 15:08:33 +02:00
Christian Zimmermann
73a9d5b120 fix bug introduced during the last three commits 2019-09-09 18:47:23 +02:00
Christian Zimmermann
43baaa35c9 ; missing 2019-09-05 11:45:57 +02:00
Christian Zimmermann
1f459ea2b5 single range: fix cmeta size for vector case 2019-09-03 19:34:20 +02:00
Christian Zimmermann
5f694c9103 single range: fix cmeta size for vector case 2019-09-03 19:33:30 +02:00
Christian Zimmermann
0acfb6e171 fix regarding last commit 2019-08-30 18:29:07 +02:00
Christian Zimmermann
ea974ce50b generalize cmeta routine for vector meta data + catch 'no range' case in anonymousRange::sreplace(vec) 2019-08-29 20:40:39 +02:00
Christian Zimmermann
ba8655896b generalize element return values in operation classes 2019-07-24 18:49:53 +02:00
Christian Zimmermann
867c6e13e9 cast to dynmic range array for mutable container 2019-07-12 18:11:22 +02:00
Christian Zimmermann
015734fa16 no index synchronization in (const)operation class; directly use pos arg (makes some things thread save) 2019-07-12 12:45:41 +02:00
Christian Zimmermann
b79f010c87 add utilities in xfor.h + fix SIZE in SubExpr 2019-07-10 18:14:50 +02:00
Christian Zimmermann
a2d67ef78c fix: gcc 9 more pedantic in this case: int vs uint template arg 2019-07-05 17:40:26 +02:00
Christian Zimmermann
472abec3fd ma operation: parallel version of .to and .addto 2019-05-24 13:55:07 +02:00
Christian Zimmermann
a8efbd083a piloop: handles iloop instances wrt to thread safety 2019-05-22 16:36:44 +02:00
Christian Zimmermann
23078a8b2d return type of Operation -> auto 2019-05-20 18:32:19 +02:00
Christian Zimmermann
8ce2f52070 iloop + c++14 2019-05-17 15:10:33 +02:00
Christian Zimmermann
8e271ca0e4 anonymous range: FType + utils: anonToDynView: MultiArray -> MultiArrayBase 2019-05-15 20:37:00 +02:00
Christian Zimmermann
8e91aae948 assignExpr function 2019-05-10 18:14:13 +02:00
Christian Zimmermann
33d321d529 assign/plus -> const 2019-05-07 16:40:40 +02:00
Christian Zimmermann
41ca105e82 remove white space from string meta (multi range) 2019-04-23 12:47:14 +02:00
Christian Zimmermann
bd0485ba95 set target step size to 0 for contractions (otherwise map indices in contractions will not work correctly) 2019-04-05 20:20:39 +02:00
Christian Zimmermann
3f7cbceec9 singkle range: return range size when call by meta data is out of region 2019-04-04 19:28:45 +02:00