Skip to content

Commit 700c056

Browse files
committed
Made a method private.
1 parent 900aca8 commit 700c056

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

sycl/include/CL/sycl/handler.hpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -899,6 +899,12 @@ class __SYCL_EXPORT handler {
899899

900900
#endif
901901

902+
/// Check if the queue being used is for a GPU device
903+
///
904+
/// \param Queue is the queue for this handler.
905+
/// \return Whether the device is a GPU.
906+
bool is_gpu(shared_ptr_class<sycl::detail::queue_impl> Queue);
907+
902908
public:
903909
handler(const handler &) = delete;
904910
handler(handler &&) = delete;
@@ -1953,12 +1959,6 @@ class __SYCL_EXPORT handler {
19531959
/// \param Count is a number of bytes to be prefetched.
19541960
void prefetch(const void *Ptr, size_t Count);
19551961

1956-
/// Check if the queue being used is for a GPU device
1957-
///
1958-
/// \param Queue is the queue for this handler.
1959-
/// \return Whether the device is a GPU.
1960-
bool is_gpu(shared_ptr_class<sycl::detail::queue_impl> Queue);
1961-
19621962
private:
19631963
shared_ptr_class<detail::queue_impl> MQueue;
19641964
/// The storage for the arguments passed.

0 commit comments

Comments
 (0)