diff --git a/clang/test/Preprocessor/init.c b/clang/test/Preprocessor/init.c index 51574addfeeec..910fbb914eb30 100644 --- a/clang/test/Preprocessor/init.c +++ b/clang/test/Preprocessor/init.c @@ -2112,7 +2112,7 @@ // WEBASSEMBLY-NEXT:#define __clang_version__ "{{.*}}" // WEBASSEMBLY-NEXT:#define __clang_wide_literal_encoding__ {{.*}} // WEBASSEMBLY-NEXT:#define __dpcpp_major__ 7 -// WEBASSEMBLY-NEXT:#define __dpcpp_minor__ 1 +// WEBASSEMBLY-NEXT:#define __dpcpp_minor__ 2 // WEBASSEMBLY-NEXT:#define __dpcpp_patchlevel__ 0 // WEBASSEMBLY-NEXT:#define __llvm__ 1 // WASI-NOT:#define __unix diff --git a/cmake/Modules/DPCPPVersion.cmake b/cmake/Modules/DPCPPVersion.cmake index 7d0a7699929a1..3dd5add92be22 100644 --- a/cmake/Modules/DPCPPVersion.cmake +++ b/cmake/Modules/DPCPPVersion.cmake @@ -4,7 +4,7 @@ if(NOT DEFINED DPCPP_VERSION_MAJOR) set(DPCPP_VERSION_MAJOR 7) endif() if(NOT DEFINED DPCPP_VERSION_MINOR) - set(DPCPP_VERSION_MINOR 1) + set(DPCPP_VERSION_MINOR 2) endif() if(NOT DEFINED DPCPP_VERSION_PATCH) set(DPCPP_VERSION_PATCH 0)