See T5733
- Add configuration UI for CUDA PATH
- Add CUDA auto detection by nvcc path
- Fix typos in config dialog signal connection
- Make CUDA and OpenCL parsing honor parser argument settings
- Skip unit test for .cu files if no CUDA found
Correct persistent OpenCL and CUDA settings
Auto completion when typing:
Auto completion of kernel calls:
Auto completion of API calls:
Config dialog:
Known limitation
- The colorful highlight is only available when cuda_runtime.h is explicitly included. Otherwise, there's no syntax highlight for cuda builtin types/variables/apis. However, the auto completion still works with correct information, though the API function signatures seems to be incomplete.
- KDevelop currently is built against Clang 3.9, which only supports CUDA 7.5. To get CUDA 8.0 support, it need to be compiled against Clang 4.0