Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
vadere
vadere
Commits
c6943509
Commit
c6943509
authored
Feb 05, 2019
by
Benedikt Zoennchen
Browse files
change of the local size of a kernel in CLLinkedCell.java.
parent
41d7b00f
Pipeline
#88766
canceled with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
VadereUtils/src/org/vadere/util/opencl/CLLinkedCell.java
View file @
c6943509
...
...
@@ -572,9 +572,9 @@ public class CLLinkedCell {
clGlobalWorkSize
=
stack
.
callocPointer
(
1
);
clLocalWorkSize
=
stack
.
callocPointer
(
1
);
clGlobalWorkSize
.
put
(
0
,
numberOfElements
/
2
);
clLocalWorkSize
.
put
(
0
,
Math
.
max
(
maxWorkGroupSize
/
4
,
1
));
//
clLocalWorkSize.put(0, Math.max(maxWorkGroupSize / 4, 1));
CLInfo
.
checkCLError
((
int
)
enqueueNDRangeKernel
(
"clBitonicMergeGlobal"
,
clQueue
,
clBitonicMergeGlobal
,
1
,
null
,
clGlobalWorkSize
,
clLocalWorkSize
,
null
,
null
));
CLInfo
.
checkCLError
((
int
)
enqueueNDRangeKernel
(
"clBitonicMergeGlobal"
,
clQueue
,
clBitonicMergeGlobal
,
1
,
null
,
clGlobalWorkSize
,
null
,
null
,
null
));
CLInfo
.
checkCLError
(
clFinish
(
clQueue
));
}
else
{
//Launch bitonicMergeLocal
...
...
Write
Preview
Supports
Markdown
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