Commit 65caff53 authored by Dominik Charousset's avatar Dominik Charousset

cleaned up header guards

parent 774d9eed
...@@ -29,8 +29,8 @@ ...@@ -29,8 +29,8 @@
\******************************************************************************/ \******************************************************************************/
#ifndef DEVICE_INFO_HPP #ifndef CPPA_OPENCL_DEVICE_INFO_HPP
#define DEVICE_INFO_HPP #define CPPA_OPENCL_DEVICE_INFO_HPP
#include "cppa/opencl/global.hpp" #include "cppa/opencl/global.hpp"
#include "cppa/opencl/program.hpp" #include "cppa/opencl/program.hpp"
...@@ -89,4 +89,4 @@ inline dim_vec device_info::get_max_work_items_per_dim() { ...@@ -89,4 +89,4 @@ inline dim_vec device_info::get_max_work_items_per_dim() {
} // namespace cppa } // namespace cppa
#endif // DEVICE_INFO_HPP #endif // CPPA_OPENCL_DEVICE_INFO_HPP
...@@ -58,5 +58,4 @@ cl_int clRetainDeviceDummy (cl_device_id); ...@@ -58,5 +58,4 @@ cl_int clRetainDeviceDummy (cl_device_id);
} // namespace opencl } // namespace opencl
} // namespace cppa } // namespace cppa
#endif // CPPA_OPENCL_GLOBAL_HPP #endif // CPPA_OPENCL_GLOBAL_HPP
...@@ -29,8 +29,8 @@ ...@@ -29,8 +29,8 @@
\******************************************************************************/ \******************************************************************************/
#ifndef OPENCL_METAINFO_HPP #ifndef CPPA_OPENCL_METAINFO_HPP
#define OPENCL_METAINFO_HPP #define CPPA_OPENCL_METAINFO_HPP
#include <atomic> #include <atomic>
#include <vector> #include <vector>
...@@ -81,5 +81,4 @@ opencl_metainfo* get_opencl_metainfo(); ...@@ -81,5 +81,4 @@ opencl_metainfo* get_opencl_metainfo();
} // namespace opencl } // namespace opencl
} // namespace cppa } // namespace cppa
#endif // CPPA_OPENCL_METAINFO_HPP
#endif // OPENCL_METAINFO_HPP
...@@ -73,5 +73,4 @@ class program { ...@@ -73,5 +73,4 @@ class program {
} // namespace opencl } // namespace opencl
} // namespace cppa } // namespace cppa
#endif // CPPA_OPENCL_PROGRAM_HPP #endif // CPPA_OPENCL_PROGRAM_HPP
...@@ -29,8 +29,8 @@ ...@@ -29,8 +29,8 @@
\******************************************************************************/ \******************************************************************************/
#ifndef SMART_PTR_HPP #ifndef CPPA_OPENCL_SMART_PTR_HPP
#define SMART_PTR_HPP #define CPPA_OPENCL_SMART_PTR_HPP
#include <memory> #include <memory>
#include <algorithm> #include <algorithm>
...@@ -123,5 +123,4 @@ typedef smart_ptr<cl_command_queue, clRetainCommandQueue, clReleaseCommandQueue> ...@@ -123,5 +123,4 @@ typedef smart_ptr<cl_command_queue, clRetainCommandQueue, clReleaseCommandQueue>
} // namespace opencl } // namespace opencl
} // namespace cppa } // namespace cppa
#endif // CPPA_OPENCL_SMART_PTR_HPP
#endif // SMART_PTR_HPP
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment