Skip to content

Commit 1c3bb5c

Browse files
author
Hammond, Jeff R
committed
NIT camel case fix
Signed-off-by: Hammond, Jeff R <[email protected]>
1 parent e44b026 commit 1c3bb5c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

sycl/source/detail/platform_util.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,9 @@ uint32_t PlatformUtil::getMemCacheLineSize() {
8484
cpuid(CPUInfo, 0x80000006);
8585
return CPUInfo[2] & 0xff;
8686
#elif defined(SYCL_RT_OS_LINUX) && defined(_SC_LEVEL2_DCACHE_LINESIZE)
87-
long linesize = sysconf(_SC_LEVEL2_DCACHE_LINESIZE);
88-
if (linesize > 0) {
89-
return linesize;
87+
long lineSize = sysconf(_SC_LEVEL2_DCACHE_LINESIZE);
88+
if (lineSize > 0) {
89+
return lineSize;
9090
}
9191
#else
9292
#warning Your platform is not supported.
@@ -100,9 +100,9 @@ uint64_t PlatformUtil::getMemCacheSize() {
100100
cpuid(CPUInfo, 0x80000006);
101101
return static_cast<uint64_t>(CPUInfo[2] >> 16) * 1024;
102102
#elif defined(SYCL_RT_OS_LINUX) && defined(_SC_LEVEL2_DCACHE_SIZE)
103-
long cachesize = sysconf(_SC_LEVEL2_DCACHE_SIZE);
104-
if (cachesize > 0) {
105-
return cachesize;
103+
long cacheSize = sysconf(_SC_LEVEL2_DCACHE_SIZE);
104+
if (cacheSize > 0) {
105+
return cacheSize;
106106
}
107107
#else
108108
#warning Your platform is not supported.

0 commit comments

Comments
 (0)