Ignore:
Timestamp:
Jun 22, 2018, 6:12:01 AM (10 months ago)
Author:
cameron
Message:

Fixes for NativeBitBlockWidth?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/IR_Gen/idisa_avx_builder.h

    r6106 r6107  
    1717class IDISA_AVX_Builder : public IDISA_SSE2_Builder {
    1818public:
    19     const unsigned NativeBitBlockWidth = AVX_width;
     19    static const unsigned NativeBitBlockWidth = AVX_width;
    2020    IDISA_AVX_Builder(llvm::LLVMContext & C, unsigned vectorWidth, unsigned laneWidth)
    2121    : IDISA_Builder(C, AVX_width, vectorWidth, laneWidth)
     
    3535class IDISA_AVX2_Builder : public IDISA_AVX_Builder {
    3636public:
    37     const unsigned NativeBitBlockWidth = AVX_width;
     37    static const unsigned NativeBitBlockWidth = AVX_width;
    3838    IDISA_AVX2_Builder(llvm::LLVMContext & C, unsigned vectorWidth, unsigned laneWidth)
    3939    : IDISA_Builder(C, AVX_width, vectorWidth, laneWidth)
     
    6666class IDISA_AVX512F_Builder : public IDISA_AVX2_Builder {
    6767public:
    68     const unsigned NativeBitBlockWidth = AVX512_width;
     68    static const unsigned NativeBitBlockWidth = AVX512_width;
    6969    IDISA_AVX512F_Builder(llvm::LLVMContext & C, unsigned vectorWidth, unsigned laneWidth)
    7070    : IDISA_Builder(C, AVX512_width, vectorWidth, laneWidth)
Note: See TracChangeset for help on using the changeset viewer.