direct3d_errorf Function
Prints a formatted string to the Visual Studio output window. It is called from a function with the restrict(amp) restriction clause. When the AMP runtime detects the call, it raises a runtime_exception exception with the same formatting string.
void direct3d_errorf(
const char *,
...
) restrict(amp);
Remarks
This function has the following restrictions:
The Debug configuration in Visual Studio is selected, i.e. the code is compiled with the _DEBUG preprocessor definition.
The [accelerator_view] on which the kernel is invoked must be on an accelerator which supports the printf, errorf, and abort intrinsics. These are supported by the REF accelerator. For more information, see Using accelerator and accelerator_view Objects.
The maximum number of parameters allowed is seven.
There is no automatic widening or narrowing type conversion.
Requirements
Header: amp.h
Namespace: Concurrency