Skip to content

Commit be9bebe

Browse files
committed
Cleanup
Signed-off-by: Julian Oppermann <[email protected]>
1 parent 0a65e1b commit be9bebe

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

sycl-jit/jit-compiler/lib/rtc/DeviceCompilation.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -435,8 +435,9 @@ Expected<RTCBundleInfo> jit_compiler::performPostLink(
435435
for (auto &&[KV, FrozenPropSet] : zip(PropertySets, BundleInfo.Properties)) {
436436
const auto &PropertySetName = KV.first;
437437
const auto &PropertySet = KV.second;
438-
FrozenPropertySet FPS{PropertySetName.str(), PropertySet.size()};
439-
for (auto &&[KV2, FrozenProp] : zip(PropertySet, FPS.Values)) {
438+
FrozenPropSet =
439+
FrozenPropertySet{PropertySetName.str(), PropertySet.size()};
440+
for (auto &&[KV2, FrozenProp] : zip(PropertySet, FrozenPropSet.Values)) {
440441
const auto &PropertyName = KV2.first;
441442
const auto &PropertyValue = KV2.second;
442443
FrozenProp = PropertyValue.getType() == PropertyValue::Type::UINT32
@@ -446,7 +447,6 @@ Expected<RTCBundleInfo> jit_compiler::performPostLink(
446447
PropertyName.str(), PropertyValue.asRawByteArray(),
447448
PropertyValue.getRawByteArraySize()};
448449
}
449-
FrozenPropSet = std::move(FPS);
450450
};
451451

452452
// Regain ownership of the module.

sycl/source/detail/kernel_compiler/kernel_compiler_sycl.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#include <sycl/detail/export.hpp> // __SYCL_EXPORT
1313
#include <sycl/device.hpp>
1414

15-
#include <detail/device_binary_image.hpp>
15+
#include <detail/compiler.hpp> // sycl_device_binaries
1616

1717
#include <numeric> // std::accumulate
1818
#include <string>

sycl/test-e2e/KernelCompiler/kernel_compiler_sycl_jit.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,8 @@ int test_unsupported_options() {
179179
CheckUnsupported({"-Xsycl-target-frontend", "-fsanitize=address"});
180180
CheckUnsupported({"-Xsycl-target-frontend=spir64", "-fsanitize=address"});
181181
CheckUnsupported({"-Xarch_device", "-fsanitize=address"});
182+
CheckUnsupported({"-fsycl-device-code-split=kernel"});
183+
CheckUnsupported({"-fsycl-device-code-split-esimd"});
182184

183185
return 0;
184186
}

0 commit comments

Comments
 (0)