thrust
thrust copied to clipboard
[ARCHIVED] The C++ parallel algorithms library. See https://github.com/NVIDIA/cccl
I've used `cuda::std` in the recent additions to thrust. This namespace conflicts with thrust cuda namespace in some cases. This PR changes `cuda::std` namespace to `::cuda::std` one.
```C++ #include #include #include __global__ void lowerbound(float inp_val) { constexpr int size = 6; float a[size] = {0.1, 0.2, 0.4, 0.6, 0.8, 1.}; auto result = thrust::lower_bound( thrust::device, a, a...
nvcc defaults to rdc-off, nvc++ defaults to rdc-on. We need to explicitly enable or disable these flags for each CUDA target, rather than just enabling them when needed.
I need to copy the values of thrust device vector PusiTidal_d to another vector Pusi in a class member function void VS::RestoreOmegaPusi(). It works well if I use the naive...
I'm working with `clang++` 13.0 and CUDA Toolkit 11.6. It seems to me that there's probably some problem with the `__noinline__` macro. In thrust, it is used as `__attribute__((__noinline__))` which...