Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
againull committed Nov 22, 2024
1 parent ea75406 commit b906c21
Show file tree
Hide file tree
Showing 12 changed files with 24 additions and 13 deletions.
3 changes: 2 additions & 1 deletion sycl/test-e2e/ESIMD/InlineAsm/asm_glb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ int main(void) {
queue q(esimd_test::ESIMDSelector, esimd_test::createExceptionHandler());

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

auto e = q.submit([&](handler &cgh) {
auto PA = bufa.get_access<access::mode::read>(cgh);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ int main(void) {
queue q(esimd_test::ESIMDSelector, esimd_test::createExceptionHandler());

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

auto e = q.submit([&](handler &cgh) {
auto PA = bufa.get_access<access::mode::read>(cgh);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ int main(void) {
queue q(esimd_test::ESIMDSelector, esimd_test::createExceptionHandler());

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

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

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

bool passed = true;
passed &= test<char, 1>(q);
Expand Down
4 changes: 2 additions & 2 deletions sycl/test-e2e/ESIMD/private_memory/private_memory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,8 @@ template <typename T> bool tests(queue Q) {

int main() {
queue Q;
std::cout << "Running on " << Q.get_device().get_info<sycl::info::device::name>()
<< "\n";
std::cout << "Running on "
<< Q.get_device().get_info<sycl::info::device::name>() << "\n";

bool Passed = true;
Passed &= tests<int8_t>(Q);
Expand Down
3 changes: 2 additions & 1 deletion sycl/test-e2e/ESIMD/radix_sort.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,8 @@ int main(int argc, char *argv[]) {
property::queue::in_order());

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

// allocate and initialized input
Expand Down
3 changes: 2 additions & 1 deletion sycl/test-e2e/ESIMD/slm_alloc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ __attribute__((noinline))
int main(void) {
queue q;
auto dev = q.get_device();
std::cout << "Running on " << dev.get_info<sycl::info::device::name>() << "\n";
std::cout << "Running on " << dev.get_info<sycl::info::device::name>()
<< "\n";
std::cout << "force_inline=" << force_inline << "\n";
auto ctxt = q.get_context();
uint32_t size = SLM_TOTAL * NUM_WGS / ELEM_SIZE;
Expand Down
3 changes: 2 additions & 1 deletion sycl/test-e2e/ESIMD/slm_alloc_many_kernels_many_funcs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@ INLINE_CTL void foo(int local_id, T *out, unsigned base) {
int main(void) {
queue q;
auto dev = q.get_device();
std::cout << "Running on " << dev.get_info<sycl::info::device::name>() << "\n";
std::cout << "Running on " << dev.get_info<sycl::info::device::name>()
<< "\n";
std::cout << "force_inline=" << force_inline << "\n";
auto ctxt = q.get_context();

Expand Down
3 changes: 2 additions & 1 deletion sycl/test-e2e/ESIMD/slm_alloc_many_kernels_one_func.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ __attribute__((noinline))
int main(void) {
queue q;
auto dev = q.get_device();
std::cout << "Running on " << dev.get_info<sycl::info::device::name>() << "\n";
std::cout << "Running on " << dev.get_info<sycl::info::device::name>()
<< "\n";
std::cout << "force_inline=" << force_inline << "\n";
auto ctxt = q.get_context();

Expand Down
3 changes: 2 additions & 1 deletion sycl/test-e2e/ESIMD/unified_memory_api/atomic_update_usm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ int main(void) {
queue q(esimd_test::ESIMDSelector, esimd_test::createExceptionHandler());

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

bool passed = true;

Expand Down
3 changes: 2 additions & 1 deletion sycl/test-e2e/ESIMD/vadd_raw_send_gen12.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ int main(void) {
queue q(esimd_test::ESIMDSelector, esimd_test::createExceptionHandler());

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

int *A = malloc_shared<int>(Size, q);
int *B = malloc_shared<int>(Size, q);
Expand Down
3 changes: 2 additions & 1 deletion sycl/test-e2e/ESIMD/wait.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ bool test(sycl::queue Q, int IArg = 128) {
int main() {
queue Q(esimd_test::ESIMDSelector, esimd_test::createExceptionHandler());
auto Dev = Q.get_device();
std::cout << "Running on " << Dev.get_info<sycl::info::device::name>() << std::endl;
std::cout << "Running on " << Dev.get_info<sycl::info::device::name>()
<< std::endl;

bool Passed = true;
Passed &= test(Q);
Expand Down

0 comments on commit b906c21

Please sign in to comment.