Skip to content

DPC++ daily 2022-11-18

Pre-release
Pre-release
Compare
Choose a tag to compare
@bb-sycl bb-sycl released this 18 Nov 17:34
· 118568 commits to sycl since this release
1b7582b
Add ceil,floor,rint,sqrt,rsqrt,trunc to sycl_ext_intel_math hpp (#7429)

Add following imf functions to sycl/ext/intel/math.hpp:
ceil, floor, trunc, rint, sqrt, rsqrt
Those functions are in sycl::ext::intel::math:: namespace and supports
float, double, half, half2.
Those C++ functions are just wrappers of __imf_* functions implemented
in SYCL libdevice.

Signed-off-by: jinge90 <ge.jin@intel.com>