20 #define _AMPIMP __declspec(dllimport)
HRESULT _M_error_code
Definition: amprt_exceptions.h:81
virtual _AMPIMP ~runtime_exception()
Destruct a runtime_exception exception object instance
_AMPIMP runtime_exception(const char *_Message, HRESULT _Hresult)
Construct a runtime_exception exception with a message and an error code
_AMPIMP out_of_memory()
Construct an out_of_memory exception
Exception thrown when an underlying OS/DirectX call fails due to lack of system or device memory ...
Definition: amprt_exceptions.h:88
The Concurrency namespace provides classes and functions that provide access to the Concurrency Runti...
Definition: agents.h:43
_AMPIMP HRESULT get_error_code() const
Get the error code that caused this exception
Exception thrown due to a C++ AMP runtime_exception. This is the base type for all C++ AMP exception ...
Definition: amprt_exceptions.h:29
#define _AMPIMP
Definition: amprt_exceptions.h:20
Exception thrown when an underlying DirectX call fails due to the Windows timeout detection and recov...
Definition: amprt_exceptions.h:109
_AMPIMP accelerator_view_removed(const char *_Message, HRESULT _View_removed_reason)
Construct an accelerator_view_removed exception with a message and a view removed reason code ...
_AMPIMP HRESULT get_view_removed_reason() const
Returns an HRESULT error code indicating the cause of the accelerator_view's removal ...
_AMPIMP invalid_compute_domain()
Construct an invalid_compute_domain exception
Exception thrown when an unsupported feature is used
Definition: amprt_exceptions.h:169
_AMPIMP unsupported_feature()
Construct an unsupported_feature exception
Exception thrown when the runtime fails to launch a kernel using the compute domain specified at the ...
Definition: amprt_exceptions.h:149
_AMPIMP runtime_exception & operator=(const runtime_exception &_Other)
Assignment operator
HRESULT _M_view_removed_reason_code
Definition: amprt_exceptions.h:142