Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

What does ADL_Adapter_NumberOfAdapters_Get()

I'm trying to use ADL SDK 5.0.

In "What is ADL and how to use it.doc", included into ADL SDK, I've read following:

Here’s an example of how information about each adapter is obtained. In this example, the allocation of the memory for the AdapterInfo structure is done through malloc.  Most of the ADL APIs allocate memory that way, while some APIs (see the last example) use the memory allocation function whose address is passed by the ADL_Main_Control_Create API. The documentation points those APIs out.

Let’s now get the number of the adapters in the system.

      if ( ADL_OK != ADL_Adapter_NumberOfAdapters_Get ( &iNumberAdapters ) )


            printf("Cannot get the number of adapters!\n");

return 0;


I'm trying to enumerate video adapters. So, on a machine equipped with single Barts XT, I get 6 video adapters. Why?

(actually, I know why - that's because mentioned function returns number of co-functional displays. Thanks to AMD senior member of technical staff suggested that)

Is it possible to correct mentioned document? Or, that's a bug in ADL?

0 Replies