[petsc-dev] Cusp & Thrust test
bsmith at mcs.anl.gov
Sun Jul 25 16:50:04 CDT 2010
On Jul 25, 2010, at 8:26 AM, Matthew Knepley wrote:
> They work with normal compilers if you drop an empty file in 'thrust' called 'host_defines.h'.
> I think this should be the prefered checking mechanism since now we have fucked up dependencies
So people who use CUDA have to drop an empty file in that strange system location? Doesn't sound like a good solution to the problem.
Since cusp and thrust are never used with the regular compilers shouldn't they be tested with the compiler that actually uses them, nvcc? Thus you just need to add a new language CUDA to BuildSystem, which it needs anyways and test with that.
> What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.
> -- Norbert Wiener
More information about the petsc-dev