文档中心GetSizeBack to Top GetSize DescriptionObtains the size of the device memory. Prototype1size_t GetSize() const ParametersNone ReturnsDevice memory size Exception HandlingNone ConstraintsNone Parent topic: MemBlock