Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
phabibi
parabix-devel
Commits
f19981a9
Commit
f19981a9
authored
3 years ago
by
Rob Cameron
Browse files
Options
Download
Email Patches
Plain Diff
Attribute fixes to resolve stream-length mismatches
parent
dfc6241f
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
7 deletions
+7
-7
lib/kernel/pipeline/compiler/config.h
lib/kernel/pipeline/compiler/config.h
+1
-1
lib/kernel/scan/scanmatchgen.cpp
lib/kernel/scan/scanmatchgen.cpp
+2
-2
lib/kernel/streamutils/deletion.cpp
lib/kernel/streamutils/deletion.cpp
+1
-1
lib/kernel/streamutils/pdep_kernel.cpp
lib/kernel/streamutils/pdep_kernel.cpp
+2
-2
lib/kernel/util/linebreak_kernel.cpp
lib/kernel/util/linebreak_kernel.cpp
+1
-1
No files found.
lib/kernel/pipeline/compiler/config.h
View file @
f19981a9
#ifndef PIPELINE_KERNEL_COMPILER_CONFIG_H
#define PIPELINE_KERNEL_COMPILER_CONFIG_H
#define PRINT_DEBUG_MESSAGES
//
#define PRINT_DEBUG_MESSAGES
// #define PRINT_DEBUG_MESSAGES_FOR_KERNEL_NUM 31,32,33,34,35,36
...
...
This diff is collapsed.
Click to expand it.
lib/kernel/scan/scanmatchgen.cpp
View file @
f19981a9
...
...
@@ -674,8 +674,8 @@ ScanBatchKernel::ScanBatchKernel(BuilderRef b, StreamSet * const Matches, Stream
:
MultiBlockKernel
(
b
,
"scanBatch"
+
std
::
to_string
(
strideBlocks
),
// inputs
{
Binding
{
"matchResult"
,
Matches
}
,
Binding
{
"lineBreak"
,
LineBreakStream
}
,
Binding
{
"InputStream"
,
ByteStream
,
FixedRate
(),
{
Deferred
()
}}},
,
Binding
{
"lineBreak"
,
LineBreakStream
,
FixedRate
(),
ZeroExtended
()
}
,
Binding
{
"InputStream"
,
ByteStream
,
FixedRate
(),
{
ZeroExtended
(),
Deferred
()
}}},
// outputs
{},
// input scalars
...
...
This diff is collapsed.
Click to expand it.
lib/kernel/streamutils/deletion.cpp
View file @
f19981a9
...
...
@@ -216,7 +216,7 @@ FieldCompressKernel::FieldCompressKernel(BuilderRef b,
mMaskOp
.
operation
=
maskOp
.
operation
;
mMaskOp
.
bindings
.
push_back
(
std
::
make_pair
(
"extractionMask"
,
maskOp
.
bindings
[
0
].
second
));
// assert (streamutil::resultStreamCount(maskOp) == 1);
mInputStreamSets
.
push_back
({
"extractionMask"
,
maskOp
.
bindings
[
0
].
first
});
mInputStreamSets
.
push_back
({
"extractionMask"
,
maskOp
.
bindings
[
0
].
first
,
FixedRate
(),
Principal
()
});
// assert (streamutil::resultStreamCount(inputOps) == outputStreamSet->getNumElements());
std
::
unordered_map
<
StreamSet
*
,
std
::
string
>
inputBindings
;
std
::
tie
(
mInputOps
,
inputBindings
)
=
streamutils
::
mapOperationsToStreamNames
(
inputOps
);
...
...
This diff is collapsed.
Click to expand it.
lib/kernel/streamutils/pdep_kernel.cpp
View file @
f19981a9
...
...
@@ -47,8 +47,8 @@ StreamExpandKernel::StreamExpandKernel(BuilderRef b,
+
"_"
+
std
::
to_string
(
source
->
getNumElements
())
+
":"
+
std
::
to_string
(
expanded
->
getNumElements
()),
// input stream sets
{
Binding
{
"marker"
,
mask
,
FixedRate
()},
Binding
{
"source"
,
source
,
PopcountOf
(
"marker"
),
BlockSize
(
b
->
getBitBlockWidth
())}},
{
Binding
{
"marker"
,
mask
,
FixedRate
()
,
Principal
()
},
Binding
{
"source"
,
source
,
PopcountOf
(
"marker"
),
{
ZeroExtended
(),
BlockSize
(
b
->
getBitBlockWidth
())}}
}
,
// output stream set
{
Binding
{
"output"
,
expanded
}},
// input scalar
...
...
This diff is collapsed.
Click to expand it.
lib/kernel/util/linebreak_kernel.cpp
View file @
f19981a9
...
...
@@ -345,7 +345,7 @@ void LineStartsKernel::generatePabloMethod() {
LineSpansKernel
::
LineSpansKernel
(
BuilderRef
b
,
StreamSet
*
LineStarts
,
StreamSet
*
LineEnds
,
StreamSet
*
LineSpans
)
:
PabloKernel
(
b
,
"LineSpans"
,
{
Binding
{
"LineStarts"
,
LineStarts
},
Binding
{
"LineEnds"
,
LineEnds
}},
{
Binding
{
"LineStarts"
,
LineStarts
},
Binding
{
"LineEnds"
,
LineEnds
,
FixedRate
(),
Principal
()
}},
{
Binding
{
"LineSpans"
,
LineSpans
}})
{}
void
LineSpansKernel
::
generatePabloMethod
()
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment