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

Function exp_native_nonnative

src/backend/oneapi/kernel/bilateral.hpp:29–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27
28template<typename outType, bool USE_NATIVE_EXP>
29auto exp_native_nonnative(float in) {
30 if constexpr (USE_NATIVE_EXP)
31 return sycl::native::exp(in);
32 else
33 return exp(in);
34}
35
36template<typename outType, typename inType, bool USE_NATIVE_EXP>
37class bilateralKernel {

Callers

nothing calls this directly

Calls 1

expFunction · 0.85

Tested by

no test coverage detected