Skip to content

Commit e44b026

Browse files
author
Hammond, Jeff R
committed
clang-format fixes
Signed-off-by: Hammond, Jeff R <[email protected]>
1 parent abedcbd commit e44b026

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sycl/source/detail/platform_util.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
#endif
2020

2121
#if defined(SYCL_RT_OS_LINUX)
22-
#include <unistd.h>
2322
#include <errno.h>
23+
#include <unistd.h>
2424
#endif
2525

2626
__SYCL_INLINE_NAMESPACE(cl) {
@@ -86,7 +86,7 @@ uint32_t PlatformUtil::getMemCacheLineSize() {
8686
#elif defined(SYCL_RT_OS_LINUX) && defined(_SC_LEVEL2_DCACHE_LINESIZE)
8787
long linesize = sysconf(_SC_LEVEL2_DCACHE_LINESIZE);
8888
if (linesize > 0) {
89-
return linesize;
89+
return linesize;
9090
}
9191
#else
9292
#warning Your platform is not supported.
@@ -102,7 +102,7 @@ uint64_t PlatformUtil::getMemCacheSize() {
102102
#elif defined(SYCL_RT_OS_LINUX) && defined(_SC_LEVEL2_DCACHE_SIZE)
103103
long cachesize = sysconf(_SC_LEVEL2_DCACHE_SIZE);
104104
if (cachesize > 0) {
105-
return cachesize;
105+
return cachesize;
106106
}
107107
#else
108108
#warning Your platform is not supported.

0 commit comments

Comments
 (0)