Skip to content

Commit ab81306

Browse files
fineg74bb-sycl
authored andcommitted
[SYCL][ESIMD] Fix test compilation issue (intel#1389)
Fix test compilation issue.
1 parent a89e43b commit ab81306

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

SYCL/ESIMD/lsc/lsc_predicate.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,8 @@ template <unsigned SIMDSize> int testUSM(queue q) {
143143

144144
int main() {
145145

146-
queue q(esimd_test::ESIMDSelector, esimd_test::createExceptionHandler());
146+
auto q =
147+
queue{esimd_test::ESIMDSelector, esimd_test::createExceptionHandler()};
147148
auto device = q.get_device();
148149
std::cout << "Device name: " << device.get_info<info::device::name>()
149150
<< std::endl;

0 commit comments

Comments
 (0)