From 716bb5dd5662e35b50f1e0d6e7222e47dd79e6a9 Mon Sep 17 00:00:00 2001 From: Sergey Kanaev Date: Mon, 7 Sep 2020 16:14:04 +0300 Subject: [PATCH 1/9] [SYCL] September '20 release notes. Increment library ABI version. Signed-off-by: Sergey Kanaev --- sycl/CMakeLists.txt | 4 +- sycl/ReleaseNotes.md | 134 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 136 insertions(+), 2 deletions(-) diff --git a/sycl/CMakeLists.txt b/sycl/CMakeLists.txt index 4574ac5d0c196..65bdca121eb8f 100644 --- a/sycl/CMakeLists.txt +++ b/sycl/CMakeLists.txt @@ -12,10 +12,10 @@ option(SYCL_ADD_DEV_VERSION_POSTFIX "Adds -V postfix to version string" ON) list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules") include(AddSYCLExecutable) -set(SYCL_MAJOR_VERSION 3) +set(SYCL_MAJOR_VERSION 4) set(SYCL_MINOR_VERSION 0) set(SYCL_PATCH_VERSION 0) -set(SYCL_DEV_ABI_VERSION 2) +set(SYCL_DEV_ABI_VERSION 0) if (SYCL_ADD_DEV_VERSION_POSTFIX) set(SYCL_VERSION_POSTFIX "-${SYCL_DEV_ABI_VERSION}") endif() diff --git a/sycl/ReleaseNotes.md b/sycl/ReleaseNotes.md index b7d19755556db..0e9a9ff665191 100644 --- a/sycl/ReleaseNotes.md +++ b/sycl/ReleaseNotes.md @@ -1,3 +1,137 @@ +# September'20 release notes + +Release notes for commit range 5976ff0..1fc0e4f + +## New features + +## Improvements +### SYCL Compiler + - Assigned the source location of the kernel caller function to the artificial + initialization code generated in the kernel body. It enables profiling tools + to meaningfully the initialization code [6744364] + - Provided compile-time warning if size of kernel arguments exceeds 2KiB + [e00ab74] + - Changed default SYCL standard to SYCL-2020 [67acf81] + - Removed deprecated spelling of IntelReqdSubGroupSize attribute [9dda36f] + - Enable USM address spaces by default for the FPGA hardware [7896819] + - Assume SYCL device functions are convergent [047e2ec] + - Added Dead Argument Elimination optimization and enabled by default + [b0d98dc] [f53ede9] + - Improved integration header generation [7e1b4b5] [e2b5fda] + - Simplified the error checking of arrays by only visiting 1x [c709986] + - Stop emitting kernel arguments metadata [f658918] + - Enabled `-f[no-]sycl-early-optimizations` on Windows [e1e3658] + - Allow for mutable kernel function objects for SYCL-1.2.1 [1dbc358] + - Moved hardware targeted extensions to `INTEL` namespace [3084982] + - Added support for union types as kernel parameters [5adfd79] + - Renamed `-fsycl-std-optimizations` to `-fsycl-early-optimizations` [077a507] + - Added support for `-f[no-]sycl-id-queries-fit-in-int`. Enabling this will + make compiler define `_SYCL_ID_QUERIES_FIT_IN_INT_` macro which will signal + runtime to emit `__builtin_assume()` for execution range less than `INT_MAX` + limitation [3e4da3c] + - Make call location available when emitting kernel diagnostics [c767edc] + - Disabled createIndVarSimplifyPass for SPIR target in SYCL mode [76ffef7] + - Run Dead Argument Elimination when LLVM optimizations are applied as well. + We cannot run Dead Argument Elimination for ESIMD since the pointers to SPIR + kernel functions are saved in `!genx.kernels metadata` [cf10351] + +### SYCL Library + - Eliminated circular dependency between `event` and `queue` classes [31843cc] + - Added `ONEAPI::filter_selector` [174fd168f18] + - Added support for Cavium ThunderX2 and Raspberry Pi 4 [2f632f8] + - Added support for `bool2`, `bool3`, `bool4`, `bool8`, `bool16` [4dfd500] + - Allowed for creating lots of host accessors [b206293] + - Improved execution graph traversal [f2eaa23] + - Improved `SYCL_PI_TRACE` [4d468f1] + - Added implementation for `SYCL_INTEL_free_function_queries` [b6d7792] + - Allowed for building program for multiple devices within single context + (esp. for FPGA devices) [2f64227] + - Cache devices and platforms [d392b51] + - Reuse devices and platforms in Level Zero PI plugin [43ba606] + - Added group algorithms for MUL/OR/XOR/AND operations [96da39e] + - Moved general language extensions to `ONEAPI` namespace [a73369d] + - Added CMake option `SYCL_DISABLE_STL_ASSERTIONS` to disable assertions + [ec2ec99] + - Implemented USM fill operation as defined in SYCL-2020 provisional [4993646] + - Added runtime support for device code argument elimination [63ac3d3] + - Imporved implementation of stream class when used in FPGA device code + [13e8dae] + - Imporved error reporting in Level Zero plugin [257658c] + - Improved kernel demangling in graph printing [62192a6] + - Improved error handling in `parallel_for` [7c73c11] + - Fixed segfault in interop constructors of context, device, platform classes + [c4c3494] + +### Documentation + - Added documentation for [`SPV_INTEL_usm_storage_classes`](doc/extensions/SPIRV/SPV_INTEL_usm_storage_classes.asciidoc) + and [SYCL_INTEL_usm_address_spaces](doc/extensions/USMAddressSpaces/usm_address_spaces.asciidoc) [781fbfc] + - Fixed SPIR-V format name spelling [6e9bf3b] + - Added extension [LocalMemory](doc/extensions/LocalMemory/SYCL_INTEL_local_memory.asciidoc) draft specification [4b5308a] + - Added extension [free functions queries](doc/extensions/FreeFunctionQueries/SYCL_INTEL_free_function_queries.asciidoc) draft specification [8953bfd] + - Removed documentation for implicit attribute `buffer_location` [71a56e7] + +## Bug fixes +### SYCL Compiler + - Fixed crash on array of pointers as capture of kernel-lambda [1fc0e4f] + - Allowed for `-P -fsycl` to be used on Windows when offloading [a21d7ef] + - Fixed looking for tools (e.g. aoc, ocloc, opencl-aot) with full name on + Windows (i.e. with `.exe` suffix) [78a86da] + - Eliminated compiler crash on invalid declaration [0c220ca] + - Switch SPIRV debug info to legacy mode to support old OpenCL RTs [500a0b8] + - Disabled vectorizers in SYCL device code when early optimizations are + enabled [20921b1] + - Enabled USM indirect access for interoperability kernels [ebf5c4e] + - Fixed crash when kernel argument is a multi-dimensional array [36f6ab6] + - Fixed `cl::sycl::INTELlsu::load()` method to return value instead of + reference [82e5323] + - Disabled "early" optimizations for Intel FPGA by default [f8902b8] + - Allowed for passing of pointer fields of struct argument of kernel [926eb32] + - Fixed NULL-pointer dereference in some cases [bdc2b85] + - Adjusted AUX targets with lang options [43862a3] + +### SYCL Library + - Eliminated circular dependency between command group and stream buffers, + which caused memory leaking [841e1e7] + - Added early exit from enqueue process when trying to enqueue blocked + commands. This eliminated hang in host-task when used along with multiple + buffers [bc8f0a4] + - Fixed overflow when casting glbal memory size in Level Zero plugin [82893b2] + - Fixed waiting for events on Level Zero [e503662] + - Added missing constructors and propety methods for context, program and + sampler[30b8acc] + - Improved support for GDB [93e1387] + - Aligned `cl::sycl::handler::require` API with the SYCL specification + [68c275c] + - Fixed undefinded behaviour in memory management intrinsics [4ff2eee] + - Fixed race condition when using sampler in parallel [34f0c10] + - Fixed race condition in `ProgramManager` class, which lead to hang [e6fd911] + - Fixed thread-safety issue, which took place when using stream class [4688cb3] + - Unified usm `queue`'s `memcpy`/`memset` methods behavior for corner cases + [7b7bab6] + +## API/ABI breakages + +## Known issues + - The format of the object files produced by the compiler can change between + versions. The workaround is to rebuild the application. + - The SYCL library doesn't guarantee stable API/ABI, so applications compiled + with older version of the SYCL library may not work with new one. + The workaround is to rebuild the application. + [ABI policy guide](doc/ABIPolicyGuide.md) + - Using `cl::sycl::program` API to refer to a kernel defined in another + translation unit leads to undefined behavior + - Linkage errors with the following message: + `error LNK2005: "bool const std::_Is_integral" (??$_Is_integral@_N@std@@3_NB) already defined` + can happen when a SYCL application is built using MS Visual Studio 2019 + version below 16.3.0 + The workaround is to enable `-std=c++17` for the failing MSVC version. + - [2377920] + - [2c50c03] + - [50628db] + - [678cd95] + - Group algorithms for MUL/AND/OR/XOR are not fully enabled as the SPIR-V + version isn't automatically raised from 1.1 to 1.3 [96da39e] + # August'20 release notes Release notes for the commit range 75b3dc2..5976ff0 From 21f7a7002004c32b81288c2433ef7d7faca48eeb Mon Sep 17 00:00:00 2001 From: Sergey Kanaev Date: Mon, 7 Sep 2020 16:22:39 +0300 Subject: [PATCH 2/9] [SYCL] Wording for 1 known issue Signed-off-by: Sergey Kanaev --- sycl/ReleaseNotes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sycl/ReleaseNotes.md b/sycl/ReleaseNotes.md index 0e9a9ff665191..f45f9cf9bb80e 100644 --- a/sycl/ReleaseNotes.md +++ b/sycl/ReleaseNotes.md @@ -128,7 +128,7 @@ Release notes for commit range 5976ff0..1fc0e4f - [2377920] - [2c50c03] - [50628db] - - [678cd95] + - Inline assembly isn't supported on CUDA [678cd95] - Group algorithms for MUL/AND/OR/XOR are not fully enabled as the SPIR-V version isn't automatically raised from 1.1 to 1.3 [96da39e] From f593193fd45951f1b104ca0f1e12055685cd5645 Mon Sep 17 00:00:00 2001 From: Sergey Kanaev Date: Mon, 7 Sep 2020 18:22:32 +0300 Subject: [PATCH 3/9] Placate some comments --- sycl/ReleaseNotes.md | 37 +++++++++++++++++++------------------ 1 file changed, 19 insertions(+), 18 deletions(-) diff --git a/sycl/ReleaseNotes.md b/sycl/ReleaseNotes.md index f45f9cf9bb80e..2c3ba07d3190f 100644 --- a/sycl/ReleaseNotes.md +++ b/sycl/ReleaseNotes.md @@ -9,15 +9,14 @@ Release notes for commit range 5976ff0..1fc0e4f - Assigned the source location of the kernel caller function to the artificial initialization code generated in the kernel body. It enables profiling tools to meaningfully the initialization code [6744364] - - Provided compile-time warning if size of kernel arguments exceeds 2KiB - [e00ab74] + - Provided compile-time warning if size of kernel arguments exceeds 2KiB in + GPU AOT mode [e00ab74] - Changed default SYCL standard to SYCL-2020 [67acf81] - - Removed deprecated spelling of IntelReqdSubGroupSize attribute [9dda36f] + - Removed deprecated `[[cl::intel_reqd_sub_group_size(N)]]` attribute + [9dda36f] - Enable USM address spaces by default for the FPGA hardware [7896819] - Assume SYCL device functions are convergent [047e2ec] - - Added Dead Argument Elimination optimization and enabled by default - [b0d98dc] [f53ede9] - - Improved integration header generation [7e1b4b5] [e2b5fda] + - Added Dead Argument Elimination optimization [b0d98dc] [f53ede9] - Simplified the error checking of arrays by only visiting 1x [c709986] - Stop emitting kernel arguments metadata [f658918] - Enabled `-f[no-]sycl-early-optimizations` on Windows [e1e3658] @@ -29,11 +28,10 @@ Release notes for commit range 5976ff0..1fc0e4f make compiler define `_SYCL_ID_QUERIES_FIT_IN_INT_` macro which will signal runtime to emit `__builtin_assume()` for execution range less than `INT_MAX` limitation [3e4da3c] - - Make call location available when emitting kernel diagnostics [c767edc] + - Enabled template trail for kernel diagnostics [c767edc] - Disabled createIndVarSimplifyPass for SPIR target in SYCL mode [76ffef7] - - Run Dead Argument Elimination when LLVM optimizations are applied as well. - We cannot run Dead Argument Elimination for ESIMD since the pointers to SPIR - kernel functions are saved in `!genx.kernels metadata` [cf10351] + - Run Dead Argument Elimination when LLVM optimizations are applied as well + [cf10351] ### SYCL Library - Eliminated circular dependency between `event` and `queue` classes [31843cc] @@ -72,20 +70,21 @@ Release notes for commit range 5976ff0..1fc0e4f ## Bug fixes ### SYCL Compiler - - Fixed crash on array of pointers as capture of kernel-lambda [1fc0e4f] + - Fixed crash when array of pointers is a kernel argument [1fc0e4f] - Allowed for `-P -fsycl` to be used on Windows when offloading [a21d7ef] - Fixed looking for tools (e.g. aoc, ocloc, opencl-aot) with full name on Windows (i.e. with `.exe` suffix) [78a86da] - - Eliminated compiler crash on invalid declaration [0c220ca] + - Eliminated compiler crash if invalid declaration is used as kernel argument + [0c220ca] - Switch SPIRV debug info to legacy mode to support old OpenCL RTs [500a0b8] - Disabled vectorizers in SYCL device code when early optimizations are enabled [20921b1] - - Enabled USM indirect access for interoperability kernels [ebf5c4e] - Fixed crash when kernel argument is a multi-dimensional array [36f6ab6] - Fixed `cl::sycl::INTELlsu::load()` method to return value instead of reference [82e5323] - Disabled "early" optimizations for Intel FPGA by default [f8902b8] - - Allowed for passing of pointer fields of struct argument of kernel [926eb32] + - Fixed regression in case when non-USM pointer was a member of a struct which + is passed to device as a kernel argument [926eb32] - Fixed NULL-pointer dereference in some cases [bdc2b85] - Adjusted AUX targets with lang options [43862a3] @@ -108,6 +107,7 @@ Release notes for commit range 5976ff0..1fc0e4f - Fixed thread-safety issue, which took place when using stream class [4688cb3] - Unified usm `queue`'s `memcpy`/`memset` methods behavior for corner cases [7b7bab6] + - Enabled USM indirect access for interoperability kernels [ebf5c4e] ## API/ABI breakages @@ -125,12 +125,13 @@ Release notes for commit range 5976ff0..1fc0e4f can happen when a SYCL application is built using MS Visual Studio 2019 version below 16.3.0 The workaround is to enable `-std=c++17` for the failing MSVC version. - - [2377920] - - [2c50c03] - - [50628db] - - Inline assembly isn't supported on CUDA [678cd95] + - Employing read sampler for image accessor may result in sporadic issues with + Level Zero plugin/backend [2c50c03] + - Printing internal defines isn't supported on Windows [50628db] - Group algorithms for MUL/AND/OR/XOR are not fully enabled as the SPIR-V version isn't automatically raised from 1.1 to 1.3 [96da39e] + - We cannot run Dead Argument Elimination for ESIMD since the pointers to SPIR + kernel functions are saved in `!genx.kernels metadata` [cf10351] # August'20 release notes From d8046f94518168e7baef021b95d41b0742908668 Mon Sep 17 00:00:00 2001 From: Sergey Kanaev Date: Tue, 8 Sep 2020 09:29:24 +0300 Subject: [PATCH 4/9] Another set of comments Signed-off-by: Sergey Kanaev --- sycl/ReleaseNotes.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sycl/ReleaseNotes.md b/sycl/ReleaseNotes.md index 2c3ba07d3190f..e08ac9a577f9b 100644 --- a/sycl/ReleaseNotes.md +++ b/sycl/ReleaseNotes.md @@ -123,13 +123,13 @@ Release notes for commit range 5976ff0..1fc0e4f - Linkage errors with the following message: `error LNK2005: "bool const std::_Is_integral" (??$_Is_integral@_N@std@@3_NB) already defined` can happen when a SYCL application is built using MS Visual Studio 2019 - version below 16.3.0 - The workaround is to enable `-std=c++17` for the failing MSVC version. + version below 16.3.0 if user specifies `-std=c++14` or `/std:c++14`. - Employing read sampler for image accessor may result in sporadic issues with Level Zero plugin/backend [2c50c03] - Printing internal defines isn't supported on Windows [50628db] - - Group algorithms for MUL/AND/OR/XOR are not fully enabled as the SPIR-V - version isn't automatically raised from 1.1 to 1.3 [96da39e] + - Group algorithms for MUL/AND/OR/XOR cannot be enabled for group scope due to + SPIR-V limitations, and are not enabled for sub-group scope yet as the + SPIR-V version isn't automatically raised from 1.1 to 1.3 [96da39e] - We cannot run Dead Argument Elimination for ESIMD since the pointers to SPIR kernel functions are saved in `!genx.kernels metadata` [cf10351] From 41156571cec3ad0f968c2e8b3612c96442cde5c4 Mon Sep 17 00:00:00 2001 From: Sergey Kanaev Date: Tue, 8 Sep 2020 15:19:07 +0300 Subject: [PATCH 5/9] Another set of comments Signed-off-by: Sergey Kanaev --- sycl/ReleaseNotes.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sycl/ReleaseNotes.md b/sycl/ReleaseNotes.md index e08ac9a577f9b..e22d7d9ccdf3d 100644 --- a/sycl/ReleaseNotes.md +++ b/sycl/ReleaseNotes.md @@ -8,7 +8,7 @@ Release notes for commit range 5976ff0..1fc0e4f ### SYCL Compiler - Assigned the source location of the kernel caller function to the artificial initialization code generated in the kernel body. It enables profiling tools - to meaningfully the initialization code [6744364] + to meaningfully attribute the initialization code [6744364] - Provided compile-time warning if size of kernel arguments exceeds 2KiB in GPU AOT mode [e00ab74] - Changed default SYCL standard to SYCL-2020 [67acf81] @@ -98,7 +98,7 @@ Release notes for commit range 5976ff0..1fc0e4f - Fixed waiting for events on Level Zero [e503662] - Added missing constructors and propety methods for context, program and sampler[30b8acc] - - Improved support for GDB [93e1387] + - Fixed printing types of variables by GDB in some cases [93e1387] - Aligned `cl::sycl::handler::require` API with the SYCL specification [68c275c] - Fixed undefinded behaviour in memory management intrinsics [4ff2eee] From c86a9230524ee93f3759d0135dba9b5b1864a48a Mon Sep 17 00:00:00 2001 From: Sergey Kanaev Date: Tue, 8 Sep 2020 18:42:41 +0300 Subject: [PATCH 6/9] Another set of comments Signed-off-by: Sergey Kanaev --- sycl/ReleaseNotes.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/sycl/ReleaseNotes.md b/sycl/ReleaseNotes.md index e22d7d9ccdf3d..4195036b26dac 100644 --- a/sycl/ReleaseNotes.md +++ b/sycl/ReleaseNotes.md @@ -17,7 +17,7 @@ Release notes for commit range 5976ff0..1fc0e4f - Enable USM address spaces by default for the FPGA hardware [7896819] - Assume SYCL device functions are convergent [047e2ec] - Added Dead Argument Elimination optimization [b0d98dc] [f53ede9] - - Simplified the error checking of arrays by only visiting 1x [c709986] + - Simplified the error checking of arrays by only visiting once [c709986] - Stop emitting kernel arguments metadata [f658918] - Enabled `-f[no-]sycl-early-optimizations` on Windows [e1e3658] - Allow for mutable kernel function objects for SYCL-1.2.1 [1dbc358] @@ -36,7 +36,8 @@ Release notes for commit range 5976ff0..1fc0e4f ### SYCL Library - Eliminated circular dependency between `event` and `queue` classes [31843cc] - Added `ONEAPI::filter_selector` [174fd168f18] - - Added support for Cavium ThunderX2 and Raspberry Pi 4 [2f632f8] + - Added CPU-agnostic code path to the host device runtime (validated on + AArch64 systems) [2f632f8] - Added support for `bool2`, `bool3`, `bool4`, `bool8`, `bool16` [4dfd500] - Allowed for creating lots of host accessors [b206293] - Improved execution graph traversal [f2eaa23] @@ -83,8 +84,8 @@ Release notes for commit range 5976ff0..1fc0e4f - Fixed `cl::sycl::INTELlsu::load()` method to return value instead of reference [82e5323] - Disabled "early" optimizations for Intel FPGA by default [f8902b8] - - Fixed regression in case when non-USM pointer was a member of a struct which - is passed to device as a kernel argument [926eb32] + - Fixed regression on unused non-USM pointers inside struct type kernel + arguments [926eb32] - Fixed NULL-pointer dereference in some cases [bdc2b85] - Adjusted AUX targets with lang options [43862a3] @@ -101,7 +102,7 @@ Release notes for commit range 5976ff0..1fc0e4f - Fixed printing types of variables by GDB in some cases [93e1387] - Aligned `cl::sycl::handler::require` API with the SYCL specification [68c275c] - - Fixed undefinded behaviour in memory management intrinsics [4ff2eee] + - Fixed undefined behaviour in memory management intrinsics [4ff2eee] - Fixed race condition when using sampler in parallel [34f0c10] - Fixed race condition in `ProgramManager` class, which lead to hang [e6fd911] - Fixed thread-safety issue, which took place when using stream class [4688cb3] From e35b22a9528fd8d2fb4c4912c1be5a331973c07c Mon Sep 17 00:00:00 2001 From: Sergey Kanaev Date: Tue, 8 Sep 2020 19:33:12 +0300 Subject: [PATCH 7/9] Another set of comments Signed-off-by: Sergey Kanaev --- sycl/ReleaseNotes.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sycl/ReleaseNotes.md b/sycl/ReleaseNotes.md index 4195036b26dac..595d8ae00b878 100644 --- a/sycl/ReleaseNotes.md +++ b/sycl/ReleaseNotes.md @@ -20,7 +20,8 @@ Release notes for commit range 5976ff0..1fc0e4f - Simplified the error checking of arrays by only visiting once [c709986] - Stop emitting kernel arguments metadata [f658918] - Enabled `-f[no-]sycl-early-optimizations` on Windows [e1e3658] - - Allow for mutable kernel function objects for SYCL-1.2.1 [1dbc358] + - Mutable kernel functions are now explicitly forbidden in SYCL 2020 + [1dbc358] - Moved hardware targeted extensions to `INTEL` namespace [3084982] - Added support for union types as kernel parameters [5adfd79] - Renamed `-fsycl-std-optimizations` to `-fsycl-early-optimizations` [077a507] From 115c683383765a23c1ca8495a76713d20919ab94 Mon Sep 17 00:00:00 2001 From: Sergey Kanaev Date: Wed, 9 Sep 2020 17:48:46 +0300 Subject: [PATCH 8/9] Another set of comments Signed-off-by: Sergey Kanaev --- sycl/ReleaseNotes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sycl/ReleaseNotes.md b/sycl/ReleaseNotes.md index 595d8ae00b878..3428d543b4fd9 100644 --- a/sycl/ReleaseNotes.md +++ b/sycl/ReleaseNotes.md @@ -125,7 +125,7 @@ Release notes for commit range 5976ff0..1fc0e4f - Linkage errors with the following message: `error LNK2005: "bool const std::_Is_integral" (??$_Is_integral@_N@std@@3_NB) already defined` can happen when a SYCL application is built using MS Visual Studio 2019 - version below 16.3.0 if user specifies `-std=c++14` or `/std:c++14`. + version below 16.3.0 and user specifies `-std=c++14` or `/std:c++14`. - Employing read sampler for image accessor may result in sporadic issues with Level Zero plugin/backend [2c50c03] - Printing internal defines isn't supported on Windows [50628db] From 7d20951e56aae90ad739805b1b8e51f39bf6c6d0 Mon Sep 17 00:00:00 2001 From: Sergey Kanaev Date: Thu, 10 Sep 2020 11:02:30 +0300 Subject: [PATCH 9/9] [SYCL] Fix library version Signed-off-by: Sergey Kanaev --- sycl/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sycl/CMakeLists.txt b/sycl/CMakeLists.txt index 65bdca121eb8f..f1246e4aaecb9 100644 --- a/sycl/CMakeLists.txt +++ b/sycl/CMakeLists.txt @@ -12,8 +12,8 @@ option(SYCL_ADD_DEV_VERSION_POSTFIX "Adds -V postfix to version string" ON) list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules") include(AddSYCLExecutable) -set(SYCL_MAJOR_VERSION 4) -set(SYCL_MINOR_VERSION 0) +set(SYCL_MAJOR_VERSION 3) +set(SYCL_MINOR_VERSION 1) set(SYCL_PATCH_VERSION 0) set(SYCL_DEV_ABI_VERSION 0) if (SYCL_ADD_DEV_VERSION_POSTFIX)