Ignore:
Timestamp:
May 12, 2017, 4:54:11 PM (2 years ago)
Author:
nmedfort
Message:

Refactoring work + correction for getRawItemPointer

File:
1 edited

Legend:

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

    r5437 r5446  
    392392    LLVMContext TheContext;
    393393    Module * M = new Module("editd-gpu", TheContext);
    394     IDISA::IDISA_Builder * iBuilder = IDISA::GetIDISA_GPU_Builder(M);
     394    IDISA::IDISA_Builder * iBuilder = IDISA::GetIDISA_GPU_Builder(M->getContext());
    395395    M->setDataLayout("e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v16:16:16-v32:32:32-v64:64:64-v128:128:128-n16:32:64");
    396396    M->setTargetTriple("nvptx64-nvidia-cuda");
     
    472472        LLVMContext TheContext;
    473473    Module * M = new Module("editd-gpu", TheContext);
    474     IDISA::IDISA_Builder * iBuilder = IDISA::GetIDISA_GPU_Builder(M);
     474    IDISA::IDISA_Builder * iBuilder = IDISA::GetIDISA_GPU_Builder(M->getContext());
    475475    M->setDataLayout("e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v16:16:16-v32:32:32-v64:64:64-v128:128:128-n16:32:64");
    476476    M->setTargetTriple("nvptx64-nvidia-cuda");
Note: See TracChangeset for help on using the changeset viewer.