Skip to content

Commit 1a663ba

Browse files
Apply clang-format
1 parent 168d0a4 commit 1a663ba

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

sycl/source/detail/device_kernel_info.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ inline namespace _V1 {
1313
namespace detail {
1414

1515
DeviceKernelInfo::DeviceKernelInfo(const CompileTimeKernelInfoTy &Info)
16-
: CompileTimeKernelInfoTy(Info) {
17-
}
16+
: CompileTimeKernelInfoTy(Info) {}
1817

1918
template <typename OtherTy>
2019
inline constexpr bool operator==(const CompileTimeKernelInfoTy &LHS,

sycl/source/detail/device_kernel_info.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ class DeviceKernelInfo : public CompileTimeKernelInfoTy {
101101
}
102102

103103
void setImplicitLocalArgPos(int Pos);
104+
104105
private:
105106
bool isCompileTimeInfoSet() const { return KernelSize != 0; }
106107

sycl/source/detail/kernel_impl.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,7 @@ bool kernel_impl::checkOwnsDeviceKernelInfo() {
130130
// info might reside in program manager.
131131
return MDeviceImageImpl->getOriginMask() != ImageOriginSYCLOffline &&
132132
(!(MDeviceImageImpl->getOriginMask() & ImageOriginSYCLOffline) ||
133-
!ProgramManager::getInstance().tryGetDeviceKernelInfo(
134-
getName()));
133+
!ProgramManager::getInstance().tryGetDeviceKernelInfo(getName()));
135134
}
136135

137136
bool kernel_impl::isBuiltInKernel(device_impl &Device) const {

0 commit comments

Comments
 (0)