共用方式為


extent::size Method

Returns the total linear size of the extent object (in units of elements).

unsigned int size() const restrict(amp,cpu);

Requirements

Header: amp.h

Namespace: Concurrency

See Also

Reference

extent Class (C++ AMP)