Intel® Advisor

Testing the Intel Cilk Plus Synchronization Code

After you add Intel Cilk Plus synchronization code (such as reducers/mutexes), but before adding the constructs that cause the program to use parallel execution, you should test your serial program. The synchronization code may introduce problems if you have inadvertently used a non-recursive mutex in a recursive context, or if your edits accidentally changed some other piece of program behavior.

Copying Annotations and Build Settings Using the Annotation Assistant Pane

The Intel Advisor provides an annotation assistant near the bottom of the Survey Report and Survey Source windows, as well as with the No Data message. Use this assistant to copy selected annotated code snippets and build setting information into a code editor. For example, here is the annotation assistant pane in the Survey Report window:

Window: Annotation Report, User Memory Deallocator Use Row

This row shows a source location where memory is being freed using a non-standard or user-defined memory deallocation. The Dependencies tool uses this as a hint about the lifetime of memory accesses, so memory that is freed and then allocated again will not cause conflicts to be reported if the non-standard or user-defined memory free occurs with the span of this annotation's execution.

Subscribe to Intel® Advisor