diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-12-17 14:53:59 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-12-17 14:53:59 +0100 |
| commit | d54c2033eaaad5b6f9340b7cbaf8b3b037fb3cbe (patch) | |
| tree | c9506ad751a589c0a734b26900f48581d1dde2ce /examples/simple_allocator_op | |
| parent | 15aac395a599c92016bd2d74a7c23ca6eea3d04d (diff) | |
chore: updated file structure.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'examples/simple_allocator_op')
| -rw-r--r-- | examples/simple_allocator_op/CMakeLists.txt | 15 | ||||
| -rw-r--r-- | examples/simple_allocator_op/example.cc | 14 |
2 files changed, 0 insertions, 29 deletions
diff --git a/examples/simple_allocator_op/CMakeLists.txt b/examples/simple_allocator_op/CMakeLists.txt deleted file mode 100644 index fbda92b..0000000 --- a/examples/simple_allocator_op/CMakeLists.txt +++ /dev/null @@ -1,15 +0,0 @@ - -cmake_minimum_required(VERSION 3.15...3.31) - -project( - AllocatorExample - VERSION 1.0 - LANGUAGES CXX) - -find_package(Boost REQUIRED COMPONENTS container) - -add_executable(AllocatorExample example.cc) - -set_property(TARGET AllocatorExample PROPERTY CXX_STANDARD 20) -target_include_directories(AllocatorExample PUBLIC ../../include/) -target_link_libraries(AllocatorExample PRIVATE Boost::container) diff --git a/examples/simple_allocator_op/example.cc b/examples/simple_allocator_op/example.cc deleted file mode 100644 index 83be033..0000000 --- a/examples/simple_allocator_op/example.cc +++ /dev/null @@ -1,14 +0,0 @@ -#include <ocl/print.hpp> -#include <ocl/allocator_op.hpp> - -/// @brief Basic Send test -int main() -{ - ocl::allocator<int> int_alloc; - auto foo = int_alloc.construct_array<1>(); - - *foo = 67; - ocl::io::print(*foo); - - return EXIT_SUCCESS; -} |
