James,
Thanks a lot. Your diagnosis was absolutely right.
#
# habilitar o módulo FindBoost
find_package (Boost 1.42.0 COMPONENTS thread)
# habilitar o módulo FindCUDA
find_package (CUDA)
file (GLOB_RECURSE sources *.cpp)
file (G
You need to add ${ptxfiles} to your add_executable command, so that it
contains both the source and generated files.
For makefile targets you need to establish a dependency between the target
(cuda_core_test) and your ptx files. This is done by putting the generated
files into the target. For VS
Hi all,
I was trying to use CUDA_COMPILE_PTX to make nvcc compile *.cu files
to .ptx files but with no success.
Running make just compile my regular .cpp files and does nothing to .cu
files. I want the ptx files to use them with CUDA driver API.
I checked in the trunk SVN repository of FindCUDA bu