mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
Enable building OpenCL-CTS with Intel DPC++/C++ compiler ICX on Windows (#2088)
Currently Intel® C++ Compiler Classic (ICC) is supported to build OpenCL-CTS on Windows. This compiler has been discontinued since the second half of 2023. Instead, Intel recommends that users transition to use the LLVM-based Intel® oneAPI DPC++/C++ Compiler (ICX). This change is to enable users to build OpenCL-CTS with ICX on Windows.
This commit is contained in:
@@ -28,18 +28,6 @@
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// CL error checking.
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
#define CL_EXIT_ERROR(cmd, ...) \
|
||||
{ \
|
||||
if ((cmd) != CL_SUCCESS) \
|
||||
{ \
|
||||
log_error("CL ERROR: %s %u: ", __FILE__, __LINE__); \
|
||||
log_error(##__VA_ARGS__); \
|
||||
log_error("\n"); \
|
||||
return -1; \
|
||||
} \
|
||||
}
|
||||
#else
|
||||
#define CL_EXIT_ERROR(cmd, format, ...) \
|
||||
{ \
|
||||
if ((cmd) != CL_SUCCESS) \
|
||||
@@ -50,7 +38,6 @@
|
||||
return -1; \
|
||||
} \
|
||||
}
|
||||
#endif
|
||||
|
||||
#define CL_EXIT_BUILD_ERROR(cmd, program, format, ...) \
|
||||
{ \
|
||||
|
||||
Reference in New Issue
Block a user