File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -899,6 +899,12 @@ class __SYCL_EXPORT handler {
899
899
900
900
#endif
901
901
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
+
902
908
public:
903
909
handler (const handler &) = delete ;
904
910
handler (handler &&) = delete ;
@@ -1953,12 +1959,6 @@ class __SYCL_EXPORT handler {
1953
1959
// / \param Count is a number of bytes to be prefetched.
1954
1960
void prefetch (const void *Ptr, size_t Count);
1955
1961
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
-
1962
1962
private:
1963
1963
shared_ptr_class<detail::queue_impl> MQueue;
1964
1964
// / The storage for the arguments passed.
You can’t perform that action at this time.
0 commit comments