Changeset 5293


Ignore:
Timestamp:
Feb 2, 2017, 11:18:41 AM (8 months ago)
Author:
lindanl
Message:

Some fixes for CUDA enabled compilation.

Location:
icGREP/icgrep-devel/icgrep
Files:
2 edited

Legend:

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

    r5273 r5293  
    327327#ifdef CUDA_ENABLED
    328328        if (codegen::NVPTX){
    329             ExternalFileBuffer MatchResults(iBuilder, iBuilder->getStreamSetTy(2, i1), addrSpace);
     329            ExternalFileBuffer MatchResults(iBuilder, iBuilder->getStreamSetTy(2, 1), addrSpace);
    330330            MatchResults.setStreamSetBuffer(outputStream, fileSize);
    331331
  • icGREP/icgrep-devel/icgrep/toolchain.h

    r5267 r5293  
    77#ifndef TOOLCHAIN_H
    88#define TOOLCHAIN_H
    9 
     9#include <string>
    1010namespace llvm { class ExecutionEngine; }
    1111namespace llvm { class Module; }
Note: See TracChangeset for help on using the changeset viewer.