• Pruthvi's avatar
    add method to conditional check for mkldnn version & use conv_auto (#2540) · 1c2e0a57
    Pruthvi authored
    * - add method to conditional check for mkl version
    - use conv_auto if feature is available
    
    * fix conditional check for mkl version
    
    * fix typo
    
    * - added funx to query mkldnn_version
    
    * WIP debug
    
    * -   added test case for conv winograd algorithm selection
    
    * i) style fix
    
    * - fix clang errors
    
    * - fix clang error ( clang has issue around conditional operator)
    - changes to mkldnn::utils conv_heuristics helper to return mkldnn:algorithm instead of bool value
    
    * - add right checks based on the choosen conv algorithm in the unit test
    
    * - utililty function to determine isa_type in unit test
    
    * - address PR comments
    - add unit test for conv_winograd and executes with CPU backend
    
    * i) fix style ii) remove unit test
    
    * Localize mkldnn_version() based decisions to mkldnn_utils
    1c2e0a57
cpu_test.cpp 40.7 KB