• L
    make tensor_util contains no cuda code (#45256) · 78916a7a
    Leo Chen 提交于
    * make tensor_util contains no cuda code
    
    * refine isfinite
    
    * revert ut
    
    * move isfinite function to its op
    
    * fix test
    
    * fix compile
    
    * std::isnan is not defined for int type on windows
    
    * fix windows compile
    
    * fix fp16
    
    * fix rocm compile
    
    * revert gradient node
    78916a7a
amp_kernel.cc 4.1 KB