Ignore:
Timestamp:
Feb 22, 2011 8:25:56 AM (8 years ago)
Author:
kulshres
Message:

don't save the whole store on tape unconditionally in take/keep_stock

we need to save the store only if there are live adoubles at the time
of take/keep_stock call.

Signed-off-by: Kshitij Kulshreshtha <kshitij@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ADOL-C/src/storemanager.h

    r198 r199  
    8686  locint head;
    8787  size_t &groesse;
    88   size_t anzahl;
     88  size_t &anzahl;
    8989private:
    9090  void grow();
    9191public:
    9292
    93   StoreManagerLocint(double * &storePtr, size_t &size);
     93  StoreManagerLocint(double * &storePtr, size_t &size, size_t &numlives);
    9494
    9595  virtual ~StoreManagerLocint();
Note: See TracChangeset for help on using the changeset viewer.