Changeset: 31fe798e7341 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=31fe798e7341
Modified Files:
monetdb5/extras/crackers/crackers.mx
Branch: holindex
Log Message:
Add mal signatures for the new holistic parallel vectorized cracking operators.
diffs (88 lines):
diff --git a/monetdb5/extras/crackers/crackers.mx
b/monetdb5/extras/crackers/crackers.mx
--- a/monetdb5/extras/crackers/crackers.mx
+++ b/monetdb5/extras/crackers/crackers.mx
@@ -586,6 +586,84 @@ address CRKthetaselectholpl_@2
comment "Retrieve the subset using a cracker
index producing preferably a BATview.";
+
+# new multi-threaded versions for holistic indexing
+
+command selectholpl(b:bat[:oid,:@2],l:@2,h:@2, nthreads:int,
vector_elements:int):bat[:oid,:@2]
+address CRKselectholpl_@2_MT
+comment "Retrieve the subset using a cracker
+ index producing preferably a BATview;
+ nthreads == nil -> original single-threaded implementation,
+ nthreads == 0 -> revised single-threaded implementation,
+ nthreads < 0 -> 1st (inferior) version of new multi-threaded
implementation,
+ nthreads > 0 -> 2nd (superior) version of new multi-threaded
implementation.";
+
+command selectholpl(b:bat[:oid,:@2],l:@2, nthreads:int,
vector_elements:int):bat[:oid,:@2]
+address CRKselectholplValue_@2_MT
+comment "Retrieve the subset using a cracker
+ index producing preferably a BATview;
+ nthreads == nil -> original single-threaded implementation,
+ nthreads == 0 -> revised single-threaded implementation,
+ nthreads < 0 -> 1st (inferior) version of new multi-threaded
implementation,
+ nthreads > 0 -> 2nd (superior) version of new multi-threaded
implementation.";
+
+command selectholpl(b:bat[:oid,:@2],l:@2,h:@2,li:bit,hi:bit, nthreads:int,
vector_elements:int):bat[:oid,:@2]
+address CRKselectholplBounds_@2_MT
+comment "Retrieve the subset using a cracker
+ index producing preferably a BATview;
+ nthreads == nil -> original single-threaded implementation,
+ nthreads == 0 -> revised single-threaded implementation,
+ nthreads < 0 -> 1st (inferior) version of new multi-threaded
implementation,
+ nthreads > 0 -> 2nd (superior) version of new multi-threaded
implementation.";
+
+command uselectholpl(b:bat[:any_1,:@2],l:@2,h:@2, nthreads:int,
vector_elements:int):bat[:any_1,:void]
+address CRKuselectholpl_@2_MT
+comment "Retrieve the subset using a cracker
+ index producing preferably a BATview;
+ nthreads == nil -> original single-threaded implementation,
+ nthreads == 0 -> revised single-threaded implementation,
+ nthreads < 0 -> 1st (inferior) version of new multi-threaded
implementation,
+ nthreads > 0 -> 2nd (superior) version of new multi-threaded
implementation.";
+
+command uselectholpl(b:bat[:any_1,:@2],l:@2, nthreads:int,
vector_elements:int):bat[:any_1,:void]
+address CRKuselectholplValue_@2_MT
+comment "Retrieve the subset using a cracker
+ index producing preferably a BATview;
+ nthreads == nil -> original single-threaded implementation,
+ nthreads == 0 -> revised single-threaded implementation,
+ nthreads < 0 -> 1st (inferior) version of new multi-threaded
implementation,
+ nthreads > 0 -> 2nd (superior) version of new multi-threaded
implementation.";
+
+command uselectholpl(b:bat[:any_1,:@2],l:@2,h:@2,li:bit,hi:bit, nthreads:int,
vector_elements:int):bat[:any_1,:void]
+address CRKuselectholplBounds_@2_MT
+comment "Retrieve the subset using a cracker
+ index producing preferably a BATview;
+ nthreads == nil -> original single-threaded implementation,
+ nthreads == 0 -> revised single-threaded implementation,
+ nthreads < 0 -> 1st (inferior) version of new multi-threaded
implementation,
+ nthreads > 0 -> 2nd (superior) version of new multi-threaded
implementation.";
+
+command thetauselectholpl(b:bat[:any_1,:@2],v:@2,op:str, nthreads:int,
vector_elements:int):bat[:any_1,:void]
+address CRKthetauselectholpl_@2_MT
+comment "Retrieve the subset using a cracker
+ index producing preferably a BATview;
+ nthreads == nil -> original single-threaded implementation,
+ nthreads == 0 -> revised single-threaded implementation,
+ nthreads < 0 -> 1st (inferior) version of new multi-threaded
implementation,
+ nthreads > 0 -> 2nd (superior) version of new multi-threaded
implementation.";
+
+command thetaselectholpl(b:bat[:any_1,:@2],v:@2,op:str, nthreads:int,
vector_elements:int):bat[:any_1,:@2]
+address CRKthetaselectholpl_@2_MT
+comment "Retrieve the subset using a cracker
+ index producing preferably a BATview;
+ nthreads == nil -> original single-threaded implementation,
+ nthreads == 0 -> revised single-threaded implementation,
+ nthreads < 0 -> 1st (inferior) version of new multi-threaded
implementation,
+ nthreads > 0 -> 2nd (superior) version of new multi-threaded
implementation.";
+
+
+/*concurrent cracking*/
+
command selectpl(b:bat[:oid,:@2],l:@2,h:@2):bat[:oid,:@2]
address CRKselectpl_@2
comment "Retrieve the subset using a cracker
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list