File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 19
19
#endif
20
20
21
21
#if defined(SYCL_RT_OS_LINUX)
22
- #include < unistd.h>
23
22
#include < errno.h>
23
+ #include < unistd.h>
24
24
#endif
25
25
26
26
__SYCL_INLINE_NAMESPACE (cl) {
@@ -86,7 +86,7 @@ uint32_t PlatformUtil::getMemCacheLineSize() {
86
86
#elif defined(SYCL_RT_OS_LINUX) && defined(_SC_LEVEL2_DCACHE_LINESIZE)
87
87
long linesize = sysconf (_SC_LEVEL2_DCACHE_LINESIZE);
88
88
if (linesize > 0 ) {
89
- return linesize;
89
+ return linesize;
90
90
}
91
91
#else
92
92
#warning Your platform is not supported.
@@ -102,7 +102,7 @@ uint64_t PlatformUtil::getMemCacheSize() {
102
102
#elif defined(SYCL_RT_OS_LINUX) && defined(_SC_LEVEL2_DCACHE_SIZE)
103
103
long cachesize = sysconf (_SC_LEVEL2_DCACHE_SIZE);
104
104
if (cachesize > 0 ) {
105
- return cachesize;
105
+ return cachesize;
106
106
}
107
107
#else
108
108
#warning Your platform is not supported.
You can’t perform that action at this time.
0 commit comments