문제

I am currently using the Optix ray tracing engine on Visual Studio. My problem consists of computing data and rendering them with Optix.

I have already written a pure C CUDA program to compute the data, but I cannot integrate it inside my Optix project.

I compiled my Optix project by using the SDK's CMakeLists.txt and modifying it. Any insight on how to make my project compile the C CUDA files (.cu) as well as the Optix Kernels (also .cu) in the same VS project?

도움이 되었습니까?

해결책

This is a duplicate question to one asked on the official forum for OptiX. Please see the following link.

http://forums.developer.nvidia.com/devforum/discussion/6656/compile-c-cuda-and-optix-kernels-in-the-same-visual-studio-project

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top