| 610 | PoolingDescriptor::PoolingDescriptor(DescriptorHandle_t desc) : desc_{desc} {} |
| 611 | |
| 612 | PoolingDescriptor::~PoolingDescriptor() |
| 613 | { |
| 614 | try { |
| 615 | this->reset(); |
| 616 | } |
| 617 | catch (std::exception const& e) { |
| 618 | std::cerr << "Caught exception in ~PoolingDescriptor(). Shutting down." |
| 619 | << std::endl; |
| 620 | std::terminate(); |
| 621 | } |
| 622 | } |
| 623 | |
| 624 | PoolingDescriptor::PoolingDescriptor(const PoolingDescriptor& rhs) |
| 625 | { |