File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1059,7 +1059,7 @@ sycl::event keep_args_alive(sycl::queue &q,
1059
1059
/*! @brief Check if all allocation queues are the same as the
1060
1060
execution queue */
1061
1061
template < std ::size_t num >
1062
- bool queues_are_compatible (sycl ::queue exec_q ,
1062
+ bool queues_are_compatible (const sycl ::queue & exec_q ,
1063
1063
const sycl ::queue (& alloc_qs )[num ])
1064
1064
{
1065
1065
for (std ::size_t i = 0 ; i < num ; ++ i ) {
@@ -1074,7 +1074,7 @@ bool queues_are_compatible(sycl::queue exec_q,
1074
1074
/*! @brief Check if all allocation queues of usm_ndarays are the same as
1075
1075
the execution queue */
1076
1076
template < std ::size_t num >
1077
- bool queues_are_compatible (sycl ::queue exec_q ,
1077
+ bool queues_are_compatible (const sycl ::queue & exec_q ,
1078
1078
const ::dpctl ::tensor ::usm_ndarray (& arrs )[num ])
1079
1079
{
1080
1080
for (std ::size_t i = 0 ; i < num ; ++ i ) {
You can’t perform that action at this time.
0 commit comments