MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / __hfma

Function __hfma

src/backend/cuda/kernel/random_engine.hpp:40–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38 return __float2half(cosf(__half2float(a)));
39}
40__device__ __half __hfma(const __half a, __half b, __half c) {
41 return __float2half(
42 fmaf(__half2float(a), __half2float(b), __half2float(c)));
43}
44#endif
45
46// Utils

Callers 3

oneMinusGetHalf01Function · 0.85
getHalf01Function · 0.85
getHalfNegative11Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected