You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Using Eclipse CDT with CUDA makefile projects is straightforward after a couple key steps.

  1. Enable .cu filenames for CDT
    1. Window -> Preferences -> C/C++ -> File Types
      1. New...  : add .cu as a C Source File type
  2. Add Includes for the CUDA and SDK libraries
    1. Project -> Properties -> C/C++ General -> Path and Symbols
      1. Add... : CUDA includes for your project
  3. Disable some of the error checking (optional)
    1. Project -> Properties -> C/C++ General -> Code Analysis
      1. Syntax and Semantic Errors
        1. Symbol is not resolved
        2. Type cannot be resolved
        3. Field cannot be resolved
  • No labels