共用方式為


accelerator::get_supports_cpu_shared_memory Method

Returns a boolean value indicating whether the accelerator supports memory accessible both by the accelerator and the CPU.

bool get_supports_cpu_shared_memory() const;

Return Value

true if the accelerator supports CPU shared memory; otherwise, false.

Requirements

Header: amprt.h

Namespace: concurrency

See Also

Reference

accelerator Class