Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/evstigneevnm/std_vector_unified
This is a test repository for using std::vector<T, unified_allocator<T>>, where unified_allocator is using cuda unified memory
https://github.com/evstigneevnm/std_vector_unified
Last synced: 25 days ago
JSON representation
This is a test repository for using std::vector<T, unified_allocator<T>>, where unified_allocator is using cuda unified memory
- Host: GitHub
- URL: https://github.com/evstigneevnm/std_vector_unified
- Owner: evstigneevnm
- License: mit
- Created: 2023-02-27T10:16:46.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-02-27T10:25:26.000Z (almost 2 years ago)
- Last Synced: 2024-11-15T15:45:27.737Z (3 months ago)
- Language: C++
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# std_vector_unified
This is a test repository for using ``std::vector<T, unified_allocator<T>>``, where unified_allocator is using cuda unified memory. It also uncludes a simple ``cuda_universal_vector`` that wraps cuda raw pointers with ```` is called when using device memory and ```` is called when using unified memory.
To use include ``unified_allocator.h`` in your files.
to make some tests:
```
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make all
```