lion03 / thrust

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

NVIDIA 3.2 driver and toolkit incomatibility #219

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I receive a compiler error regarding the type traits.

I know, that the 3.2 driver is still a release candidate, but i think it'll be 
a problem in the future.

The whole error message is attached to the issue.

Best regards,

Gergely Mark
Functional Finances Ltd

Original issue reported on code.google.com by gergely....@gmail.com on 15 Sep 2010 at 11:56

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks for the report Gergely, we'll look into it.

Original comment by wnbell on 15 Sep 2010 at 1:21

GoogleCodeExporter commented 8 years ago
Hi Gergely,
The current development version of Thrust builds and runs correctly with the 
3.2 toolkit and driver.  Are you still experiencing these compiler errors?  If 
so, please attach a small code sample which reproduces these problems to this 
issue.

Original comment by jaredhoberock on 21 Sep 2010 at 12:03

GoogleCodeExporter commented 8 years ago
I got the same type of error, just trying to compile the testing file reduce.cu 
from testing folder.

Original comment by dang....@gmail.com on 24 Sep 2010 at 6:37

GoogleCodeExporter commented 8 years ago
Hi,

I tried to compile my project with the latest code from svn. It doesn't give me 
the above mentioned error, but i have the following issue: the compiler says 
that i want to use host functions in a device function. 

However, prior to the 3.2 driver and the svn checkout this problem didn't 
occur. 

Maybe it's a different issue 'cause it doesn't involve any type trait error.

Based on my understanding of the compiler's error message, i think the error is 
related to the iterators.

Detailed compiler errors attached to the comment.

Thanks,
Gergely Mark

Original comment by gergely....@gmail.com on 24 Sep 2010 at 9:14

Attachments:

GoogleCodeExporter commented 8 years ago
Just a remark:
I've tried Thrust 1.2.1 with CUDA 3.2 and got lots of errors from type traits. 
I switched to the latest development version and now my code compiles again 
without warnings.

System: OpenSUSE 11.2 64Bit, gcc 4.4, CUDA 3.2

Mario

Original comment by mario.mu...@gmx.net on 24 Sep 2010 at 11:24

GoogleCodeExporter commented 8 years ago
I can reproduce these errors with the following installation:

Thrust 1.2.1

jhoberock@jhoberock-dt:~/dev/hg/thrust-1.2.1/examples$ nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2010 NVIDIA Corporation
Built on Thu_Sep__9_17:06:50_PDT_2010
Cuda compilation tools, release 3.2, V0.2.1221

It seems that CUDA RC 3.2 is not compatible with Thrust 1.2.1.  To fix this, 
update Thrust to the latest development version [1] or rollback your CUDA 
install to 3.1

[1] http://code.google.com/p/thrust/source/checkout

Original comment by jaredhoberock on 24 Sep 2010 at 11:29