accelerator Class
An accelerator is a hardware capability that is optimized for data parallel computing. An accelerator may be a device attached to a PCIe bus (such as a GPU), or it might be an extended instruction set on the main CPU.
class accelerator;
Members
Public Constructors
Name |
Description |
---|---|
Initializes a new instance of the accelerator class. |
|
Destroys the accelerator object. |
Public Methods
Name |
Description |
---|---|
Creates and returns an acceleratorview object on this accelerator. |
|
Returns a vector of accelerator objects that represent all the available accelerators. |
|
Returns the dedicated memory for the accelerator, in kilobytes. |
|
Returns the default accelerator_view object that is associated with the accelerator. |
|
Returns a short description of the accelerator device. |
|
Returns the path to the device. |
|
Returns a Boolean value that indicates whether the accelerator is attached to a display. |
|
Returns a Boolean value that indicates whether the accelerator has the DEBUG layer enabled for extensive error reporting. |
|
Returns a Boolean value that indicates whether the accelerator is emulated. |
|
Returns a Boolean value that indicates whether the accelerator is attached to a display. |
|
Returns a Boolean value that indicates whether the accelerator has limited support for double precision math. |
|
Returns the version of the accelerator. |
|
Returns the path to the default accelerator. |
Public Operators
Name |
Description |
---|---|
Compares this accelerator object with another and returns false if they are the same; otherwise, returns true. |
|
Copies the contents of the specified accelerator object to this one. |
|
Compares this accelerator object with another and returns true if they are the same; otherwise, returns false. |
Public Data Members
Name |
Description |
---|---|
Gets a string constant for the CPU accelerator. |
|
Gets the dedicated memory for the accelerator, in kilobytes. |
|
Gets a string constant for the default accelerator. |
|
Gets the default accelerator_view objct that is associated with the accelerator. |
|
Gets a short description of the accelerator device. |
|
Gets the path to the device. |
|
Gets a string constant for a Direct3D reference accelerator. |
|
Gets the string constant for an accelerator object that you can use for executing your C++ AMP code on multi-core CPUs using Streaming SIMD Extensions (SSE). |
|
Gets a Boolean value that indicates whether the accelerator is attached to a display. |
|
Gets a Boolean value that indicates whether the accelerator has the DEBUG layer enabled for extensive error reporting. |
|
Gets a Boolean value that indicates whether the accelerator is emulated. |
|
Gets a Boolean value that indicates whether the accelerator supports doubles precision math. |
|
Gets a Boolean value that indicates whether the accelerator has limited support for double precision math. |
|
Gets the version of the accelerator. |
Inheritance Hierarchy
accelerator
Remarks
An accelerator is a hardware capability that is optimized for data parallel computing. An accelerator is often a discrete GPU, but it can also be a virtual host-side entity such as a DirectX REF device, a WARP (a CPU-side device that is accelerated by means of SSE instructions), or the CPU itself.
You can construct an accelerator object by enumerating the available devices, or by getting the default device, the reference device, or the WARP device.
Requirements
Header: amprt.h
Namespace: Concurrency