Ignore:
Timestamp:
Mar 23, 2015, 8:37:57 PM (4 years ago)
Author:
cameron
Message:

Restructure to use a single process_block_state data area

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/icgrep.cpp

    r4516 r4538  
    106106
    107107    if (llvm_codegen.FunctionPointer) {
    108         void (*FP)(const Basis_bits &basis_bits, BitBlock carry_q[], BitBlock advance_q[], Output &output) =
    109            (void (*)(const Basis_bits &basis_bits, BitBlock carry_q[], BitBlock advance_q[], Output &output))(void*)llvm_codegen.FunctionPointer;
    110         GrepExecutor grepEngine = GrepExecutor(llvm_codegen.CarryQueueSize, llvm_codegen.AdvanceQueueSize, FP);
     108        void (*FP)(const Basis_bits &basis_bits, BitBlock process_block_state_data[], Output &output) =
     109           (void (*)(const Basis_bits &basis_bits, BitBlock process_block_state_data[], Output &output))(void*)llvm_codegen.FunctionPointer;
     110        GrepExecutor grepEngine = GrepExecutor(llvm_codegen.CarryDataSize, FP);
    111111        grepEngine.setCountOnlyOption(CountOnly);
    112112        grepEngine.setNormalizeLineBreaksOption(NormalizeLineBreaks);
Note: See TracChangeset for help on using the changeset viewer.