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
76c023e1
Commit
76c023e1
authored
Apr 16, 2013
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed logging (replaced wrong log macro calls)
parent
b7ce38e9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
libcaf_opencl/cppa/opencl/actor_facade.hpp
libcaf_opencl/cppa/opencl/actor_facade.hpp
+5
-5
libcaf_opencl/src/opencl/program.cpp
libcaf_opencl/src/opencl/program.cpp
+1
-1
No files found.
libcaf_opencl/cppa/opencl/actor_facade.hpp
View file @
76c023e1
...
...
@@ -86,7 +86,7 @@ class actor_facade<Ret(Args...)> : public actor {
std
::
ostringstream
oss
;
oss
<<
"OpenCL kernel allows a maximum of 3 dimensions"
" and needs at least 1 global dimension."
;
CPPA_LOG
_ERROR
(
oss
.
str
());
CPPA_LOG
M_ERROR
(
detail
::
demangle
(
typeid
(
actor_facade
)),
oss
.
str
());
throw
std
::
runtime_error
(
oss
.
str
());
}
cl_int
err
{
0
};
...
...
@@ -99,7 +99,7 @@ class actor_facade<Ret(Args...)> : public actor {
oss
<<
"clCreateKernel: '"
<<
get_opencl_error
(
err
)
<<
"'."
;
CPPA_LOG
_ERROR
(
oss
.
str
());
CPPA_LOG
M_ERROR
(
detail
::
demangle
<
actor_facade
>
(),
oss
.
str
());
throw
std
::
runtime_error
(
oss
.
str
());
}
return
new
actor_facade
<
Ret
(
Args
...)
>
{
dispatcher
,
...
...
@@ -113,14 +113,14 @@ class actor_facade<Ret(Args...)> : public actor {
}
void
sync_enqueue
(
const
actor_ptr
&
sender
,
message_id
id
,
any_tuple
msg
)
{
CPPA_LOG_TRACE
(
"
actor_facade::sync_enqueue()
"
);
CPPA_LOG_TRACE
(
""
);
typename
util
::
il_indices
<
util
::
type_list
<
Args
...
>>::
type
indices
;
enqueue_impl
(
sender
,
msg
,
id
,
indices
);
}
void
enqueue
(
const
actor_ptr
&
sender
,
any_tuple
msg
)
{
CPPA_LOG_TRACE
(
"
actor_facade::enqueue()
"
);
CPPA_LOG_TRACE
(
""
);
typename
util
::
il_indices
<
util
::
type_list
<
Args
...
>>::
type
indices
;
enqueue_impl
(
sender
,
msg
,
message_id
{},
indices
);
}
...
...
@@ -145,7 +145,7 @@ class actor_facade<Ret(Args...)> : public actor {
,
m_map_args
(
std
::
move
(
map_args
))
,
m_map_result
(
std
::
move
(
map_result
))
{
CPPA_LOG_TRACE
(
"
new actor_facde with ID
"
<<
this
->
id
());
CPPA_LOG_TRACE
(
"
id:
"
<<
this
->
id
());
}
template
<
long
...
Is
>
...
...
libcaf_opencl/src/opencl/program.cpp
View file @
76c023e1
...
...
@@ -94,7 +94,7 @@ program program::create(const char* kernel_source) {
<<
get_opencl_error
(
err
)
<<
"'. Build log: "
<<
build_log
.
data
();
CPPA_LOG
_ERROR
(
oss
.
str
());
CPPA_LOG
M_ERROR
(
detail
::
demangle
<
program
>
(),
oss
.
str
());
throw
std
::
runtime_error
(
oss
.
str
());
}
else
{
...
...
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