Ignore:
Timestamp:
Nov 12, 2018, 5:19:32 PM (6 months ago)
Author:
cameron
Message:

Fix FieldCompress? kernels to have user settable field width; update to use extraction method

File:
1 edited

Legend:

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

    r6184 r6199  
    303303        P->CreateKernelCall<P2S16Kernel>(u16bits, u16bytes, cc::BitNumbering::BigEndian);
    304304    } else {
    305         StreamSet * DeletionCounts = P->CreateStreamSet();
    306         P->CreateKernelCall<FieldCompressKernel>(u8bits, selectors, u16bits, DeletionCounts);
    307         P->CreateKernelCall<P2S16KernelWithCompressedOutput>(u16bits, DeletionCounts, u16bytes, cc::BitNumbering::BigEndian);
     305        P->CreateKernelCall<FieldCompressKernel>(b->getBitBlockWidth()/16, u8bits, selectors, u16bits);
     306        P->CreateKernelCall<P2S16KernelWithCompressedOutput>(u16bits, selectors, u16bytes, cc::BitNumbering::BigEndian);
    308307    }
    309308
Note: See TracChangeset for help on using the changeset viewer.