Skip to content

Commit 1da34fc

Browse files
formatting changes per review
1 parent 9cd6bd8 commit 1da34fc

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

backends/source/dppl_sycl_platform_interface.cpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ get_set_of_non_hostbackends ()
4141
{
4242
std::set<DPPLSyclBackendType> be_set;
4343
for (auto p : platform::get_platforms()) {
44-
if(p.is_host())
44+
if(p.is_host())
4545
continue;
4646
auto be = p.get_backend();
4747
switch (be)
@@ -155,12 +155,12 @@ void DPPLPlatform_DumpInfo ()
155155
*/
156156
size_t DPPLPlatform_GetNumNonHostPlatforms ()
157157
{
158-
auto nNonHostPlatforms = 0ul;
159-
for (auto &p : platform::get_platforms()) {
160-
if (p.is_host())
161-
continue;
162-
++nNonHostPlatforms;
163-
}
158+
auto nNonHostPlatforms = 0ul;
159+
for (auto &p : platform::get_platforms()) {
160+
if (p.is_host())
161+
continue;
162+
++nNonHostPlatforms;
163+
}
164164
return nNonHostPlatforms;
165165
}
166166

backends/source/dppl_sycl_queue_manager.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -542,8 +542,8 @@ void DPPLQueueMgr_PopQueue ()
542542
* SYCL device.
543543
*/
544544
DPPLSyclQueueRef
545-
DPPLQueueMgr_GetQueueFromContextAndDevice(__dppl_keep DPPLSyclContextRef CRef,
546-
__dppl_keep DPPLSyclDeviceRef DRef)
545+
DPPLQueueMgr_GetQueueFromContextAndDevice (__dppl_keep DPPLSyclContextRef CRef,
546+
__dppl_keep DPPLSyclDeviceRef DRef)
547547
{
548548
auto dev = unwrap(DRef);
549549
auto ctx = unwrap(CRef);

backends/source/dppl_sycl_usm_interface.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,8 @@ DPPLUSM_GetPointerType (__dppl_keep const DPPLSyclUSMRef MRef,
130130
}
131131

132132
DPPLSyclDeviceRef
133-
DPPLUSM_GetPointerDevice(__dppl_keep const DPPLSyclUSMRef MRef,
134-
__dppl_keep const DPPLSyclContextRef CRef)
133+
DPPLUSM_GetPointerDevice (__dppl_keep const DPPLSyclUSMRef MRef,
134+
__dppl_keep const DPPLSyclContextRef CRef)
135135
{
136136
auto Ptr = unwrap(MRef);
137137
auto C = unwrap(CRef);

0 commit comments

Comments
 (0)