Skip to content

Commit b9692aa

Browse files
committed
Fix namespace ambiguity in esimd tests
1 parent e82741f commit b9692aa

15 files changed

+15
-15
lines changed

sycl/test-e2e/ESIMD/InlineAsm/asm_glb.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ int main(void) {
4343
queue q(esimd_test::ESIMDSelector, esimd_test::createExceptionHandler());
4444

4545
auto dev = q.get_device();
46-
std::cout << "Running on " << dev.get_info<info::device::name>() << "\n";
46+
std::cout << "Running on " << dev.get_info<sycl::info::device::name>() << "\n";
4747

4848
auto e = q.submit([&](handler &cgh) {
4949
auto PA = bufa.get_access<access::mode::read>(cgh);

sycl/test-e2e/ESIMD/addc.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ template <int N, bool AIsVector, bool BIsVector> bool test(sycl::queue Q) {
138138
int main() {
139139
queue Q(esimd_test::ESIMDSelector, esimd_test::createExceptionHandler());
140140
auto D = Q.get_device();
141-
std::cout << "Running on " << D.get_info<info::device::name>() << "\n";
141+
std::cout << "Running on " << D.get_info<sycl::info::device::name>() << "\n";
142142

143143
constexpr bool AIsVector = true;
144144
constexpr bool BIsVector = true;

sycl/test-e2e/ESIMD/api/functional/operators/operator_assignment_glb.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ int main(void) {
4646
queue q(esimd_test::ESIMDSelector, esimd_test::createExceptionHandler());
4747

4848
auto dev = q.get_device();
49-
std::cout << "Running on " << dev.get_info<info::device::name>() << "\n";
49+
std::cout << "Running on " << dev.get_info<sycl::info::device::name>() << "\n";
5050

5151
auto e = q.submit([&](handler &cgh) {
5252
auto PA = bufa.get_access<access::mode::read>(cgh);

sycl/test-e2e/ESIMD/api/functional/operators/operator_assignment_glb_mask.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ int main(void) {
4444
queue q(esimd_test::ESIMDSelector, esimd_test::createExceptionHandler());
4545

4646
auto dev = q.get_device();
47-
std::cout << "Running on " << dev.get_info<info::device::name>() << "\n";
47+
std::cout << "Running on " << dev.get_info<sycl::info::device::name>() << "\n";
4848

4949
auto e = q.submit([&](handler &cgh) {
5050
auto PA = bufa.get_access<access::mode::read>(cgh);

sycl/test-e2e/ESIMD/imulh_umulh.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ template <int N, bool AIsVector, bool BIsVector> bool tests(sycl::queue Q) {
155155
int main() {
156156
queue Q(esimd_test::ESIMDSelector, esimd_test::createExceptionHandler());
157157
auto D = Q.get_device();
158-
std::cout << "Running on " << D.get_info<info::device::name>() << "\n";
158+
std::cout << "Running on " << D.get_info<sycl::info::device::name>() << "\n";
159159

160160
constexpr bool AIsVector = true;
161161
constexpr bool BIsVector = true;

sycl/test-e2e/ESIMD/local_accessor_copy_to_from.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ int main() {
9696
queue q(esimd_test::ESIMDSelector, esimd_test::createExceptionHandler());
9797

9898
auto dev = q.get_device();
99-
std::cout << "Running on " << dev.get_info<info::device::name>() << "\n";
99+
std::cout << "Running on " << dev.get_info<sycl::info::device::name>() << "\n";
100100

101101
bool passed = true;
102102
passed &= test<char, 1>(q);

sycl/test-e2e/ESIMD/private_memory/private_memory.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ template <typename T> bool tests(queue Q) {
149149

150150
int main() {
151151
queue Q;
152-
std::cout << "Running on " << Q.get_device().get_info<info::device::name>()
152+
std::cout << "Running on " << Q.get_device().get_info<sycl::info::device::name>()
153153
<< "\n";
154154

155155
bool Passed = true;

sycl/test-e2e/ESIMD/radix_sort.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ int main(int argc, char *argv[]) {
588588
property::queue::in_order());
589589

590590
auto dev = q.get_device();
591-
std::cout << "Running on " << dev.get_info<info::device::name>() << "\n";
591+
std::cout << "Running on " << dev.get_info<sycl::info::device::name>() << "\n";
592592
auto ctxt = q.get_context();
593593

594594
// allocate and initialized input

sycl/test-e2e/ESIMD/slm_alloc.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ __attribute__((noinline))
9292
int main(void) {
9393
queue q;
9494
auto dev = q.get_device();
95-
std::cout << "Running on " << dev.get_info<info::device::name>() << "\n";
95+
std::cout << "Running on " << dev.get_info<sycl::info::device::name>() << "\n";
9696
std::cout << "force_inline=" << force_inline << "\n";
9797
auto ctxt = q.get_context();
9898
uint32_t size = SLM_TOTAL * NUM_WGS / ELEM_SIZE;

sycl/test-e2e/ESIMD/slm_alloc_many_kernels_many_funcs.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ INLINE_CTL void foo(int local_id, T *out, unsigned base) {
111111
int main(void) {
112112
queue q;
113113
auto dev = q.get_device();
114-
std::cout << "Running on " << dev.get_info<info::device::name>() << "\n";
114+
std::cout << "Running on " << dev.get_info<sycl::info::device::name>() << "\n";
115115
std::cout << "force_inline=" << force_inline << "\n";
116116
auto ctxt = q.get_context();
117117

0 commit comments

Comments
 (0)