MCPcopy 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
33inline HOSTDEVICE bool IsFoundNanInf(const bool found_nan_inf_data) {
34 return found_nan_inf_data;
35}
36
37inline HOSTDEVICE bool IsFoundNanInf(const bool* found_nan_inf_data) {
38 return *found_nan_inf_data;

Callers 1

UpdateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected