• H
    [Restore PR] Remove hard code of PADDLE_WITH_CUDA (#47630) · 908a381d
    HongyuJia 提交于
    * move cudnn hardcode outside GetExpectedKernelType
    
    * add header file
    
    * debug
    
    * update interpreter_util with hardcode
    
    * update interpreter_util headerfile
    
    * solve activation hardcode
    
    * debug with CI
    
    * add mkldnn_op_list header file
    
    * temporarily uncomment mkldnn
    
    * temporarily uncomment mkldnn
    
    * delete sequence_softmax cudnn hardcode
    
    * add hardcode to data_transfer.cc
    
    * update data_transfer headerfile
    
    * try fix segment fault
    
    * update cudnn&miopen_helper
    
    * reset HasAttr of DygraphExctnCtx
    
    * debug, this commit should pass all CI
    
    * debug should pass CI, temporarily disable activation
    
    * debug should pass CI
    
    * fix default_attr=nullptr bug
    
    * clean debug code
    
    * Call SetDnnFallback function in the base class
    
    * activation fallback to plain kernel
    
    * fix default GetExpectedKernelType find wrong kernel
    
    * search cudnn kernel instead of fallback
    
    * fix cudnn_handle bug
    
    * remove tanh use_cudnn
    
    * restore tanh use_cudnn
    
    * debug tanh
    
    * fix tanh bug
    
    * delete activation cudnn kernel
    
    * polish code
    908a381d
softmax_op.cc 7.0 KB