共用方式為


amp_uninitialize Function

Uninitializes the C++ AMP runtime. It is legal to call this function multiple times during an applications lifetime. Calling any C++ AMP API afer calling this function will reinitialize the C++ AMP runtime. Note that it is illegal to use C++ AMP objects across calls to this function and doing so will result in undefined behavior. Also, concurrently calling this function and any other AMP APIs is illegal and would result in undefined behavior.

void __cdecl amp_uninitialize();

Requirements

Header: amprt.h

Namespace: concurrency

See Also

Reference

Concurrency Namespace (C++ AMP)