Skip to content

Commit e35a2c0

Browse files
committed
Fix formatting
Signed-off-by: Larsen, Steffen <[email protected]>
1 parent b6e4c8d commit e35a2c0

File tree

4 files changed

+7
-11
lines changed

4 files changed

+7
-11
lines changed

sycl/source/detail/device_image_impl.hpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -121,12 +121,10 @@ class ManagedDeviceGlobalsRegistry {
121121
// Helper class to unregister shared SYCL binaries.
122122
class ManagedDeviceBinaries {
123123
public:
124-
ManagedDeviceBinaries(
125-
sycl_device_binaries &&Binaries)
124+
ManagedDeviceBinaries(sycl_device_binaries &&Binaries)
126125
: MBinaries{Binaries} {}
127126

128-
ManagedDeviceBinaries(const ManagedDeviceBinaries &) =
129-
delete;
127+
ManagedDeviceBinaries(const ManagedDeviceBinaries &) = delete;
130128

131129
~ManagedDeviceBinaries() try {
132130
ProgramManager::getInstance().removeImages(MBinaries);

sycl/source/detail/kernel_bundle_impl.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,8 +306,8 @@ class kernel_bundle_impl {
306306
MDeviceImages.insert(MDeviceImages.end(), Bundle->MDeviceImages.begin(),
307307
Bundle->MDeviceImages.end());
308308
MSharedDeviceBinaries.insert(MSharedDeviceBinaries.end(),
309-
Bundle->MSharedDeviceBinaries.begin(),
310-
Bundle->MSharedDeviceBinaries.end());
309+
Bundle->MSharedDeviceBinaries.begin(),
310+
Bundle->MSharedDeviceBinaries.end());
311311
}
312312

313313
fillUniqueDeviceImages();

sycl/source/detail/program_manager/program_manager.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1904,8 +1904,7 @@ static bool isCompiledAtRuntime(sycl_device_binaries DeviceBinary) {
19041904
return false;
19051905
}
19061906

1907-
void ProgramManager::addImage(sycl_device_binary RawImg,
1908-
bool IsRTC,
1907+
void ProgramManager::addImage(sycl_device_binary RawImg, bool IsRTC,
19091908
RTDeviceBinaryImage **OutImage,
19101909
std::vector<kernel_id> *OutKernelIDs) {
19111910
const bool DumpImages = std::getenv("SYCL_DUMP_IMAGES") && !m_UseSpvFile;

sycl/source/detail/program_manager/program_manager.hpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -215,8 +215,7 @@ class ProgramManager {
215215
ur_program_handle_t getUrProgramFromUrKernel(ur_kernel_handle_t Kernel,
216216
const ContextImplPtr &Context);
217217

218-
void addImage(sycl_device_binary RawImg,
219-
bool IsRTC,
218+
void addImage(sycl_device_binary RawImg, bool IsRTC,
220219
RTDeviceBinaryImage **OutImage = nullptr,
221220
std::vector<kernel_id> *OutKernelIDs = nullptr);
222221
void addImages(sycl_device_binaries DeviceImages);
@@ -268,7 +267,7 @@ class ProgramManager {
268267
// returned.
269268
DeviceGlobalMapEntry *
270269
tryGetDeviceGlobalEntry(const std::string &UniqueId,
271-
bool ExcludeDeviceImageScopeDecorated = false);
270+
bool ExcludeDeviceImageScopeDecorated = false);
272271

273272
// The function gets multiple device_global entries identified by their unique
274273
// IDs from the device_global map.

0 commit comments

Comments
 (0)