We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f63caae commit 1ce9c3dCopy full SHA for 1ce9c3d
sycl/include/sycl/ext/oneapi/experimental/clock.hpp
@@ -34,14 +34,13 @@ inline uint64_t clock_impl(clock_scope scope) {
34
#endif // defined(__NVPTX__) || defined(__AMDGCN__)
35
#else
36
throw sycl::exception(
37
- make_error_code(errc::runtime),
38
- "sycl::ext::oneapi::experimental::clock() is not supported on host.");
+ make_error_code(errc::runtime),
+ "sycl::ext::oneapi::experimental::clock() is not supported on host.");
39
#endif // __SYCL_DEVICE_ONLY__
40
}
41
} // namespace detail
42
43
-template <clock_scope Scope>
44
-inline uint64_t clock();
+template <clock_scope Scope> inline uint64_t clock();
45
46
// Specialization for device.
47
template <>
0 commit comments