lion03 / thrust

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

Remove dependence on nvcc for OpenMP backend #211

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
__host__ & __device__ need to be defined somewhere
Test this behavior somehow

Original issue reported on code.google.com by jaredhoberock on 8 Sep 2010 at 11:36

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
http://code.google.com/r/andrewcorrigan-thrust-no-nvcc/source/detail?r=736d26843
c958d193ff86216c2df1793ed8b5cee

Original comment by andrew.c...@gmail.com on 9 Sep 2010 at 3:08

GoogleCodeExporter commented 8 years ago
Thanks for submitting this patch.  I will need to be clean it up a bit before 
committing it to the mainstream repo.

Original comment by jaredhoberock on 9 Sep 2010 at 5:38

GoogleCodeExporter commented 8 years ago

Original comment by jaredhoberock on 9 Sep 2010 at 5:44

GoogleCodeExporter commented 8 years ago
This issue was closed by revision eb4902baaa.

Original comment by jaredhoberock on 10 Sep 2010 at 12:49

GoogleCodeExporter commented 8 years ago
Is it possible to avoid the dependence on host_defines.h?   I'd rather not have 
to deal with configuring the CUDA include path in order to compiler an OpenMP 
version of the code.

Original comment by andrew.c...@gmail.com on 10 Sep 2010 at 4:44

GoogleCodeExporter commented 8 years ago
host_defines.h is only included if the device backend is CUDA [1].

Note that CUDA is still always the default device backend.

[1] 
http://code.google.com/p/thrust/source/browse/thrust/detail/config/host_device.h
?r=eb4902baaa64d8c6e44acdee57efb8e399c96f4f#27

Original comment by jaredhoberock on 10 Sep 2010 at 5:22