Objects Tree View
Intel® SDK for OpenCL™ Applications - API Debugger plug-in for Microsoft
Visual Studio* IDE Objects Tree view enables:
- Getting a better understanding of which objects are "alive"/released
at any given point of time.
- Showing hierarchy and dependencies of various OpenCL objects.
API Debugger also reflects the OpenCL objects that exist in memory during
application execution:
- Platform
- Devices
- Context
- Buffer
- and so on
When creating an OpenCL context for with (for example, clCreateContext()
API call), the Objects Tree updates immediately with the new context object.
Objects dim when become released by, for example, clRelease.
Use the following buttons to control the Objects Tree view:
- Sort By - enables toggling the way data is displayed:
- Sort by Context - all entities that are associated with
a specific context are displayed as context successors.
- Sort by Device - all contexts are displayed as children
of the devices.
- Show Objects - enables displaying only a subset of the OpenCL
objects. Use it when you have a lot of OpenCL objects that are alive
at some given moment, and you need to see status of only several objects
or object types.
To view objects of a specific type only,
- Select Show Objects > uncheck Show All.
- Select Show Objects > select the object type to display.
- Open Source Code in a new tab - enables viewing the source
code associated with the program object. Right-click any Program
object in the tree, then click Open Source Code in a new tab.

- Save Binaries - enables dumping binary files that were built
for the program object with use of clBuildProgram,
or clCreateProgramWithBinaries. Right-click
any built program object in the tree, then click Save Binaries
and select the location to save the binaries.
See Also
Enabling
the API Debugger