Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  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
      2. Image RemovedImage Added
  3. Disable some of the error checking (optional, project will build anyway using the makefile you provide )
    1. Project -> Properties -> C/C++ General -> Code Analysis (select radio button: use project settings)
      1. Syntax and Semantic Errors
        1. Symbol is not resolved
        2. Type cannot be resolved
        3. Field cannot be resolved
  4. If the makefile project doesn't support the target "all" (as with the SDK examples), change the build behaviour.
    1. Project -> Properties -> C/C++ Build -> Behaviour tab -> Build field (remove "all")

...