Ignore:
Timestamp:
Dec 19, 2016, 2:39:35 PM (2 years ago)
Author:
nmedfort
Message:

Multi-threading support for PabloAST / PabloCompiler?. Requires unique LLVM Context / Module for each thread.

File:
1 edited

Legend:

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

    r5227 r5230  
    2626#include <pablo/pablo_toolchain.h>
    2727#include <pablo/pablo_kernel.h>
    28 #include <pablo/prototype.h>
    2928#include <IDISA/idisa_builder.h>
    3029#include <IDISA/idisa_target.h>
     
    279278    LinearCopybackBuffer U16out(iBuilder, iBuilder->getStreamSetTy(16, 16), segmentSize * bufferSegments + 2);
    280279
    281     s2pKernel s2pk(iBuilder);
     280    S2PKernel s2pk(iBuilder);
    282281
    283282    s2pk.generateKernel({&ByteStream}, {&BasisBits});
    284283
    285     pablo::PabloKernel u8u16k(iBuilder, "u8u16");
     284    PabloKernel u8u16k(iBuilder, "u8u16");
    286285
    287286    u8u16_pablo(&u8u16k);
     
    294293    p2s_16Kernel_withCompressedOutput p2sk(iBuilder);
    295294
    296     stdOutKernel stdoutK(iBuilder, 16);
     295    StdOutKernel stdoutK(iBuilder, 16);
    297296
    298297    if (mMapBuffering || memAlignBuffering) {
     
    305304
    306305    Type * const size_ty = iBuilder->getSizeTy();
    307     Type * const voidTy = Type::getVoidTy(mod->getContext());
     306    Type * const voidTy = iBuilder->getVoidTy();
    308307    Type * const bitBlockType = iBuilder->getBitBlockType();
    309308    Type * const inputType = ArrayType::get(ArrayType::get(bitBlockType, 8), 1)->getPointerTo();
Note: See TracChangeset for help on using the changeset viewer.