lion03 / thrust

Automatically exported from code.google.com/p/thrust
Apache License 2.0
0 stars 0 forks source link

Error Compiling with cuda 3.2 #417

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
When compiling using cuda3.2 and the current development snapshot of thrust I 
get the error:
.../thrust/detail/backend/cuda/arch.inl(101): error: class "cudaDeviceProp" has 
no member "maxThreadsPerMultiProcessor"

1 error detected in the compilation of 
"/tmp/tmpxft_0000273c_00000000-4_transform.cpp1.ii".

I compiled on a machine with 64bit redhat 5 and gcc 4.2.2.

Original issue reported on code.google.com by scott.ro...@gmail.com on 5 Dec 2011 at 7:02

Attachments:

GoogleCodeExporter commented 8 years ago
Unfortunately, we can't support very old versions of CUDA.  Upgrading to CUDA 
4.0 or 4.1 should fix the problem.

Original comment by jaredhoberock on 5 Dec 2011 at 7:07

GoogleCodeExporter commented 8 years ago
Ok, in the faq it still says thrust supports cuda 3.0 and newer which is why I 
reported.

I had to use somebody elses machine over the weekend who won't upgrade...
I just hardcoded the specific value to get around it.

Original comment by scott.ro...@gmail.com on 5 Dec 2011 at 7:27

GoogleCodeExporter commented 8 years ago
Thanks, I've removed the reference to CUDA 3.0 in the FAQ.

Original comment by jaredhoberock on 5 Dec 2011 at 7:31