Changeset 5331 for icGREP


Ignore:
Timestamp:
Feb 18, 2017, 6:34:06 PM (2 years ago)
Author:
cameron
Message:

Move default arguments from friend declarations to satisfy strict compilers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/kernels/interface.h

    r5328 r5331  
    4343    bool isExact() const {return (mKind == Fixed)||(mKind == RoundUp) ;}
    4444    llvm::Value * CreateRatioCalculation(IDISA::IDISA_Builder * b, llvm::Value * principalInputItems) const;
    45     friend ProcessingRate FixedRatio(unsigned strmItemsPer, unsigned perPrincipalInputItems = 1);
    46     friend ProcessingRate MaxRatio(unsigned strmItemsPer, unsigned perPrincipalInputItems = 1);
     45    friend ProcessingRate FixedRatio(unsigned strmItemsPer, unsigned perPrincipalInputItems);
     46    friend ProcessingRate MaxRatio(unsigned strmItemsPer, unsigned perPrincipalInputItems);
    4747    friend ProcessingRate RoundUpToMultiple(unsigned itemMultiple);
    4848    friend ProcessingRate UnknownRate();
     
    5757};
    5858
    59 ProcessingRate FixedRatio(unsigned strmItemsPer, unsigned perPrincipalInputItems);
    60 ProcessingRate MaxRatio(unsigned strmItemsPer, unsigned perPrincipalInputItems);
     59ProcessingRate FixedRatio(unsigned strmItemsPer, unsigned perPrincipalInputItems = 1);
     60ProcessingRate MaxRatio(unsigned strmItemsPer, unsigned perPrincipalInputItems = 1);
    6161ProcessingRate RoundUpToMultiple(unsigned itemMultiple);
    6262ProcessingRate UnknownRate();
Note: See TracChangeset for help on using the changeset viewer.