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
3804557b
Commit
3804557b
authored
Mar 21, 2013
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added get_command_dispatcher convenience function
parent
07c1a086
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
libcaf_opencl/cppa/opencl/command_dispatcher.hpp
libcaf_opencl/cppa/opencl/command_dispatcher.hpp
+4
-3
libcaf_opencl/src/opencl/command_dispatcher.cpp
libcaf_opencl/src/opencl/command_dispatcher.cpp
+4
-0
No files found.
libcaf_opencl/cppa/opencl/command_dispatcher.hpp
View file @
3804557b
...
@@ -187,10 +187,11 @@ class command_dispatcher {
...
@@ -187,10 +187,11 @@ class command_dispatcher {
};
};
#else // CPPA_OPENCL
#else // CPPA_OPENCL
class
command_dispatcher
:
public
detail
::
singleton_mixin
<
command_dispatcher
>
{
class
command_dispatcher
:
public
detail
::
singleton_mixin
<
command_dispatcher
>
{
};
};
#endif // CPPA_OPENCL
#endif // CPPA_OPENCL
command_dispatcher
*
get_command_dispatcher
();
}
}
// namespace cppa::opencl
}
}
// namespace cppa::opencl
#endif // CPPA_OPENCL_COMMAND_DISPATCHER_HPP
#endif // CPPA_OPENCL_COMMAND_DISPATCHER_HPP
libcaf_opencl/src/opencl/command_dispatcher.cpp
View file @
3804557b
...
@@ -244,4 +244,8 @@ void command_dispatcher::dispose() {
...
@@ -244,4 +244,8 @@ void command_dispatcher::dispose() {
delete
this
;
delete
this
;
}
}
command_dispatcher
*
get_command_dispatcher
()
{
return
detail
::
singleton_manager
::
get_command_dispatcher
();
}
}
}
// namespace cppa::opencl
}
}
// namespace cppa::opencl
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