Quantcast
Channel: C#
Viewing all articles
Browse latest Browse all 1853

Sample Applications and Tutorials

$
0
0

Intel Inspector currently offers the following sample applications. The default installation path, <inspector-install-dir>, is below C:\Program Files (x86)\IntelSWTools\ (on certain systems, the directory is Program Files).

Sample Application

Summary

Default Installation Location

tachyon_insp_xe

Displays a rendering of a graphical image via 2D ray tracing.

Demonstrates detecting memory and threading errors in a C++ application.

Data conflicts: Memory leak, invalid memory access, mismatched memory allocation and deallocation, and data race.

Tip

Companion tutorials available.

<inspector-install-dir>\samples\<locale>\C++\tachyon_insp_xe.zip

banner

Displays an abcde banner on the command line.

Demonstrates detecting memory and threading errors in a C++ application.

Data conflicts: Memory leak, invalid memory access, and data race.

<inspector-install-dir>\samples\<locale>\C++\banner.zip

nqueens_fortran

Solves the nqueens problem for various board sizes.

Demonstrates detecting memory and threading errors in a Fortran application.

Data Conflicts: Data race, uninitialized memory access, and memory leak.

Tip

Companion tutorials available.

<inspector-install-dir>\samples\<locale>\Fortran\nqueens_fortran.zip

parallel_nqueens_csharp

Computes the number of solutions to the nQueens problem for a given board size.

Demonstrates dynamic analysis: Detecting threading errors in a C# application.

Data conflicts: Data race.

<inspector-install-dir>\samples\<locale>\C#\parallel_nqueens_csharp.zip

After you copy a sample application compressed file to a writable directory, use a suitable tool to extract the contents. Extracted contents include a short README (TXT format) that describes how to build the sample and fix issues.

Note

  • Sample applications are non-deterministic.

  • Sample applications are designed only to illustrate the Intel Inspector features and do not represent best practices for creating code.


Viewing all articles
Browse latest Browse all 1853

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>