Ignore:
Timestamp:
Feb 27, 2016, 8:17:32 AM (3 years ago)
Author:
lindanl
Message:

64 bit version.

File:
1 edited

Legend:

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

    r4942 r4944  
    1111if (BLOCK_SIZE_256)
    1212  message("-- Build with BLOCK_SIZE=256")
    13 else ()
     13elseif (NOT BLOCK_SIZE_64)
    1414  message("-- Build with BLOCK_SIZE=128")
    1515endif()
     16
     17option(BLOCK_SIZE_64 "Compiling with BLOCK_SIZE=64")
     18if (BLOCK_SIZE_64)
     19  message("-- Build with BLOCK_SIZE=64")
     20endif()
     21
    1622option(ENABLE_MULTIPLEXING "Compiling the Multiplexing Module")
    1723option(USE_BOOST_MMAP "Using mmap from Boost.Iostreams")
     
    6369
    6470SET(PABLO_SRC pablo/pabloAST.cpp pablo/ps_if.cpp pablo/ps_while.cpp pablo/function.cpp pablo/codegenstate.cpp pablo/builder.cpp pablo/symbol_generator.cpp pablo/printer_pablos.cpp)
    65 SET(PABLO_SRC ${PABLO_SRC} pablo/pablo_compiler.cpp pablo/carry_manager.cpp pablo/carry_data.cpp IDISA/idisa_builder.cpp IDISA/idisa_avx_builder.cpp IDISA/idisa_sse_builder.cpp kernels/s2p_kernel.cpp kernels/scanmatchgen.cpp kernels/kernel.cpp kernels/pipeline.cpp)
     71SET(PABLO_SRC ${PABLO_SRC} pablo/pablo_compiler.cpp pablo/carry_manager.cpp pablo/carry_data.cpp IDISA/idisa_builder.cpp IDISA/idisa_avx_builder.cpp IDISA/idisa_i64_builder.cpp IDISA/idisa_sse_builder.cpp kernels/s2p_kernel.cpp kernels/scanmatchgen.cpp kernels/kernel.cpp kernels/pipeline.cpp)
    6672SET(PABLO_SRC ${PABLO_SRC} pablo/analysis/pabloverifier.cpp)
    6773SET(PABLO_SRC ${PABLO_SRC} pablo/optimizers/pablo_simplifier.cpp pablo/optimizers/codemotionpass.cpp)
     
    319325        SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DUSE_S2P_AVX2 -DBLOCK_SIZE=256 -march=core-avx2 -m64")
    320326    ENDIF()
     327ELSEIF(BLOCK_SIZE_64)
     328    SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DBLOCK_SIZE=64")
    321329ELSE ()
    322330    SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DBLOCK_SIZE=128")
    323331ENDIF()
     332
    324333
    325334IF (PRINT_TIMING_INFORMATION)   
Note: See TracChangeset for help on using the changeset viewer.