You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.
Despite specifying the thrust::cuda::par parallel execution policy, thrust::lower_bound returns the following error:
error: no suitable constructor exists to convert from "float *" to "thrust::detail::normal_iteratorthrust::device_ptr"
Code is the following:
float * raw_ptr;
int length;
...
... (allocate memory on the device at raw_ptr)
...
thrust::device_vector::iterator iter = thrust::lower_bound(thrust::cuda::par, raw_ptr, raw_ptr+length, some_value, some_comp);
Using pgcpp 14.3-0 64-bit target on x86-64 Linux and Cuda compilation tools, release 6.5, V6.5.12.
The text was updated successfully, but these errors were encountered:
If you still observe the error with the latest development version of Thrust, please submit a small, self-contained program which reproduces the error.
Despite specifying the thrust::cuda::par parallel execution policy, thrust::lower_bound returns the following error:
Code is the following:
Using pgcpp 14.3-0 64-bit target on x86-64 Linux and Cuda compilation tools, release 6.5, V6.5.12.
The text was updated successfully, but these errors were encountered: