pauleonix
pauleonix
Thanks for pointing out the new link to the old wiki. Especially the content of https://github.com/brycelelbach/thrust_wiki/blob/main/Direct-System-Access.md should be integrated into the official docs.
As a workaround one can adapt the `uninitialized_allocator` from `examples/uninitialized_vector.cu` to `thrust::cuda::univeral_allocator`: ```c++ #include #include #include #include template struct uninitialized_allocator : thrust::cuda::universal_allocator { __host__ uninitialized_allocator() {} __host__ uninitialized_allocator(const uninitialized_allocator &...
Custom memory resource/allocator is not used by `thrust::async` algorithms for temporary allocations
```c++ #include #include #include #include #ifndef NDEBUG #include #endif #include #include #include #include struct not_my_pointer { not_my_pointer(void* p) : message() { std::stringstream s; s
Custom memory resource/allocator is not used by `thrust::async` algorithms for temporary allocations
This bug (?) can be reproed easily by putting above code into e.g. the `thrust::async` example in the readme and adding an allocator to the reduction: ```c++ #include #include #include...
There is no way for the the different calls to `async::sort` to know about each other and previous allocations in your code. You are also not using a pool resource...
I'm experimenting with `async::sort` right now (see #1718). When profiling it seems like the `cudaFree` is only done after synchronization (i.e. `.wait()` on the final `thrust::device_event`). So it should work...
Is there some kind of design decision/philosophy that running the benchmark executable without any arguments should always run all possible configurations? If not I would file another similar issue for...
Also, when using `NVBENCH_DECLARE_ENUM_TYPE_STRINGS`, it needs to be at global namespace scope. If I put it in a namespace, compilation fails with hundreds of unhelpful errors: ``` error: identifier "enum_type"...
Using namespaces would also be somewhat limiting as one can't have two namespaces with partial overlap.
To be more precise: with [email protected] and [email protected] I get ``` [ 2%] Building C object dart-impl/base/CMakeFiles/dart-base.dir/src/internal/domain_locality.c.o /home/spielix/dash/dart-impl/base/src/hwinfo.c: In function ‘dart_hwinfo’: /home/spielix/dash/dart-impl/base/src/hwinfo.c:148:27: error: ‘dart_hwinfo_t’ {aka ‘struct ’} has no member...