Ignore:
Timestamp:
Jun 15, 2017, 12:39:20 PM (23 months ago)
Author:
nmedfort
Message:

Back up check-in. Should have no effect on current programs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/CMakeLists.txt

    r5496 r5510  
    1010option(ENABLE_MULTIPLEXING "Compiling the Multiplexing Module")
    1111option(DISABLE_DUAL_ABI "Disable GCC Dual ABI support" OFF)
     12option(CARRYPACK_MANAGER "Use CarryPack Manager to reduce space required for carries. For testing only." OFF)
    1213find_package(LLVM REQUIRED CONFIG)
    1314
     
    5859SET(OBJECT_CACHE_SRC toolchain/object_cache.cpp)
    5960
    60 SET(TOOLCHAIN_SRC toolchain/toolchain.cpp toolchain/pipeline.cpp toolchain/driver.cpp)
    61 
    62 SET(DRIVER_SRC toolchain/cpudriver.cpp toolchain/NVPTXDriver.cpp)
     61SET(TOOLCHAIN_SRC toolchain/toolchain.cpp toolchain/pipeline.cpp)
     62
     63SET(DRIVER_SRC toolchain/driver.cpp toolchain/cpudriver.cpp toolchain/NVPTXDriver.cpp)
    6364
    6465SET(KERNEL_SRC kernels/kernel.cpp kernels/streamset.cpp kernels/interface.cpp kernels/kernel_builder.cpp)
    6566SET(KERNEL_SRC ${KERNEL_SRC} kernels/source_kernel.cpp kernels/s2p_kernel.cpp kernels/deletion.cpp kernels/swizzle.cpp kernels/p2s_kernel.cpp kernels/stdout_kernel.cpp)
    6667
    67 SET(IDISA_SRC IR_Gen/CBuilder.cpp IR_Gen/idisa_builder.cpp IR_Gen/idisa_avx_builder.cpp IR_Gen/idisa_i64_builder.cpp IR_Gen/idisa_sse_builder.cpp IR_Gen/idisa_nvptx_builder.cpp IR_Gen/idisa_target.cpp)
     68SET(IDISA_SRC IR_Gen/CBuilder.cpp IR_Gen/idisa_builder.cpp IR_Gen/idisa_avx_builder.cpp IR_Gen/idisa_i64_builder.cpp IR_Gen/idisa_sse_builder.cpp IR_Gen/idisa_nvptx_builder.cpp)
     69SET(IDISA_SRC ${IDISA_SRC} IR_Gen/idisa_target.cpp)
    6870
    6971SET(PABLO_SRC pablo/pabloAST.cpp pablo/branch.cpp pablo/codegenstate.cpp pablo/builder.cpp pablo/symbol_generator.cpp pablo/printer_pablos.cpp pablo/pablo_toolchain.cpp)
    70 SET(PABLO_SRC ${PABLO_SRC} pablo/pablo_kernel.cpp pablo/pablo_compiler.cpp pablo/carry_manager.cpp)
     72SET(PABLO_SRC ${PABLO_SRC} pablo/pablo_kernel.cpp pablo/pablo_compiler.cpp)
     73IF (CARRYPACK_MANAGER)
     74SET(PABLO_SRC ${PABLO_SRC} pablo/carrypack_manager.cpp)
     75ELSE()
     76SET(PABLO_SRC ${PABLO_SRC} pablo/carry_manager.cpp)
     77ENDIF()
    7178SET(PABLO_SRC ${PABLO_SRC} pablo/analysis/pabloverifier.cpp)
    7279SET(PABLO_SRC ${PABLO_SRC} pablo/passes/ssapass.cpp)
    73 SET(PABLO_SRC ${PABLO_SRC} pablo/optimizers/pablo_simplifier.cpp pablo/optimizers/codemotionpass.cpp pablo/optimizers/distributivepass.cpp pablo/passes/flattenif.cpp)
     80SET(PABLO_SRC ${PABLO_SRC} pablo/optimizers/pablo_simplifier.cpp pablo/optimizers/codemotionpass.cpp pablo/optimizers/distributivepass.cpp pablo/optimizers/schedulingprepass.cpp)
     81SET(PABLO_SRC ${PABLO_SRC} pablo/passes/flattenif.cpp)
    7482IF(ENABLE_MULTIPLEXING)
    75 SET(PABLO_SRC ${PABLO_SRC} pablo/optimizers/booleanreassociationpass.cpp)
    76 SET(PABLO_SRC ${PABLO_SRC} pablo/optimizers/schedulingprepass.cpp pablo/optimizers/pablo_automultiplexing.cpp)
     83SET(PABLO_SRC ${PABLO_SRC} pablo/optimizers/pablo_automultiplexing.cpp)
    7784ENDIF()
    7885
     
    180187ENDIF()
    181188
     189IF (CARRYPACK_MANAGER)
     190SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DUSE_CARRYPACK_MANAGER")
     191ENDIF()
     192
    182193SET(CMAKE_REQUIRED_FLAGS)
    183194
Note: See TracChangeset for help on using the changeset viewer.