summaryrefslogtreecommitdiffhomepage
path: root/include/ocl/core
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-12-01 02:36:49 -0500
committerAmlal El Mahrouss <amlal@nekernel.org>2025-12-01 02:36:49 -0500
commit2a60676b145280db364bfc048bce30b1ca64fa1e (patch)
tree3a48c80f984512ddf185e04150937ae434fda5de /include/ocl/core
parent3603b96c3cda0296fc64a591c375d007554bc579 (diff)
chore: source level patches of examples, library cleanup, and crc improvements.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'include/ocl/core')
-rw-r--r--include/ocl/core/allocator_op.hpp2
-rw-r--r--include/ocl/core/config.hpp5
-rw-r--r--include/ocl/core/is_same.hpp4
3 files changed, 3 insertions, 8 deletions
diff --git a/include/ocl/core/allocator_op.hpp b/include/ocl/core/allocator_op.hpp
index 539c7e6..e25fc1c 100644
--- a/include/ocl/core/allocator_op.hpp
+++ b/include/ocl/core/allocator_op.hpp
@@ -60,7 +60,7 @@ namespace ocl
};
template <typename type>
- using allocator_type = allocator_op<type, global_new_op<type>, global_delete_op<type>>;
+ using allocator = allocator_op<type, global_new_op<type>, global_delete_op<type>>;
} // namespace ocl
#endif // ifndef _OCL_ALLOCATOR_SYSTEM_HPP \ No newline at end of file
diff --git a/include/ocl/core/config.hpp b/include/ocl/core/config.hpp
index c354672..a0ddd66 100644
--- a/include/ocl/core/config.hpp
+++ b/include/ocl/core/config.hpp
@@ -31,8 +31,3 @@
#define OCL_DECL
#define OCL_EXPORT_DECL
#endif
-
-namespace ocl
-{
- using char_type = char;
-} // namespace ocl \ No newline at end of file
diff --git a/include/ocl/core/is_same.hpp b/include/ocl/core/is_same.hpp
index e6f42c4..fdf80d7 100644
--- a/include/ocl/core/is_same.hpp
+++ b/include/ocl/core/is_same.hpp
@@ -10,7 +10,7 @@
#include <core/config.hpp>
/// @brief OCL equivalence namespace.
-namespace ocl::is_same
+namespace ocl
{
template <typename T>
struct basic_hash
@@ -103,4 +103,4 @@ namespace ocl::is_same
return left_ / right_ == 1;
}
};
-} // namespace ocl::is_same
+} // namespace ocl