Skip to content

Commit 14f1341

Browse files
authored
[SYCL][Doc] Update C++ standard library support status (#1690)
Signed-off-by: gejin <ge.jin@intel.com>
1 parent 2517323 commit 14f1341

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

sycl/doc/extensions/C-CXX-StandardLibrary/C-CXX-StandardLibrary.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,8 @@ classes by purpose(e.g. <math.h> for mathematical operations and
9292
transformations) and device library infrastructure uses this as
9393
a baseline.
9494
NOTE: Only the GNU glibc, Microsoft C libraries are currently
95-
supported. The device libraries for <math.h> and <complex.h> are
96-
ready for Linux and Windows support will be added in the future.
97-
Not all functions from <math.h> are supported right now, following
98-
math functions are not supported now:
95+
supported. Not all functions from <math.h> are supported right now,
96+
following math functions are not supported now:
9997
- abs
10098
- ceilf, ceil
10199
- copysignf, copysign
@@ -114,6 +112,9 @@ math functions are not supported now:
114112
- nanf, nan
115113
Device libraries can't support both single and double precision as some
116114
underlying device may not support double precision.
115+
'ldexpf' and 'frexpf' from MSVC <math.h> are implemented using corresponding
116+
double precision version, they can be used only when double precision is
117+
supported by underlying device.
117118

118119
Example of usage
119120
================

sycl/source/detail/program_manager/program_manager.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -672,9 +672,6 @@ RTDeviceBinaryImage &ProgramManager::getDeviceImage(OSModuleHandle M,
672672
return *Img;
673673
}
674674

675-
// TODO: getDeviceLibPrograms should also support Windows but
676-
// current implementation doesn't work on Windows when multiple
677-
// device libraries exist and this problem should be fixed.
678675
static std::vector<RT::PiProgram>
679676
getDeviceLibPrograms(const ContextImplPtr Context,
680677
const std::vector<RT::PiDevice> &Devices,

0 commit comments

Comments
 (0)