Ignore:
Timestamp:
Apr 8, 2016, 2:40:24 PM (3 years ago)
Author:
cameron
Message:

u8u16 progress

File:
1 edited

Legend:

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

    r5006 r5007  
    7575    Value * output_ptr = kBuilder->getOutputStream(0);
    7676    for (unsigned j = 0; j < 8; ++j) {
    77         Value * merge0 = iBuilder->esimd_mergel(8, hi_bytes[j], lo_bytes[j]);
    78         Value * merge1 = iBuilder->esimd_mergeh(8, hi_bytes[j], lo_bytes[j]);
     77        Value * merge0 = iBuilder->bitCast(iBuilder->esimd_mergel(8, hi_bytes[j], lo_bytes[j]));
     78        Value * merge1 = iBuilder->bitCast(iBuilder->esimd_mergeh(8, hi_bytes[j], lo_bytes[j]));
    7979        iBuilder->CreateBlockAlignedStore(merge0, iBuilder->CreateGEP(output_ptr, std::vector<Value *>({ iBuilder->getInt32(0), iBuilder->getInt32(2*j) })));
    8080        iBuilder->CreateBlockAlignedStore(merge1, iBuilder->CreateGEP(output_ptr, std::vector<Value *>({ iBuilder->getInt32(0), iBuilder->getInt32(2*j+1) })));
Note: See TracChangeset for help on using the changeset viewer.