Commit graph

314 commits

Author SHA1 Message Date
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
Christian Zimmermann
6326b32d6a generalize map range 2019-04-03 16:26:53 +02:00
Christian Zimmermann
505237c958 map range: use meta data of the output range + little fixes 2019-04-02 19:39:11 +02:00
Christian Zimmermann
844c7ef8e1 complete last change 2019-03-29 16:36:15 +01:00
Christian Zimmermann
fe4275766a map range: take operation as argument 2019-03-29 12:58:39 +01:00
Christian Zimmermann
45d25a4d76 some utils 2019-03-27 19:00:16 +01:00
Christian Zimmermann
a0a139b0a1 add some range creation utils 2019-03-27 13:33:01 +01:00
Christian Zimmermann
d109475d96 'partial assignment' expression + allow slice -> anonymous for trivial cases 2019-03-22 19:07:29 +01:00
Christian Zimmermann
f70efbeb82 use ptr directly in getStepSize + NO FORWARD in OpExpr in map (corrupted EVERYTHING) 2019-03-21 01:04:47 +01:00
Christian Zimmermann
84355b3118 add types 2019-03-20 21:52:21 +01:00
Christian Zimmermann
8a37107ac1 slight changes in range interface (typeNum) + fixes in dynamic range meta/index 2019-03-19 20:58:59 +01:00
Christian Zimmermann
8ed5d01c46 add further sreplace function to anonymous range 2019-03-19 10:33:07 +01:00
Christian Zimmermann
b2290e14e5 correction in last commit 2019-03-18 13:11:07 +01:00
Christian Zimmermann
389e4ec0a3 change allocator 2019-03-18 11:33:33 +01:00
Christian Zimmermann
de8d456f73 conversion between vectors with different allocator types 2019-03-17 23:56:35 +01:00
Christian Zimmermann
c277fbde53 fixes regarding last commit 2019-03-14 19:10:06 +01:00
Christian Zimmermann
d8ecf51698 char meta function in ranges 2019-03-14 14:20:38 +01:00
Christian Zimmermann
7003d68097 im com (dynamic meta) 2019-03-13 21:51:48 +01:00
Christian Zimmermann
a1a6b02bb5 add some utilities 2019-03-13 19:17:22 +01:00
Christian Zimmermann
861adac36a various fixes (relevant for higher level meta programing) 2019-03-12 21:00:15 +01:00
Christian Zimmermann
f47ca055db some fixes... 2019-03-11 19:24:34 +01:00
Christian Zimmermann
8f25e0aeb0 utilities: metaSlice + map range: mapPos 2019-03-08 13:09:10 +01:00
Christian Zimmermann
9489544972 remove master class + add separate parallel op root + pfor expression in parallel scope 2019-03-06 16:52:45 +01:00
Christian Zimmermann
948d9f58fd meta op root in func ma op 2019-03-05 19:40:26 +01:00
Christian Zimmermann
636e06bd5b add some utilities + more simd arithmetics 2019-03-01 18:13:51 +01:00
Christian Zimmermann
c75c585ce6 fix: correct use of mOrigDataPtr and mDataPtr in Operation classes 2019-02-27 21:37:20 +01:00
Christian Zimmermann
9fec5d6354 remove emacs bak file + fixes 2019-02-27 20:41:46 +01:00
Christian Zimmermann
b0063bb9e2 Merge branch 'dev' into merge 2019-02-27 19:05:03 +01:00
Christian Zimmermann
09f8074910 NOW ALMOST 2019-02-27 13:37:53 +01:00
Christian Zimmermann
6f320fe9e9 still not better... 2019-02-26 18:56:57 +01:00
Christian Zimmermann
fb2062263e remove white spaces from range string meta 2019-02-25 18:56:37 +01:00
Christian Zimmermann
f82cba0c2f try next fix reg last com 2019-02-19 16:35:01 +01:00
Christian Zimmermann
ad16ee4398 try next fix reg last com 2019-02-19 16:31:11 +01:00
Christian Zimmermann
f47d3fdb8a try fix reg last com 2019-02-19 16:27:50 +01:00
Christian Zimmermann
709e30a4a1 extra operation to function 2019-02-19 16:20:38 +01:00
Christian Zimmermann
5fdf6970c9 ... 2019-02-16 18:27:35 +01:00
Christian Zimmermann
54688698c8 fix self operators (+=, -=) 2019-02-16 18:24:32 +01:00
Christian Zimmermann
53c433f8df vectorizes, but not that optimal... 2019-02-14 14:39:59 +01:00
Christian Zimmermann
6d776f853d im com 2019-02-13 21:59:13 +01:00
Christian Zimmermann
0326ebc505 conversions 2019-02-12 22:34:09 +01:00
Christian Zimmermann
f339778a59 generalize single range (static size parameter, -> -1 if non-static size) 2019-02-12 20:26:38 +01:00
Christian Zimmermann
697aac6b94 rename operation base operator() to to() (avoid conflicts) 2019-02-06 19:34:17 +01:00
Christian Zimmermann
60ceb6e9a1 fix SpaceType::NONE outRange size 2019-02-06 15:09:21 +01:00
Christian Zimmermann
8db40f0610 add missing FType in special ranges 2019-02-06 14:11:17 +01:00
Christian Zimmermann
811054f14f extend helper tools according to last commit 2019-02-06 13:01:14 +01:00
Christian Zimmermann
3ccc5277e3 generalize map range: specification of out range type 2019-02-06 12:21:42 +01:00
Christian Zimmermann
75ead6fdba anonymous range: sreplace -> const; return new range instead 2019-01-18 17:49:58 +01:00
Christian Zimmermann
8048c573fa fix: forgot pifor in subrange 2019-01-16 12:33:50 +01:00
Christian Zimmermann
6d1682efa2 enable multi threading 2019-01-15 17:41:43 +01:00
Christian Zimmermann
a1d843c01b change operation arithmetics: distinguish between assignment and contraction (= vs +=) 2019-01-15 14:34:59 +01:00
Christian Zimmermann
e04d9aa5bc parallel for 2019-01-14 18:39:09 +01:00
Christian Zimmermann
90816bc471 now fixed 2018-12-25 18:57:51 +01:00
Christian Zimmermann
22b93b0612 prelim fix... (CAUTION) 2018-12-25 17:48:52 +01:00
Christian Zimmermann
1f88bd2c58 fix cathastrophic bug (although it did not affect anything so far) 2018-12-24 18:55:11 +01:00
Christian Zimmermann
f6372fcbdb fix | operator for index tuple 2018-12-24 15:42:44 +01:00
Christian Zimmermann
675b0dd9f0 fixes.. 2018-12-23 19:33:01 +01:00
Christian Zimmermann
d5a1422f34 sub range contraction (tested) 2018-12-23 13:01:13 +01:00
Christian Zimmermann
90c0bee44c fix 'step bug' (sub range) 2018-12-21 23:46:58 +01:00
Christian Zimmermann
9a4f6e7386 ...fixed 2018-12-21 23:02:43 +01:00
Christian Zimmermann
bc372257f8 sub range (not fully fixed: do for loop -> sub expr again) 2018-12-21 18:25:45 +01:00
Christian Zimmermann
a4adf54502 im com (sub range) 2018-12-21 11:30:39 +01:00
Christian Zimmermann
ae6ec95119 multiple range cast in anonymous range 2018-12-18 12:44:50 +01:00
Christian Zimmermann
bdabee1335 fixes in dynamic index (ForMaker) + set offset of operation by given index 2018-12-02 22:08:51 +01:00
Christian Zimmermann
7331ff608f dynamic re-ordering assignment 2018-12-02 18:46:44 +01:00
Christian Zimmermann
6671c784f3 add pre-execution function to operation classes 2018-12-02 17:40:50 +01:00
Christian Zimmermann
f17d807d1a sub() function in range base 2018-11-30 00:16:28 +01:00
Christian Zimmermann
ca2e47b986 some utilities + corrections in 'call by lambda' operation 2018-11-29 19:37:32 +01:00
Christian Zimmermann
354c7d92fe some fixes in new fma routine 2018-11-26 18:23:38 +01:00
Christian Zimmermann
21f6dc0a6c some clean up + README 2018-11-26 15:22:52 +01:00
Christian Zimmermann
ae534e2493 use meta operation in fma (should be faster) 2018-11-26 13:13:23 +01:00
Christian Zimmermann
1aa5ed10d9 operation via lambda expression ( a(T,args...) function in OperationClass) 2018-11-26 12:10:38 +01:00
Christian Zimmermann
29c0f48f77 add 'id' function to range base 2018-11-19 17:00:35 +01:00
Christian Zimmermann
ef6876adc9 minor change in type map (easier to register types) 2018-11-18 15:50:38 +01:00
Christian Zimmermann
3acbf3afeb further types in type map 2018-11-15 11:46:57 +01:00
Christian Zimmermann
15388dcdfa forgot dataHeader() in ValueRange -> fix 2018-11-07 13:27:45 +01:00
Christian Zimmermann
fa1f16a3c8 addendum to last commit 2018-11-07 12:38:26 +01:00
Christian Zimmermann
6626384f69 dataHeader function 2018-11-07 10:58:07 +01:00
Christian Zimmermann
772d9c2828 im com 2018-11-06 16:35:37 +01:00
Christian Zimmermann
e78b2db16c minor fix 2018-11-04 18:39:49 +01:00
Christian Zimmermann
3c653535bc some fixes (expressions) + dynamic <-> anonymous cast utilities 2018-11-03 22:03:35 +01:00
Christian Zimmermann
69e4e4bf8e some fixes / utility extensions regarding extarnal usage/linking 2018-11-02 18:58:58 +01:00
Christian Zimmermann
e4a34ba644 XCOMMAX() 2018-11-02 17:45:07 +01:00
Christian Zimmermann
307a714996 dynamic ranges + dynamic index operation works 2018-11-01 22:11:08 +01:00
Christian Zimmermann
e5792bcf7b fix dynamic ifor issue (at least it compiles...) 2018-10-30 19:39:45 +01:00
Christian Zimmermann
305f45103c dynamic range test works 2018-10-29 14:19:42 +01:00
Christian Zimmermann
9cf294f485 dynamic index compiles 2018-10-27 19:51:55 +02:00
Christian Zimmermann
1b8c2edf45 im com (...) 2018-10-23 20:02:01 +02:00
Christian Zimmermann
d7aea8a164 im com (...) 2018-10-22 17:55:52 +02:00
Christian Zimmermann
1fa60ea9c8 im com (dynamic range) 2018-10-22 14:27:55 +02:00
Christian Zimmermann
7dc015a97a expression base + dynamic expressio (xfor) 2018-10-21 22:52:01 +02:00
Christian Zimmermann
610994e52f isMeta function in single range/index 2018-10-14 16:59:27 +02:00
Christian Zimmermann
a4d0c380dc factory type in range classes 2018-10-08 22:06:57 +02:00
Christian Zimmermann
be016abf3a final at [] + assignment between Container Indices of different data type 2018-10-06 13:14:24 +02:00
Christian Zimmermann
ca01dcaa10 fix: copying slicecontraction changes instance of internal targte array -> use shared ptr 2018-09-25 14:06:17 +02:00
Christian Zimmermann
d13d9f7b72 overwrite default assignment operator in OperationRoot 2018-09-24 13:28:40 +02:00
Christian Zimmermann
db32888ce9 operator=(double) for multi_array 2018-09-22 20:19:08 +02:00
Christian Zimmermann
a55b8d8b9f clean up 2018-09-19 10:06:30 +02:00
Christian Zimmermann
46e5218167 fix max() issue in map range; TODO: remove debug tokens 2018-09-18 22:52:55 +02:00
Christian Zimmermann
8e5e5af924 fix this ptr copy/overwrite issue in index interface class 2018-09-18 14:30:49 +02:00
Christian Zimmermann
6c404a272b add reg last commit (value range) + MetaMap + try to fix the map index link issue (no success) 2018-09-18 01:44:11 +02:00
Christian Zimmermann
143ec78355 forgot to use new 'value' functions -> use it now; still works 2018-09-17 16:34:47 +02:00
Christian Zimmermann
174cdd4bf6 use step size in for target -> re-ordered operations on slice should be possible now 2018-09-17 16:21:23 +02:00
Christian Zimmermann
3fd74cfc4c some fixes 2018-09-17 11:06:24 +02:00
Christian Zimmermann
67492e24b7 fix slice step size issue 2018-09-16 18:53:28 +02:00
Christian Zimmermann
9229ead298 map utils 2018-09-16 16:35:46 +02:00
Christian Zimmermann
9c5c361fde array ptr in const op root 2018-09-16 15:53:56 +02:00
Christian Zimmermann
98635027de slice contr const 2018-09-15 16:33:49 +02:00
Christian Zimmermann
b7e40ca71b slice contraction (tested, works) 2018-09-15 01:58:17 +02:00
Christian Zimmermann
c0a72e72b4 im com 2018-09-14 17:50:19 +02:00
Christian Zimmermann
b257ab4db3 some utilities 2018-09-13 17:42:16 +02:00
Christian Zimmermann
9b79c96eea const slice def class 2018-09-13 13:28:40 +02:00
Christian Zimmermann
405df0c426 fix non-static functor issues 2018-09-12 20:56:55 +02:00
Christian Zimmermann
6896cc3ca7 value range + fix in header/include structure 2018-09-12 17:05:27 +02:00
Christian Zimmermann
de6b80a90b slice utilities 2018-09-11 18:38:30 +02:00
Christian Zimmermann
91acb873e1 small adjustments 2018-09-08 18:46:04 +02:00
Christian Zimmermann
9e5c51428a various fixes and adds -> map range test works 2018-08-20 17:50:04 +02:00
Christian Zimmermann
3abdf61c33 wrong operation type returned by map operator 2018-08-18 16:40:20 +02:00