© 2006 Advanced Micro Devices, Inc.
ATI CTM Guide v. 1.01
Chapter 5
Device Interface
This chapter describes the interfaces exported by the ATI CTM Library, as detailed in the
amDeviceManaged.h
file.
For more information, refer to the CTM Device Interface HTML files.
5.1
Functions
5.1.1
amCloseManagedConnection
amCloseManagedConnection ( AMmanagedDevice dev )
Close a managed device.
This function shuts down an instantiation of a managed device. The handle is undefined after the function call.
Parameters
dev: (in) Handle to the managed device.
Returns
No return value.
5.1.2
amCommandBufferConsumed
amCommandBufferConsumed ( AMmanagedDevice dev,
AMuint32 buf
)
Submit a command buffer to a managed device.
This function submits a command buffer to a managed device. The command buffer location (as a GPU address) and
size are passed in. It returns a unique 32-bit unsigned integer identifying this command buffer submission request.
This return value can be used to query whether the command buffer has been consumed.
Parameters
dev: (in) Handle to the managed device.
buf: (in) Command buffer identifier that was returned by amSubmitCommandBuffer.
Returns
Returns 1 if command buffer has been consumed; otherwise returns 0.
5.1.3
amOpenManagedConnection
amOpenManagedConnection ( const AMchar8 * dev,
AMmanagedDeviceInfo * info
)
Instantiate a managed device.
Summary of Contents for ATI CTM
Page 1: ...ATI CTM Guide Technical Reference Manual Version 1 01...
Page 6: ...ATI CTM Guide v 1 01 2006 Advanced Micro Devices Inc 2 Related Documents...
Page 48: ...ATI CTM Guide v 1 01 2006 Advanced Micro Devices Inc 44 Errata...
Page 54: ...ATI CTM Guide v 1 01 2006 Advanced Micro Devices Inc 50 Executable Files...