Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
Actor Framework
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
Actor Framework
Commits
996a1386
Commit
996a1386
authored
Sep 03, 2013
by
Joseph Noir
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed unecessary parameter
parent
ef057809
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
5 deletions
+3
-5
libcaf_opencl/cppa/opencl/actor_facade.hpp
libcaf_opencl/cppa/opencl/actor_facade.hpp
+1
-2
libcaf_opencl/cppa/opencl/command.hpp
libcaf_opencl/cppa/opencl/command.hpp
+2
-3
No files found.
libcaf_opencl/cppa/opencl/actor_facade.hpp
View file @
996a1386
...
@@ -161,8 +161,7 @@ class actor_facade<Ret(Args...)> : public actor {
...
@@ -161,8 +161,7 @@ class actor_facade<Ret(Args...)> : public actor {
get_ref
<
Is
>
(
*
opt
)...);
get_ref
<
Is
>
(
*
opt
)...);
auto
cmd
=
make_counted
<
command
<
actor_facade
,
Ret
>>
(
handle
,
auto
cmd
=
make_counted
<
command
<
actor_facade
,
Ret
>>
(
handle
,
this
,
this
,
std
::
move
(
arguments
),
std
::
move
(
arguments
));
m_queue
);
cmd
->
enqueue
();
cmd
->
enqueue
();
}
}
else
{
CPPA_LOGMF
(
CPPA_ERROR
,
this
,
"actor_facade::enqueue() tuple_cast failed."
);
}
else
{
CPPA_LOGMF
(
CPPA_ERROR
,
this
,
"actor_facade::enqueue() tuple_cast failed."
);
}
...
...
libcaf_opencl/cppa/opencl/command.hpp
View file @
996a1386
...
@@ -53,14 +53,13 @@ class command : public ref_counted {
...
@@ -53,14 +53,13 @@ class command : public ref_counted {
command
(
response_handle
handle
,
command
(
response_handle
handle
,
intrusive_ptr
<
T
>
actor_facade
,
intrusive_ptr
<
T
>
actor_facade
,
std
::
vector
<
mem_ptr
>
arguments
,
std
::
vector
<
mem_ptr
>
arguments
)
command_queue_ptr
queue
)
:
m_number_of_values
(
std
::
accumulate
(
actor_facade
->
m_global_dimensions
.
begin
(),
:
m_number_of_values
(
std
::
accumulate
(
actor_facade
->
m_global_dimensions
.
begin
(),
actor_facade
->
m_global_dimensions
.
end
(),
actor_facade
->
m_global_dimensions
.
end
(),
1
,
std
::
multiplies
<
size_t
>
{}))
1
,
std
::
multiplies
<
size_t
>
{}))
,
m_handle
(
handle
)
,
m_handle
(
handle
)
,
m_actor_facade
(
actor_facade
)
,
m_actor_facade
(
actor_facade
)
,
m_queue
(
queue
)
,
m_queue
(
actor_facade
->
m_
queue
)
,
m_arguments
(
move
(
arguments
))
{
}
,
m_arguments
(
move
(
arguments
))
{
}
void
enqueue
()
{
void
enqueue
()
{
...
...
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