fix cuda 13.3 errors#6443
Conversation
|
Thank you for the fix. However, I have to say I am a bit hesitant to put these three function into the #if THRUST_MAJOR_VERSION >= 3
#include <cuda/std/tuple>
namespace pcl_thrust {
using ::cuda::std::tuple;
using ::cuda::std::make_tuple;
using ::cuda::std::get;
}
#else
namespace pcl_thrust {
using ::thrust::tuple;
using ::thrust::make_tuple;
using ::thrust::get;
}
#endifAnd change |
|
Thanks @mvieth for the comments. I went through the updated thrust files today and realized that everything was actually handled properly in the |
Upgrading to CUDA 13.3 included an update of thrust. This resulted in the following build failures in the cuda module:
This fixes the issue by switching to use
cuda::stdinstead ofthrustwhen there is a newer version of thrust.Testing
This was tested by building on Ubuntu 24.04 with both CUDA 12.9 and 13.3.