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
a1ba3c1c
Commit
a1ba3c1c
authored
Jul 25, 2014
by
Marian Triebe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update header guards and namespace to match libcaf
parent
3c8b2c3b
Changes
10
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
41 additions
and
41 deletions
+41
-41
libcaf_opencl/caf/opencl/actor_facade.hpp
libcaf_opencl/caf/opencl/actor_facade.hpp
+5
-5
libcaf_opencl/caf/opencl/command.hpp
libcaf_opencl/caf/opencl/command.hpp
+5
-5
libcaf_opencl/caf/opencl/device_info.hpp
libcaf_opencl/caf/opencl/device_info.hpp
+5
-5
libcaf_opencl/caf/opencl/global.hpp
libcaf_opencl/caf/opencl/global.hpp
+5
-5
libcaf_opencl/caf/opencl/opencl_metainfo.hpp
libcaf_opencl/caf/opencl/opencl_metainfo.hpp
+5
-5
libcaf_opencl/caf/opencl/program.hpp
libcaf_opencl/caf/opencl/program.hpp
+5
-5
libcaf_opencl/caf/opencl/smart_ptr.hpp
libcaf_opencl/caf/opencl/smart_ptr.hpp
+5
-5
libcaf_opencl/src/global.cpp
libcaf_opencl/src/global.cpp
+2
-2
libcaf_opencl/src/opencl_metainfo.cpp
libcaf_opencl/src/opencl_metainfo.cpp
+2
-2
libcaf_opencl/src/program.cpp
libcaf_opencl/src/program.cpp
+2
-2
No files found.
libcaf_opencl/caf/opencl/actor_facade.hpp
View file @
a1ba3c1c
...
...
@@ -17,8 +17,8 @@
* http://www.boost.org/LICENSE_1_0.txt. *
******************************************************************************/
#ifndef C
PPA
_OPENCL_ACTOR_FACADE_HPP
#define C
PPA
_OPENCL_ACTOR_FACADE_HPP
#ifndef C
AF
_OPENCL_ACTOR_FACADE_HPP
#define C
AF
_OPENCL_ACTOR_FACADE_HPP
#include <ostream>
#include <iostream>
...
...
@@ -41,7 +41,7 @@
#include "cppa/opencl/program.hpp"
#include "cppa/opencl/smart_ptr.hpp"
namespace
c
ppa
{
namespace
c
af
{
namespace
opencl
{
class
opencl_metainfo
;
...
...
@@ -233,6 +233,6 @@ class actor_facade<Ret(Args...)> : public abstract_actor {
};
}
// namespace opencl
}
// namespace c
ppa
}
// namespace c
af
#endif // C
PPA
_OPENCL_ACTOR_FACADE_HPP
#endif // C
AF
_OPENCL_ACTOR_FACADE_HPP
libcaf_opencl/caf/opencl/command.hpp
View file @
a1ba3c1c
...
...
@@ -17,8 +17,8 @@
* http://www.boost.org/LICENSE_1_0.txt. *
******************************************************************************/
#ifndef C
PPA
_OPENCL_COMMAND_HPP
#define C
PPA
_OPENCL_COMMAND_HPP
#ifndef C
AF
_OPENCL_COMMAND_HPP
#define C
AF
_OPENCL_COMMAND_HPP
#include <vector>
#include <numeric>
...
...
@@ -32,7 +32,7 @@
#include "cppa/opencl/smart_ptr.hpp"
#include "cppa/util/scope_guard.hpp"
namespace
c
ppa
{
namespace
c
af
{
namespace
opencl
{
template
<
typename
T
,
typename
R
>
...
...
@@ -147,6 +147,6 @@ class command : public ref_counted {
};
}
// namespace opencl
}
// namespace c
ppa
}
// namespace c
af
#endif // C
PPA
_OPENCL_COMMAND_HPP
#endif // C
AF
_OPENCL_COMMAND_HPP
libcaf_opencl/caf/opencl/device_info.hpp
View file @
a1ba3c1c
...
...
@@ -17,14 +17,14 @@
* http://www.boost.org/LICENSE_1_0.txt. *
******************************************************************************/
#ifndef C
PPA
_OPENCL_DEVICE_INFO_HPP
#define C
PPA
_OPENCL_DEVICE_INFO_HPP
#ifndef C
AF
_OPENCL_DEVICE_INFO_HPP
#define C
AF
_OPENCL_DEVICE_INFO_HPP
#include "cppa/opencl/global.hpp"
#include "cppa/opencl/program.hpp"
#include "cppa/opencl/smart_ptr.hpp"
namespace
c
ppa
{
namespace
c
af
{
namespace
opencl
{
class
device_info
{
...
...
@@ -74,7 +74,7 @@ inline dim_vec device_info::get_max_work_items_per_dim() {
}
}
// namespace opencl
}
// namespace c
ppa
}
// namespace c
af
#endif // C
PPA
_OPENCL_DEVICE_INFO_HPP
#endif // C
AF
_OPENCL_DEVICE_INFO_HPP
libcaf_opencl/caf/opencl/global.hpp
View file @
a1ba3c1c
...
...
@@ -17,8 +17,8 @@
* http://www.boost.org/LICENSE_1_0.txt. *
******************************************************************************/
#ifndef C
PPA
_OPENCL_GLOBAL_HPP
#define C
PPA
_OPENCL_GLOBAL_HPP
#ifndef C
AF
_OPENCL_GLOBAL_HPP
#define C
AF
_OPENCL_GLOBAL_HPP
#include <string>
...
...
@@ -30,7 +30,7 @@
#include <CL/opencl.h>
#endif
namespace
c
ppa
{
namespace
c
af
{
namespace
opencl
{
/**
...
...
@@ -44,6 +44,6 @@ cl_int clReleaseDeviceDummy (cl_device_id);
cl_int
clRetainDeviceDummy
(
cl_device_id
);
}
// namespace opencl
}
// namespace c
ppa
}
// namespace c
af
#endif // C
PPA
_OPENCL_GLOBAL_HPP
#endif // C
AF
_OPENCL_GLOBAL_HPP
libcaf_opencl/caf/opencl/opencl_metainfo.hpp
View file @
a1ba3c1c
...
...
@@ -17,8 +17,8 @@
* http://www.boost.org/LICENSE_1_0.txt. *
******************************************************************************/
#ifndef C
PPA
_OPENCL_METAINFO_HPP
#define C
PPA
_OPENCL_METAINFO_HPP
#ifndef C
AF
_OPENCL_METAINFO_HPP
#define C
AF
_OPENCL_METAINFO_HPP
#include <atomic>
#include <vector>
...
...
@@ -36,7 +36,7 @@
#include "cppa/detail/singleton_mixin.hpp"
#include "cppa/detail/singleton_manager.hpp"
namespace
c
ppa
{
namespace
c
af
{
namespace
opencl
{
class
opencl_metainfo
{
...
...
@@ -67,6 +67,6 @@ class opencl_metainfo {
opencl_metainfo
*
get_opencl_metainfo
();
}
// namespace opencl
}
// namespace c
ppa
}
// namespace c
af
#endif // C
PPA
_OPENCL_METAINFO_HPP
#endif // C
AF
_OPENCL_METAINFO_HPP
libcaf_opencl/caf/opencl/program.hpp
View file @
a1ba3c1c
...
...
@@ -17,15 +17,15 @@
* http://www.boost.org/LICENSE_1_0.txt. *
******************************************************************************/
#ifndef C
PPA
_OPENCL_PROGRAM_HPP
#define C
PPA
_OPENCL_PROGRAM_HPP
#ifndef C
AF
_OPENCL_PROGRAM_HPP
#define C
AF
_OPENCL_PROGRAM_HPP
#include <memory>
#include "cppa/opencl/global.hpp"
#include "cppa/opencl/smart_ptr.hpp"
namespace
c
ppa
{
namespace
c
af
{
namespace
opencl
{
template
<
typename
Signature
>
...
...
@@ -59,6 +59,6 @@ class program {
};
}
// namespace opencl
}
// namespace c
ppa
}
// namespace c
af
#endif // C
PPA
_OPENCL_PROGRAM_HPP
#endif // C
AF
_OPENCL_PROGRAM_HPP
libcaf_opencl/caf/opencl/smart_ptr.hpp
View file @
a1ba3c1c
...
...
@@ -17,14 +17,14 @@
* http://www.boost.org/LICENSE_1_0.txt. *
******************************************************************************/
#ifndef C
PPA
_OPENCL_SMART_PTR_HPP
#define C
PPA
_OPENCL_SMART_PTR_HPP
#ifndef C
AF
_OPENCL_SMART_PTR_HPP
#define C
AF
_OPENCL_SMART_PTR_HPP
#include <memory>
#include <algorithm>
#include <type_traits>
namespace
c
ppa
{
namespace
c
af
{
namespace
opencl
{
template
<
typename
T
,
cl_int
(
*
ref
)(
T
),
cl_int
(
*
deref
)(
T
)>
...
...
@@ -109,6 +109,6 @@ typedef smart_ptr<cl_command_queue, clRetainCommandQueue, clReleaseCommandQueue>
command_queue_ptr
;
}
// namespace opencl
}
// namespace c
ppa
}
// namespace c
af
#endif // C
PPA
_OPENCL_SMART_PTR_HPP
#endif // C
AF
_OPENCL_SMART_PTR_HPP
libcaf_opencl/src/global.cpp
View file @
a1ba3c1c
...
...
@@ -19,7 +19,7 @@
#include "cppa/opencl/global.hpp"
namespace
c
ppa
{
namespace
c
af
{
namespace
opencl
{
std
::
string
get_opencl_error
(
cl_int
err
)
{
...
...
@@ -126,5 +126,5 @@ cl_int clReleaseDeviceDummy (cl_device_id) { return 0; }
cl_int
clRetainDeviceDummy
(
cl_device_id
)
{
return
0
;
}
}
// namespace opencl
}
// namespace c
ppa
}
// namespace c
af
libcaf_opencl/src/opencl_metainfo.cpp
View file @
a1ba3c1c
...
...
@@ -21,7 +21,7 @@
using
namespace
std
;
namespace
c
ppa
{
namespace
c
af
{
namespace
opencl
{
const
std
::
vector
<
device_info
>
opencl_metainfo
::
get_devices
()
const
{
...
...
@@ -205,6 +205,6 @@ opencl_metainfo* get_opencl_metainfo() {
}
}
// namespace opencl
}
// namespace c
ppa
}
// namespace c
af
libcaf_opencl/src/program.cpp
View file @
a1ba3c1c
...
...
@@ -28,7 +28,7 @@
using
namespace
std
;
namespace
c
ppa
{
namespace
c
af
{
namespace
opencl
{
...
...
@@ -109,5 +109,5 @@ program program::create(const char* kernel_source, const char* options, uint32_t
}
}
// namespace opencl
}
// namespace c
ppa
}
// namespace c
af
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