Ignore:
Timestamp:
May 19, 2017, 12:58:48 PM (2 years ago)
Author:
lindanl
Message:

Add NVPTX driver.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/toolchain/toolchain.h

    r5454 r5458  
    1212#include <kernels/streamset.h>
    1313
     14#include <toolchain/NVPTXDriver.h>
    1415namespace llvm { class ExecutionEngine; }
    1516namespace llvm { class Function; }
     
    4849extern bool EnableAsserts;
    4950extern bool EnableCycleCounter;
    50 #ifdef CUDA_ENABLED
    5151extern bool NVPTX;
    5252extern int GroupNum;
    53 #endif
    5453}
    5554
    56 #ifdef CUDA_ENABLED
     55
    5756void setNVPTXOption();
    58 void Compile2PTX (llvm::Module * m, std::string IRFilename, std::string PTXFilename);
    59 #endif
    6057
    6158void AddParabixVersionPrinter();
Note: See TracChangeset for help on using the changeset viewer.