Selecting a binary parser
Selecting the correct binary parser is important to ensure the accuracy of the Project Explorer view and to successfully run and debug your programs. Linux users should select the CUDA Elf Parser. Mac OS X users should select CUDA Mach-O Parser. When you select the correct parser for your development environment and build your project, you can view the components of the .o file in the Project Explorer view and view the contents of the .o file in the source editor. You can also easily browse for the executable when defining run/debug configurations.
If you use Nsight-generated makefile to build your project, appropriate binary parsers are set according to selected toolchain during creation.
If you use your own makefile to build, default settings for binary parser are got from Preferences during project creation.
You can modify these settings in the Preferences window, to be used in future projects.
To set properties for future projects with user-provided Makefile :
- Click Window > Preferences > C/C++ > New CDT Project wizard > Makefile project
- Click the Binary Parser tab.

- In the Binary Parser list, click:
- CUDA Elf Parser, if you are a Linux user.
- CUDA Mach-O Parser, if you are a Mac OS X user.
- CUDA Cubin Parser, if you are building Driver API applications.
- Click OK.
To change binary parsers for existing project:
- In the Project Explorer view, right-click the project, and select Properties.
- Select Build > Settings from the list.
- Click the Binary Parser tab.
Binary Parser,
C/C++ Properties window