Skip to content

Commit 3277faa

Browse files
author
Alexander Batashev
committed
Merge remote-tracking branch 'origin/sycl' into accessor_property_list
* origin/sycl: [SYCL] Fixes in release notes (#2470) [SYCL] Refactor -fsycl-esimd and -fsycl-int-header options (#2466)
2 parents d70980c + fe714e0 commit 3277faa

File tree

3 files changed

+8
-10
lines changed

3 files changed

+8
-10
lines changed

clang/lib/Frontend/CompilerInvocation.cpp

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -823,14 +823,10 @@ static bool ParseCodeGenArgs(CodeGenOptions &Opts, ArgList &Args, InputKind IK,
823823
Args.getLastArg(OPT_emit_llvm_uselists, OPT_no_emit_llvm_uselists))
824824
Opts.EmitLLVMUseLists = A->getOption().getID() == OPT_emit_llvm_uselists;
825825

826-
// ESIMD GPU Back-end requires optimized IR
827-
bool IsSyclESIMD = Args.hasFlag(options::OPT_fsycl_esimd,
828-
options::OPT_fno_sycl_esimd, false);
829-
830826
Opts.DisableLLVMPasses =
831827
Args.hasArg(OPT_disable_llvm_passes) ||
832828
(Args.hasArg(OPT_fsycl_is_device) && Triple.isSPIR() &&
833-
Args.hasArg(OPT_fno_sycl_early_optimizations) && !IsSyclESIMD);
829+
Args.hasArg(OPT_fno_sycl_early_optimizations));
834830
Opts.DisableLifetimeMarkers = Args.hasArg(OPT_disable_lifetimemarkers);
835831

836832
const llvm::Triple::ArchType DebugEntryValueArchs[] = {
@@ -2612,6 +2608,8 @@ static void ParseLangArgs(LangOptions &Opts, ArgList &Args, InputKind IK,
26122608
Opts.SYCLValueFitInMaxInt =
26132609
Args.hasFlag(options::OPT_fsycl_id_queries_fit_in_int,
26142610
options::OPT_fno_sycl_id_queries_fit_in_int, false);
2611+
Opts.SYCLIntHeader =
2612+
std::string(Args.getLastArgValue(OPT_fsycl_int_header));
26152613
}
26162614

26172615
Opts.IncludeDefaultHeader = Args.hasArg(OPT_finclude_default_header);
@@ -2672,8 +2670,6 @@ static void ParseLangArgs(LangOptions &Opts, ArgList &Args, InputKind IK,
26722670
Diags.Report(diag::warn_ignored_hip_only_option)
26732671
<< Args.getLastArg(OPT_gpu_max_threads_per_block_EQ)->getAsString(Args);
26742672

2675-
Opts.SYCLIntHeader = std::string(Args.getLastArgValue(OPT_fsycl_int_header));
2676-
26772673
if (Opts.ObjC) {
26782674
if (Arg *arg = Args.getLastArg(OPT_fobjc_runtime_EQ)) {
26792675
StringRef value = arg->getValue();

sycl/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ option(SYCL_ADD_DEV_VERSION_POSTFIX "Adds -V postfix to version string" ON)
1212
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules")
1313
include(AddSYCLExecutable)
1414

15-
set(SYCL_MAJOR_VERSION 3)
16-
set(SYCL_MINOR_VERSION 1)
15+
set(SYCL_MAJOR_VERSION 4)
16+
set(SYCL_MINOR_VERSION 0)
1717
set(SYCL_PATCH_VERSION 0)
1818
set(SYCL_DEV_ABI_VERSION 0)
1919
if (SYCL_ADD_DEV_VERSION_POSTFIX)

sycl/ReleaseNotes.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,8 @@ Release notes for commit range 5976ff0..1fc0e4f
112112
- Enabled USM indirect access for interoperability kernels [ebf5c4e]
113113

114114
## API/ABI breakages
115+
- Added missing constructors and propety methods for context, program and
116+
sampler[30b8acc]
115117

116118
## Known issues
117119
- The format of the object files produced by the compiler can change between
@@ -140,7 +142,7 @@ Release notes for commit range 5976ff0..1fc0e4f
140142
Release notes for the commit range 75b3dc2..5976ff0
141143

142144
## New features
143-
- Implemented basic support for the [Explicit SIMD extension](./sycl/doc/extensions/ExplicitSIMD/dpcpp-explicit-simd.md)
145+
- Implemented basic support for the [Explicit SIMD extension](doc/extensions/ExplicitSIMD/dpcpp-explicit-simd.md)
144146
for low-level GPU performance tuning [84bf234] [32bf607] [a lot of others]
145147
- Implemented support for the [SYCL_INTEL_usm_address_spaces extension](https://github.com/intel/llvm/pull/1840)
146148
- Implemented support for the [Use Pinned Host Memory Property extension](doc/extensions/UsePinnedMemoryProperty/UsePinnedMemoryPropery.adoc) [e5ea144][aee2d6c][396759d]

0 commit comments

Comments
 (0)