Hi,
I'm trying to compile a CUDA kernel into an MITK module, along with
other cpp files.
Doing things like...
CUDA_WRAP_SRCS(myModule OBJ CUDA_GENERATED_FILES mykernel.cu)
MITK_CREATE_MODULE(myModule
EXPORT_DEFINE ...
INCLUDE_DIRS ...
DEPENDS ...
PACKAGE_DEPENDS ...
ADDITIONAL_LIBS ${CUDA_GENERATED_FILES}
)
include_directories(${CUDA_TOOLKIT_INCLUDE})
target_link_libraries(myModule
${CUDA_CUDA_LIBRARY} ${CUDA_CUDART_LIBRARY})
...puts the nvcc output on the linker command line; and host-code compiles.
But the commands to actually start nvcc are never generated, so the
file(s) in CUDA_GENERATED_FILES don't exist.
Any idea how to get this to work?
This is on Windows, CUDA 5, Visual Studio 2010.
Thanks,
Johannes
------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your source for news, insights,
analysis and resources for efficient Application Performance Management.
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users