Expand Minimize

accelerator::accelerator Constructor

Initializes a new instance of the accelerator Class.

accelerator();

explicit accelerator(
   const std::wstring &_Device_path
);

accelerator(
   const accelerator &_Other
);

_Device_path

The path of the physical device.

_Other

The accelerator to copy.

Name

Description

accelerator();

Initializes a new instance of the accelerator class. The new instance represents the default accelerator, usually the fastest accelerator available. This constructor is equivalent the constructor accelerator(accelerator::default_accelerator).

explicit accelerator( const std::wstring &_Device_path);

Initializes a new instance of the accelerator class. The new instance represents the physical device specified in the path argument. The path can be any one of the following:

accelerator( const accelerator &_Other);

Initializes a new instance of the accelerator class. The new instance is a copy of another accelerator object. This constructor performs a shallow copy. The new accelerator object points to the same underlying device that is specified in the accelerator parameter.

Header: amprt.h

Namespace: Concurrency

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft