Changeset 4044 for trunk


Ignore:
Timestamp:
Aug 19, 2014, 1:56:50 PM (4 years ago)
Author:
linmengl
Message:

add script to measure u8u16 performance. add cmake target to run the perf script

Location:
trunk/lib_ir
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib_ir/CMakeLists.txt

    r4042 r4044  
    4141add_executable(xmlwf xmlwf/src/xmlwf.cpp s2p_optimized.o)
    4242
     43# xmlwf_perf compiles with additional flags and is only used for the perf_xmlwf
     44# targets below.
    4345add_executable(xmlwf_perf xmlwf/src/xmlwf.cpp s2p_optimized.o)
    4446set_target_properties(xmlwf_perf
     
    99101  DEPENDS test_s2p test_link test_pack test_llc xmlwf u8u16)
    100102
     103
    101104# `make check` also depends on test_pack_avx2
    102105if (USE_AVX2)
     
    104107endif (USE_AVX2)
    105108
     109# performance scripts here
    106110add_custom_target (perf_xmlwf
    107111  COMMAND python ${PROJECT_SOURCE_DIR}/xmlwf/perf_script.py
    108112  DEPENDS xmlwf_perf)
    109113
     114add_custom_target (perf_u8u16
     115  COMMAND python ${PROJECT_SOURCE_DIR}/u8u16/perf_script.py
     116  DEPENDS u8u16)
    110117
    111118# Try IR inline. Compile the whole xmlwf in IR and inline s2p into it.
Note: See TracChangeset for help on using the changeset viewer.