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
fdef7f32
Commit
fdef7f32
authored
Mar 12, 2014
by
Neverlord
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed logging issues in OpenCL build, closes #119
parent
a0d0f67c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
5 deletions
+15
-5
src/abstract_actor.cpp
src/abstract_actor.cpp
+5
-1
src/opencl/opencl_metainfo.cpp
src/opencl/opencl_metainfo.cpp
+5
-3
unit_testing/test_opencl.cpp
unit_testing/test_opencl.cpp
+5
-1
No files found.
src/abstract_actor.cpp
View file @
fdef7f32
...
...
@@ -45,6 +45,8 @@
#include "cppa/message_header.hpp"
#include "cppa/system_messages.hpp"
#include "cppa/io/middleman.hpp"
#include "cppa/util/shared_spinlock.hpp"
#include "cppa/util/shared_lock_guard.hpp"
...
...
@@ -64,7 +66,9 @@ abstract_actor::abstract_actor(actor_id aid)
abstract_actor
::
abstract_actor
()
:
m_id
(
get_actor_registry
()
->
next_id
()),
m_is_proxy
(
false
)
,
m_exit_reason
(
exit_reason
::
not_exited
)
{
}
,
m_exit_reason
(
exit_reason
::
not_exited
)
{
m_node
=
get_middleman
()
->
node
();
}
bool
abstract_actor
::
link_to_impl
(
const
actor_addr
&
other
)
{
if
(
other
&&
other
!=
this
)
{
...
...
src/opencl/opencl_metainfo.cpp
View file @
fdef7f32
...
...
@@ -97,9 +97,11 @@ void opencl_metainfo::initialize()
const
void
*
,
size_t
,
void
*
)
{
CPPA_LOG_ERROR
(
"
\n
##### Error message via pfn_notify #####
\n
"
+
string
(
errinfo
)
+
"
\n
########################################"
);
CPPA_LOGC_ERROR
(
"cppa::opencl::opencl_metainfo"
,
"initialize"
,
"
\n
##### Error message via pfn_notify #####
\n
"
+
string
(
errinfo
)
+
"
\n
########################################"
);
};
// create a context
...
...
unit_testing/test_opencl.cpp
View file @
fdef7f32
...
...
@@ -122,6 +122,10 @@ class square_matrix {
static
constexpr
size_t
num_elements
=
Size
*
Size
;
static
void
announce
()
{
cppa
::
announce
<
square_matrix
>
(
&
square_matrix
::
m_data
);
}
square_matrix
(
square_matrix
&&
)
=
default
;
square_matrix
(
const
square_matrix
&
)
=
default
;
square_matrix
&
operator
=
(
square_matrix
&&
)
=
default
;
...
...
@@ -310,7 +314,7 @@ int main() {
CPPA_TEST
(
test_opencl
);
announce
<
ivec
>
();
announce
<
matrix_type
>
();
matrix_type
::
announce
();
test_opencl
();
await_all_actors_done
();
...
...
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