Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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
```