• C
    Adapting device-specific Extra Attributes for the PHI kernel (#46342) · c923e6c9
    Chen Weihang 提交于
    * add extra attr property set
    
    * add type_info for all context
    
    * add onednn context to all context
    
    * fix context compile error
    
    * simplify conv kernel args
    
    * pass runtime attr into dev_ctx
    
    * fix marco error
    
    * clear conv_grad_kernel extra args
    
    * merge conv_grad_grad into conv_grad
    
    * clear conv2d_grad_grad extra attrs
    
    * clear yaml and eager extra attr
    
    * fix conv1d error
    
    * change to thread local
    
    * fix npu compile failed
    
    * try to fix windows compile failed
    
    * add conv2d onednn phi kernel
    
    * fix ci bugs (#36)
    
    * fix compile bugs (#38)
    
    * fix extra input transform bug (#39)
    
    * support dynamic created attr (#40)
    
    * reset extra info gen code
    
    * rm conv_grad_grad kernel
    
    * reimpl pass attr adapting
    
    * add int attr support
    
    * remove vector inputnames creating
    
    * fix map at error
    
    * Update paddle/phi/kernels/onednn/conv_grad_kernel.cc
    Co-authored-by: NSławomir Siwek <slawomir.siwek@intel.com>
    
    * remove useless extra attrs
    
    * replace mkldnn_engine by onednn_engine
    Co-authored-by: NYuanRisheng <yuanrisheng@baidu.com>
    Co-authored-by: NSławomir Siwek <slawomir.siwek@intel.com>
    c923e6c9
conv_kernel.cu 18.3 KB