I couldn’t compile a program that uses thrust host vector. nvcc version is V11.4.48, and thrust version is 101201 (from thrust/version.h). Basically I am using what comes with the CUDA Toolkit 11.4 installation. My program does something as trivial as defining a host vector, but compilation says:
error: ‘host_vector’ is not a member of ‘thrust’
thrust::host_vector<int3> test_vector;
I tried both g++ 6.5.0 and 4.8.5, arguably quite old but are what’s available on my machine. Could it be that the g++ version is too old? From the verbose output make, this doesn’t look like an nvcc issue.