Ignore:
Timestamp:
Apr 8, 2018, 1:04:06 PM (18 months ago)
Author:
cameron
Message:

Use AlignedAllocator? when boost::align unavailable (Jenkins test server).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/grep/grep_engine.h

    r5945 r5952  
    4242    SearchableBuffer();
    4343    void addSearchCandidate(char * string_ptr, size_t length);
     44    size_t getCandidateCount() {return mEntries;}
    4445    ~SearchableBuffer();
    4546private:
    4647    static const unsigned BUFFER_ALIGNMENT = MAX_SIMD_WIDTH_SUPPORTED/8;
    47     size_t allocated_capacity;
    48     char * buffer_base;
    49     alignas(BUFFER_ALIGNMENT) char initial_buffer[INITIAL_CAPACITY];
    50     size_t space_used;
    51     size_t entries;
     48    size_t mAllocated_capacity;
     49    char * mBuffer_base;
     50    alignas(BUFFER_ALIGNMENT) char mInitial_buffer[INITIAL_CAPACITY];
     51    size_t mSpace_used;
     52    size_t mEntries;
    5253};
    5354
Note: See TracChangeset for help on using the changeset viewer.