Skip to content

[SYCL][ESIMD][E2E] Fix ambiguity in device descriptor usages in ESIMD tests #16254

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ int main(void) {
queue q;

auto dev = q.get_device();
std::cout << "Running on " << dev.get_info<info::device::name>() << "\n";
std::cout << "Running on " << dev.get_info<sycl::info::device::name>()
<< "\n";
try {
q.submit([&](handler &cgh) {
auto PA = bufa.get_access<access::mode::read_write>(cgh);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ int main(void) {
queue q;

auto dev = q.get_device();
std::cout << "Running on " << dev.get_info<info::device::name>() << "\n";
std::cout << "Running on " << dev.get_info<sycl::info::device::name>()
<< "\n";
try {
q.submit([&](handler &cgh) {
auto PA = bufa.get_access<access::mode::read_write>(cgh);
Expand Down
3 changes: 2 additions & 1 deletion sycl/test-e2e/ESIMD/accessor_load_store_stateless_64.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ int main(void) {
queue q;

auto dev = q.get_device();
std::cout << "Running on " << dev.get_info<info::device::name>() << "\n";
std::cout << "Running on " << dev.get_info<sycl::info::device::name>()
<< "\n";
try {
q.submit([&](handler &cgh) {
auto PA = bufa.get_access<access::mode::read_write>(cgh);
Expand Down
3 changes: 2 additions & 1 deletion sycl/test-e2e/ESIMD/accessor_stateless_64.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ int main(void) {
queue q;

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

q.submit([&](handler &cgh) {
auto PA = bufa.get_access<access::mode::read_write>(cgh);
Expand Down
3 changes: 2 additions & 1 deletion sycl/test-e2e/ESIMD/accessor_stateless_ctor_64.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ int main(void) {
queue q;

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

q.submit([&](handler &cgh) {
auto PA = bufa.get_access<access::mode::read_write>(cgh);
Expand Down
3 changes: 2 additions & 1 deletion sycl/test-e2e/ESIMD/dpas/dpas_tf32.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
int main(int argc, const char *argv[]) {
queue Q(esimd_test::ESIMDSelector, esimd_test::createExceptionHandler());
auto Dev = Q.get_device();
std::cout << "Running on " << Dev.get_info<info::device::name>() << std::endl;
std::cout << "Running on " << Dev.get_info<sycl::info::device::name>()
<< std::endl;

bool Print = argc > 1 && std::string(argv[1]) == "-debug";
bool Passed = true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ int main(void) {
queue q;

auto dev = q.get_device();
std::cout << "Running on " << dev.get_info<info::device::name>() << "\n";
std::cout << "Running on " << dev.get_info<sycl::info::device::name>()
<< "\n";
try {
q.submit([&](handler &cgh) {
auto PA = bufa.get_access<access::mode::read_write>(cgh);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ int main() {
queue q;

auto dev = q.get_device();
std::cout << "Running on " << dev.get_info<info::device::name>() << "\n";
std::cout << "Running on " << dev.get_info<sycl::info::device::name>()
<< "\n";
try {
q.submit([&](handler &cgh) {
auto PA = bufa.get_access<access::mode::read_write>(cgh);
Expand Down
3 changes: 2 additions & 1 deletion sycl/test-e2e/ESIMD/lsc/lsc_load_store_2d_compare.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ template <typename T> bool test() {

queue q;
auto dev = q.get_device();
std::cout << "Running on " << dev.get_info<info::device::name>() << "\n";
std::cout << "Running on " << dev.get_info<sycl::info::device::name>()
<< "\n";
auto *A = malloc_shared<T>(Size, q);
auto *B = malloc_shared<T>(Size, q);
auto *C = malloc_shared<T>(Size, q);
Expand Down
4 changes: 2 additions & 2 deletions sycl/test-e2e/ESIMD/slm_init_no_inline.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ int main() {

queue Q(esimd_test::ESIMDSelector, esimd_test::createExceptionHandler());
auto D = Q.get_device();
std::cout << "Running on " << D.get_info<info::device::name>()
<< ", driver=" << D.get_info<info::device::driver_version>()
std::cout << "Running on " << D.get_info<sycl::info::device::name>()
<< ", driver=" << D.get_info<sycl::info::device::driver_version>()
<< std::endl;

constexpr int Size = VL * 2;
Expand Down
Loading