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
7456a997
Commit
7456a997
authored
Jul 18, 2018
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused variable
parent
a01f0de1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
libcaf_opencl/src/manager.cpp
libcaf_opencl/src/manager.cpp
+0
-3
No files found.
libcaf_opencl/src/manager.cpp
View file @
7456a997
...
...
@@ -142,8 +142,6 @@ program_ptr manager::create_program(const char* kernel_source,
auto
dev_tmp
=
dev
->
device_id_
.
get
();
auto
err
=
clBuildProgram
(
pptr
.
get
(),
1
,
&
dev_tmp
,
options
,
nullptr
,
nullptr
);
if
(
err
!=
CL_SUCCESS
)
{
ostringstream
oss
;
oss
<<
"clBuildProgram: "
<<
opencl_error
(
err
);
if
(
err
==
CL_BUILD_PROGRAM_FAILURE
)
{
size_t
buildlog_buffer_size
=
0
;
// get the log length
...
...
@@ -164,7 +162,6 @@ program_ptr manager::create_program(const char* kernel_source,
#ifndef CAF_MACOS
CAF_LOG_ERROR
(
CAF_ARG
(
ss
.
str
()));
#endif
oss
<<
endl
<<
ss
.
str
();
}
CAF_RAISE_ERROR
(
"clBuildProgram failed"
);
}
...
...
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