llvm
117641e7 - [SYCL] Use same source for libsycl-crt (#3019)

Commit
5 years ago
[SYCL] Use same source for libsycl-crt (#3019) Currently, the implementation of assert support for Linux and Windows are in 2 files glibc_wrapper.cpp and msvc_wrapper.cpp. We can merge them into one source and use macro "_WIN32" to separate Windows and Linux specific code. We plan to add some more functions in libsycl-crt in the future and the implementation may be same for both Linux and Windows platform, keeping 2 different sources for Linux and Windows will lead to duplicate code then. Signed-off-by: gejin <ge.jin@intel.com>
Author
Parents
Loading