Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PaddlePaddle/Paddle
/ IsFoundNanInf
Function
IsFoundNanInf
paddle/phi/kernels/impl/amp_kernel_impl.h:33–35 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
31
}
32
33
inline HOSTDEVICE bool IsFoundNanInf(const bool found_nan_inf_data) {
34
return found_nan_inf_data;
35
}
36
37
inline HOSTDEVICE bool IsFoundNanInf(const bool* found_nan_inf_data) {
38
return *found_nan_inf_data;
Callers
1
Update
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected